joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447300
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
mov eax, dword [0x55609c]
xor eax, esp
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [esp + 0xc], eax
xor eax, eax
push edi
mov edi, edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], eax
lea esi, [edi + 0xd4]
lea ebx, [ebp + 0xc]
lea eax, [esp + 0x18]
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x34], 0x67452301
mov dword [esp + 0x38], 0xefcdab89
mov dword [esp + 0x3c], 0x98badcfe
mov dword [esp + 0x40], 0x10325476
mov dword [esp + 0x44], 0xc3d2e1f0
mov dword [esp + 0x24], esi
call fcn.0044a5b0
mov ebx, dword [esp + 0x18]
test ebx, ebx
mov edx, dword [esi + 4]
mov dword [esp + 0x2c], edx
je 0x44738d
cmp ebx, esi
je 0x447393
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x1c]
cmp esi, dword [esp + 0x2c]
je 0x4473d9
test ebx, ebx
jne 0x4473a7
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [ebx + 4]
jne 0x4473b2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
push eax
add esi, 0x10
mov ecx, 0x18
lea edi, [esp + 0x34]
rep movsd dword es:[edi], dword [esi]
push ebx
lea ecx, [esp + 0x30]
push ecx
push edx
call fcn.0044a2f0
mov edi, dword [esp + 0x20]
cmp dword [edi + 0x10], 2
je 0x4473e4
mov edx, dword [ebp + 0xc]
jmp 0x447407
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x4473f8
mov eax, dword [edi + 0x3c]
sub eax, ecx
sar eax, 2
cmp dword [ebp + 0xc], eax
jb 0x4473fe
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 0x38]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax + ecx*4]
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x88]
add ecx, 0xffffffff
cmp dword [ebp + 0xc], ecx
jne 0x44742b
mov esi, dword [eax + 0x8c]
mov eax, dword [eax + 0x80]
imul esi, ecx
sub eax, esi
jmp 0x447431
mov eax, dword [eax + 0x8c]
push 0
push eax
lea eax, [esp + 0x38]
push eax
push edx
xor edx, edx
mov ecx, edi
call fcn.00441d30
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x44744d
mov dword [ecx], eax
mov ecx, dword [edi + 0xc]
mov edx, dword [ecx + 4]
neg edx
sbb edx, edx
test edx, fcn.004b2590
je 0x44748a
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.00515015
mov esp, ebp
pop ebp
ret 8
mov edi, dword [esp + 0x10]
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
lea ecx, [esp + 0x34]
mov dword [edi + 0x10], eax
call fcn.004a3d20
mov ecx, dword [esp + 0x94]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00515015
mov esp, ebp
pop ebp
ret 8
Function at 0x44a200
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov edx, dword [eax + 4]
sub esp, 0xd4
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edx + 4]
cmp byte [ecx + 0x71], 0
jne 0x44a234
mov esi, dword [edi]
nop
cmp dword [ecx + 0xc], esi
jge 0x44a22a
mov ecx, dword [ecx + 8]
jmp 0x44a22e
mov edx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0x71], 0
je 0x44a220
cmp edx, dword [eax + 4]
mov dword [esp + 0x10], edx
mov ebx, eax
je 0x44a246
mov ecx, dword [edi]
cmp ecx, dword [edx + 0xc]
jge 0x44a2b4
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], ecx
mov ecx, dword [edi]
push edx
mov dword [esp + 0x80], ecx
push ebx
mov ecx, 0x18
lea esi, [esp + 0x24]
lea edi, [esp + 0x88]
lea edx, [esp + 0x84]
mov dword [esp + 0x28], 0x67452301
mov dword [esp + 0x2c], 0xefcdab89
mov dword [esp + 0x30], 0x98badcfe
mov dword [esp + 0x34], 0x10325476
mov dword [esp + 0x38], 0xc3d2e1f0
rep movsd dword es:[edi], dword [esi]
push edx
lea ecx, [esp + 0x20]
push ecx
call fcn.0044b0d0
mov edx, dword [eax + 4]
mov ebx, dword [eax]
mov dword [esp + 0x10], edx
test ebx, ebx
mov esi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jne 0x44a2c4
call esi
mov edx, dword [esp + 0x10]
cmp edx, dword [ebx + 4]
jne 0x44a2d9
call esi
mov eax, dword [esp + 0x10]
add eax, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
lea eax, [edx + 0x10]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c7b0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, eax
cmp edi, dword [esp + 8]
je 0x44c836
mov ecx, dword [0x55b80c]
push ebx
mov ebx, dword [0x55b804]
push ebp
mov ebp, dword [0x55b808]
push esi
mov esi, dword [0x5567ac]
mov eax, esi
shl eax, 0xb
xor eax, esi
mov edx, ecx
shr edx, 0xb
xor edx, eax
shr edx, 8
xor edx, ecx
xor edx, eax
mov esi, ebx
mov ebx, ebp
mov ebp, ecx
mov ecx, edx
mov eax, 0xd41d41d5
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
imul eax, eax, 0x46
mov edx, ecx
sub edx, eax
mov al, byte [edx + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz__.___]
mov byte [edi], al
add edi, 1
cmp edi, dword [esp + 0x14]
jne 0x44c7d4
mov dword [0x5567ac], esi
pop esi
mov dword [0x55b808], ebp
pop ebp
mov dword [0x55b804], ebx
mov dword [0x55b80c], ecx
pop ebx
pop edi
ret
Function at 0x44df60
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, eax
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov eax, dword [esp + 8]
push eax
mov eax, dword [esp + 0x10]
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
call fcn.004a3e20
add esp, 4
mov eax, esi
pop esi
ret 8

Function at 0x44e230
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x517c67
mov eax, dword fs:[0]
push eax
push ebp
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
xor eax, eax
xor edi, edi
mov dword [esi], edi
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
or ebp, 0xffffffff
lea ecx, [esi + 0x60]
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ebp
mov dword [esi + 0x38], ebp
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
mov dword [esi + 0x44], ebp
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov word [esi + 0x58], di
mov dword [esi + 0x5c], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0x7c]
mov dword [esp + 0x18], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov byte [esp + 0x18], 1
lea ecx, [esi + 0xa0]
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esi + 0xbc]
mov byte [esp + 0x18], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [esi + 0xd8], edi
mov dword [esi + 0xdc], edi
xor eax, eax
mov dword [esi + 0xe0], eax
mov dword [esi + 0xe4], eax
mov dword [esi + 0xe8], eax
mov dword [esi + 0xec], eax
mov dword [esi + 0xf0], edi
mov byte [esi + 0xf4], 1
mov byte [esi + 0xf5], 1
mov dword [esi + 0xf8], ebp
mov dword [esi + 0xfc], ebp
mov dword [esi + 0x100], ebp
mov dword [esi + 0x104], ebp
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret 4
Function at 0x44fdd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51dc4f
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
mov dword [edi], vtable.libtorrent::alert.0
mov edx, dword [0x55dcc8]
mov dword [edi + 8], edx
mov edx, dword [0x55dccc]
mov dword [edi + 0xc], edx
mov dword [edi], vtable.libtorrent::torrent_alert.0
mov edx, dword [eax]
mov dword [edi + 0x10], edx
mov eax, dword [eax + 4]
test eax, eax
mov dword [edi + 0x14], eax
je 0x44fe38
add eax, 8
mov edx, 1
lock xadd dword [eax], edx
mov dword [esp + 0x38], 0
mov dword [edi], vtable.libtorrent::torrent_delete_failed_alert.0
mov eax, dword [ecx]
lea ebp, [edi + 0x18]
mov dword [ebp], eax
mov ecx, dword [ecx + 4]
mov dword [ebp + 4], ecx
lea ebx, [edi + 0x20]
mov ecx, ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea esi, [esp + 0x14]
mov eax, ebp
mov byte [esp + 0x38], 1
call fcn.00401430
push eax
mov ecx, ebx
mov byte [esp + 0x3c], 2
call dword [0x52e398]
mov ecx, esi
mov byte [esp + 0x38], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8

Function at 0x450310
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51dc4f
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
mov dword [edi], vtable.libtorrent::alert.0
mov edx, dword [0x55dcc8]
mov dword [edi + 8], edx
mov edx, dword [0x55dccc]
mov dword [edi + 0xc], edx
mov dword [edi], vtable.libtorrent::torrent_alert.0
mov edx, dword [eax]
mov dword [edi + 0x10], edx
mov eax, dword [eax + 4]
test eax, eax
mov dword [edi + 0x14], eax
je 0x450378
add eax, 8
mov edx, 1
lock xadd dword [eax], edx
mov dword [esp + 0x38], 0
mov dword [edi], vtable.libtorrent::save_resume_data_failed_alert.0
mov eax, dword [ecx]
lea ebp, [edi + 0x18]
mov dword [ebp], eax
mov ecx, dword [ecx + 4]
mov dword [ebp + 4], ecx
lea ebx, [edi + 0x20]
mov ecx, ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea esi, [esp + 0x14]
mov eax, ebp
mov byte [esp + 0x38], 1
call fcn.00401430
push eax
mov ecx, ebx
mov byte [esp + 0x3c], 2
call dword [0x52e398]
mov ecx, esi
mov byte [esp + 0x38], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8
Function at 0x450db0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x51db5b
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
mov dword [edi], vtable.libtorrent::alert.0
mov ecx, dword [0x55dcc8]
mov dword [edi + 8], ecx
mov edx, dword [0x55dccc]
mov dword [edi + 0xc], edx
mov dword [edi], vtable.libtorrent::torrent_alert.0
mov ecx, dword [eax]
mov dword [edi + 0x10], ecx
mov eax, dword [eax + 4]
test eax, eax
mov dword [edi + 0x14], eax
je 0x450e1a
add eax, 8
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], 0
push eax
lea ecx, [edi + 0x18]
mov dword [edi], vtable.libtorrent::file_error_alert.0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov byte [esp + 0x38], 1
mov ecx, dword [esi]
lea ebp, [edi + 0x34]
mov dword [ebp], ecx
mov edx, dword [esi + 4]
lea ebx, [edi + 0x3c]
mov ecx, ebx
mov dword [ebp + 4], edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea esi, [esp + 0x14]
mov eax, ebp
mov byte [esp + 0x38], 2
call fcn.00401430
push eax
mov ecx, ebx
mov byte [esp + 0x3c], 3
call dword [0x52e398]
mov ecx, esi
mov byte [esp + 0x38], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0xc
Function at 0x451350
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51dc4f
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
mov dword [edi], vtable.libtorrent::alert.0
mov edx, dword [0x55dcc8]
mov dword [edi + 8], edx
mov edx, dword [0x55dccc]
mov dword [edi + 0xc], edx
mov dword [edi], vtable.libtorrent::torrent_alert.0
mov edx, dword [eax]
mov dword [edi + 0x10], edx
mov eax, dword [eax + 4]
test eax, eax
mov dword [edi + 0x14], eax
je 0x4513b8
add eax, 8
mov edx, 1
lock xadd dword [eax], edx
mov dword [esp + 0x38], 0
mov dword [edi], vtable.libtorrent::fastresume_rejected_alert.0
mov eax, dword [ecx]
lea ebp, [edi + 0x18]
mov dword [ebp], eax
mov ecx, dword [ecx + 4]
mov dword [ebp + 4], ecx
lea ebx, [edi + 0x20]
mov ecx, ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea esi, [esp + 0x14]
mov eax, ebp
mov byte [esp + 0x38], 1
call fcn.00401430
push eax
mov ecx, ebx
mov byte [esp + 0x3c], 2
call dword [0x52e398]
mov ecx, esi
mov byte [esp + 0x38], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8
Function at 0x46fe90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x51ba49
mov eax, dword fs:[0]
push eax
sub esp, 8
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
cmp edi, eax
mov dword [esi], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov dword [esp + 0xc], esi
mov dword [esi + 0x18], edi
je 0x46fefe
lea ecx, [edi + 4]
mov edx, 1
lock xadd dword [ecx], edx
cmp edi, eax
mov dword [esp + 0x18], eax
mov dword [esp + 8], 1
je 0x46ff38
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x46ff38
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
lea ecx, [edi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x46ff38
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x14
ret

Function at 0x470050
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x517b78
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x30]
sub esp, 0x28
mov eax, esp
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x5c]
mov dword [eax + 8], edx
lea ecx, [eax + 0xc]
lea eax, [esp + 0x60]
mov dword [esp + 0x30], esp
push eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
call fcn.00473710
mov ecx, dword [esp + 0x44]
mov dword [esi], ecx
add esp, 0x28
lea ecx, [esp + 0x38]
mov dword [esi + 4], eax
mov dword [esp + 0x14], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x10
ret
Function at 0x470ed0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x519461
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, dword [esp + 0x20]
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
test esi, esi
push eax
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
mov dword [eax], esi
je 0x470f29
lea eax, [esi + 4]
mov ecx, 1
lock xadd dword [eax], ecx
lea ecx, [esp + 0x30]
call fcn.00472860
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [edi], edx
mov dword [edi + 4], ecx
mov eax, dword [eax]
test eax, eax
mov dword [edi + 8], eax
je 0x470f54
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0xc], 1
je 0x470f86
add eax, 4
mov ecx, eax
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x470f86
test eax, eax
je 0x470f86
lea ecx, [eax - 4]
test ecx, ecx
je 0x470f86
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 1
call edx
test esi, esi
mov byte [esp + 0x18], 0
je 0x470fb1
lea eax, [esi + 4]
mov ecx, eax
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x470fb1
test eax, eax
je 0x470fb1
lea ecx, [eax - 4]
test ecx, ecx
je 0x470fb1
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push 1
call edx
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x471380
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x51d2f1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, dword [esp + 0x28]
mov dword [esp + 0xc], 0
mov dword [esp + 0x20], 1
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
sub esp, 8
test esi, esi
mov eax, esp
mov dword [esp + 0x18], esp
mov dword [eax], ecx
mov dword [eax + 4], esi
je 0x4713df
lea edx, [esi + 8]
mov eax, 1
lock xadd dword [edx], eax
mov ecx, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004b0830
mov dword [edi], 0x457910
mov edx, dword [eax]
mov dword [edi + 4], edx
mov eax, dword [eax + 4]
test eax, eax
mov dword [edi + 8], eax
je 0x47140e
add eax, 8
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0xc], 1
je 0x471433
mov ecx, eax
add eax, 8
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x471433
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
test esi, esi
mov byte [esp + 0x20], 0
je 0x471451
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x471451
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret
Function at 0x471650
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51ba11
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x5c]
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0x60]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 0xc], ecx
mov ecx, dword [edx + 4]
sub esp, 0x28
mov eax, esp
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
add edx, 0xc
mov dword [esp + 0x98], esp
mov dword [eax + 8], ecx
lea ecx, [eax + 0xc]
push edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea esi, [esp + 0x48]
call fcn.004729c0
mov esi, eax
mov dword [esp + 0x54], 1
mov edx, dword [esi + 4]
mov dword [edi + 8], edx
mov eax, dword [esi + 8]
lea edx, [esi + 0xc]
lea ecx, [edi + 0x10]
push edx
mov dword [edi + 0xc], eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esi + 0x28]
lea eax, [esi + 0x28]
mov dword [edi + 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0x30], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x34], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 0x38], edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc], 1
mov byte [esp + 0x54], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x4c
ret