joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4011d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5171ab
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, dword [esi + 0xc]
or dword [esi + 0x30], 4
cmp eax, dword [sym.imp.K8Common.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const_google::protobuf::internal::kEmptyString]
jne 0x401231
push 0x1c
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x10], 0
je 0x401224
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
jmp 0x401226
xor eax, eax
mov dword [esp + 0x10], 0xffffffff
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esi + 0xc]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret 4
Function at 0x408660
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x516703
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x55609c]
xor eax, esp
mov dword [esp + 0x24], eax
push ebp
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x40]
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
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 [esp + 0x38], 1
mov eax, dword [esi]
cmp eax, ebp
jne 0x4086c9
lea eax, [esp + 0x10]
push eax
mov ecx, edi
mov byte [ebx], 1
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__]
jmp 0x4086ff
mov cl, byte [esp + 0x44]
cmp byte [eax], cl
je 0x4086f2
mov edx, dword [esi]
movzx eax, byte [edx]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_]
add dword [esi], 1
cmp dword [esi], ebp
je 0x408734
mov ecx, dword [esi]
mov dl, byte [esp + 0x44]
cmp byte [ecx], dl
jne 0x4086d1
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
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 ecx, [esp + 0x10]
mov dword [esp + 8], 1
mov byte [esp + 0x38], 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 + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebp
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00515015
add esp, 0x34
ret
lea eax, [esp + 0x10]
mov byte [ebx], 1
push eax
jmp 0x4086f7
Function at 0x408d70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5205ef
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
call fcn.0040b030
mov dword [esi + 4], eax
mov bl, 1
mov byte [eax + 0x41], bl
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [eax], eax
mov eax, dword [esi + 4]
xor ebp, ebp
mov dword [eax + 8], eax
mov dword [esi + 8], ebp
lea ecx, [esi + 0xc]
mov dword [esp + 0x18], ebp
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], bl
lea ebx, [esi + 0x28]
push edi
lea ecx, [ebx + 4]
mov dword [ebx], edi
call fcn.0040b190
push edi
push edi
push ebx
call fcn.004b2590
add esp, 0xc
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 2
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMMutex::constructor_void_]
mov dword [esi + 0x38], ebp
mov dword [esi + 0x3c], ebp
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4

Function at 0x408e20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x522a5f
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea ecx, [edi + 0x30]
mov dword [esp + 0x14], 2
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMMutex::destructor_void_]
mov byte [esp + 0x14], 1
mov esi, dword [edi + 0x2c]
test esi, esi
je 0x408e8d
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x408e8d
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x408e8d
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
lea ecx, [edi + 0xc]
mov byte [esp + 0x14], 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 dword [esp + 0x14], 0xffffffff
call fcn.0040abf0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x40c9d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esi + 4]
push edi
mov edi, dword [esi + 8]
mov ecx, esi
mov dword [esi + 0x18], 1
call dword [sym.imp.K8Common.dll_public:_void___thiscall_GameMgr::GMClientContext::ResetWSABUF_void_]
mov eax, dword [esi + 0x14]
xor ecx, ecx
push ecx
push ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push 1
push edi
push eax
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
pop edi
pop ebx
jne 0x40ca2c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
je 0x40ca2c
mov ecx, dword [esp + 0xc]
push esi
call dword [sym.imp.K8Common.dll_protected:_void___thiscall_GameMgr::GMIocpServer::RemoveFromClientListAndFreeMemory_class_GameMgr::GMClientContext__]
add esp, 8
ret 4
Function at 0x40d0c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51726c
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x54], ebx
mov edi, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ebx
call fcn.0040d170
mov dword [esp + 0x54], ebx
push str.K8BugReport.exe
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x34]
push edi
push ecx
mov dword [esp + 0x60], 1
call dword [sym.imp.K8Common.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_GameMgr::GMFileName::JoinFileName_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 0xc
push eax
mov ecx, edi
mov byte [esp + 0x58], 2
call dword [0x52e3ec]
lea ecx, [esp + 0x30]
mov byte [esp + 0x54], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x4c
ret

Function at 0x40d170
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x517213
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x55609c]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 8], 0
cmp byte [0x55dadc], 0
mov dword [esp + 0xc], edi
jne 0x40d1bd
mov esi, edi
call fcn.0040d010
jmp 0x40d1f1
lea esi, [esp + 0x10]
call fcn.0040d010
lea eax, [esp + 0x10]
push eax
mov esi, 1
push edi
mov dword [esp + 0x40], esi
call dword [sym.imp.K8Common.dll_public:_static_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_GameMgr::GMFileName::GetParentDirectory_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 8], esi
mov byte [esp + 0x38], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00515015
add esp, 0x34
ret
Function at 0x40d460
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x529f81
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x55609c]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0xcc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xdc]
xor esi, esi
mov dword [esp + 0x14], esi
mov eax, dword [ebp + 4]
cmp eax, esi
je 0x40d4cb
mov ecx, dword [ebp + 8]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x40d611
cmp dword [ebp + 0x38], 0x10
jb 0x40d4d6
mov eax, dword [ebp + 0x24]
jmp 0x40d4d9
lea eax, [ebp + 0x24]
push 0x8000
push eax
call dword [sym.imp.MSVCR80.dll__open]
add esp, 8
cmp eax, esi
jle 0x40d611
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.K8Common.dll_public:_void___thiscall_google::protobuf::io::FileInputStream::constructor_int__int_]
mov dword [esp + 0xd4], esi
mov byte [esp + 0x40], 1
mov dword [esp + 0x18], vtable.GameMgr::GMSeeds.0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8], 1
call dword [sym.imp.K8Common.dll_public:_bool___thiscall_google::protobuf::MessageLite::ParseFromZeroCopyStream_class_google::protobuf::io::ZeroCopyInputStream__]
test al, al
je 0x40d5eb
xor ebx, ebx
cmp dword [esp + 0x20], esi
jle 0x40d5dd
jmp 0x40d558
xor esi, esi
lea edx, [esp + 0x74]
push edx
call fcn.0040d210
mov byte [esp + 0xd4], 2
mov eax, dword [esp + 0x1c]
mov edi, dword [eax + ebx*4]
lea ecx, [esp + 0x74]
cmp edi, ecx
je 0x40d58b
mov edx, dword [esp + 0x74]
mov eax, dword [edx + 0xc]
call eax
lea ecx, [esp + 0x74]
call fcn.00415fa0
mov eax, dword [esp + 0x78]
cmp eax, esi
jne 0x40d59c
mov ecx, dword [0x55db10]
mov eax, dword [ecx + 4]
push eax
mov esi, ebp
call fcn.0040ebc0
test eax, eax
jl 0x40d5b2
lea edx, [esp + 0x74]
push edx
lea esi, [ebp + 0x10]
jmp 0x40d5b9
lea eax, [esp + 0x74]
push eax
mov esi, ebp
call fcn.0040edc0
lea ecx, [esp + 0x74]
push ecx
mov byte [esp + 0xd8], 1
call fcn.0040d640
add ebx, 1
cmp ebx, dword [esp + 0x20]
jl 0x40d556
mov ecx, ebp
call fcn.0040d6d0
mov ebx, ebp
call fcn.0040d800
lea ecx, [esp + 0x18]
mov byte [esp + 0xd4], 0
call fcn.00416140
lea ecx, [esp + 0x34]
mov dword [esp + 0xd4], 0xffffffff
call dword [sym.imp.K8Common.dll_public_virtual:_void___thiscall_google::protobuf::io::FileInputStream::destructor_void_]
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.00515015
add esp, 0xc4
ret 4
Function at 0x410480
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5171ab
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, dword [esi + 0xc]
or dword [esi + 0x30], 4
cmp eax, dword [sym.imp.K8Common.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const_google::protobuf::internal::kEmptyString]
jne 0x4104d9
push 0x1c
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 4], eax
test eax, eax
mov dword [esp + 0x10], 0
je 0x4104d4
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
jmp 0x4104d6
xor eax, eax
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret
Function at 0x41c830
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x51c529
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
sub esp, 0x20
mov esi, esp
lea ecx, [esp + 0x90]
mov dword [esp + 0x74], 1
mov dword [esp + 0x30], esp
call fcn.0041c2c0
mov edx, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x90]
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x34], esp
push ecx
mov eax, esp
mov dword [esp + 0x94], esp
push ecx
mov ecx, dword [esp + 0x90]
mov dword [eax], edx
mov edx, dword [esp + 0x8c]
mov eax, esp
mov dword [esp + 0x98], esp
push ecx
mov dword [eax], ecx
mov eax, esp
lea ecx, [esp + 0x44]
mov dword [esp + 0x9c], esp
mov dword [eax], edx
call fcn.0041e010
mov byte [esp + 0x54], 2
mov dword [edi], 0x41c760
mov ecx, dword [eax]
mov dword [edi + 8], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0xc], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x10], ecx
mov edx, dword [eax + 0xc]
lea esi, [edi + 0x18]
lea ecx, [eax + 0x10]
mov dword [edi + 0x14], edx
call fcn.0041c2c0
mov byte [esp + 0x54], 1
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0xc], 1
je 0x41c936
test al, 1
jne 0x41c92e
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x41c92e
lea ecx, [esp + 0x2c]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov dword [esp + 0x24], 0
mov byte [esp + 0x54], 0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x41c95f
test al, 1
jne 0x41c95f
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x41c95f
lea ecx, [esp + 0x78]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov eax, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x4c
ret
Function at 0x41cdc0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x51c4d9
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
push edi
mov eax, dword [0x55609c]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, dword [esp + 0x58]
mov dword [esp + 0xc], 0
sub esp, 0x20
mov esi, esp
lea ecx, [esp + 0x88]
mov dword [esp + 0x70], 1
mov dword [esp + 0x30], esp
call fcn.0041c2c0
mov edx, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x88]
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x34], esp
push ecx
mov eax, esp
mov dword [esp + 0x8c], esp
push ecx
mov ecx, dword [esp + 0x88]
mov dword [eax], edx
mov eax, esp
mov dword [eax], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x90], esp
call fcn.0041de20
mov byte [esp + 0x50], 2
mov dword [edi], 0x421b80
mov edx, dword [eax]
mov dword [edi + 8], edx
mov ecx, dword [eax + 4]
mov dword [edi + 0xc], ecx
mov edx, dword [eax + 8]
lea esi, [edi + 0x18]
lea ecx, [eax + 0x10]
mov dword [edi + 0x10], edx
call fcn.0041c2c0
mov byte [esp + 0x50], 1
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0xc], 1
je 0x41cead
test al, 1
jne 0x41cea5
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x41cea5
lea ecx, [esp + 0x2c]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov dword [esp + 0x24], 0
mov byte [esp + 0x50], 0
mov eax, dword [esp + 0x68]
test eax, eax
je 0x41ced6
test al, 1
jne 0x41ced6
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x41ced6
lea ecx, [esp + 0x70]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov eax, edi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x48
ret
Function at 0x41d270
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x51c529
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
sub esp, 0x20
mov esi, esp
lea ecx, [esp + 0x90]
mov dword [esp + 0x74], 1
mov dword [esp + 0x30], esp
call fcn.0041c2c0
mov edx, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x90]
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x34], esp
push ecx
mov eax, esp
mov dword [esp + 0x94], esp
push ecx
mov ecx, dword [esp + 0x90]
mov dword [eax], edx
mov edx, dword [esp + 0x8c]
mov eax, esp
mov dword [esp + 0x98], esp
push ecx
mov dword [eax], ecx
mov eax, esp
lea ecx, [esp + 0x44]
mov dword [esp + 0x9c], esp
mov dword [eax], edx
call fcn.0041e010
mov byte [esp + 0x54], 2
mov dword [edi], 0x41d1a0
mov ecx, dword [eax]
mov dword [edi + 8], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0xc], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x10], ecx
mov edx, dword [eax + 0xc]
lea esi, [edi + 0x18]
lea ecx, [eax + 0x10]
mov dword [edi + 0x14], edx
call fcn.0041c2c0
mov byte [esp + 0x54], 1
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0xc], 1
je 0x41d376
test al, 1
jne 0x41d36e
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x41d36e
lea ecx, [esp + 0x2c]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov dword [esp + 0x24], 0
mov byte [esp + 0x54], 0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x41d39f
test al, 1
jne 0x41d39f
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x41d39f
lea ecx, [esp + 0x78]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov eax, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x4c
ret
Function at 0x41d680
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x51c529
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
sub esp, 0x20
mov esi, esp
lea ecx, [esp + 0x90]
mov dword [esp + 0x74], 1
mov dword [esp + 0x30], esp
call fcn.0041c2c0
mov edx, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x90]
mov eax, esp
mov dword [eax], ecx
mov dword [esp + 0x34], esp
push ecx
mov eax, esp
mov dword [esp + 0x94], esp
push ecx
mov ecx, dword [esp + 0x90]
mov dword [eax], edx
mov edx, dword [esp + 0x8c]
mov eax, esp
mov dword [esp + 0x98], esp
push ecx
mov dword [eax], ecx
mov eax, esp
lea ecx, [esp + 0x44]
mov dword [esp + 0x9c], esp
mov dword [eax], edx
call fcn.0041e010
mov byte [esp + 0x54], 2
mov dword [edi], 0x41d5c0
mov ecx, dword [eax]
mov dword [edi + 8], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0xc], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x10], ecx
mov edx, dword [eax + 0xc]
lea esi, [edi + 0x18]
lea ecx, [eax + 0x10]
mov dword [edi + 0x14], edx
call fcn.0041c2c0
mov byte [esp + 0x54], 1
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0xc], 1
je 0x41d786
test al, 1
jne 0x41d77e
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x41d77e
lea ecx, [esp + 0x2c]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov dword [esp + 0x24], 0
mov byte [esp + 0x54], 0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x41d7af
test al, 1
jne 0x41d7af
and eax, 0xfffffffe
mov eax, dword [eax]
test eax, eax
je 0x41d7af
lea ecx, [esp + 0x78]
push 2
push ecx
mov edx, ecx
push edx
call eax
add esp, 0xc
mov eax, edi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x4c
ret

Function at 0x41f0e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5185d8
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 esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.00408920
mov dword [esi], vtable.boost::bad_function_call.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x41f12a
add edi, 0x28
jmp 0x41f12c
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [esi + 0x2c], ecx
je 0x41f144
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::bad_function_call_.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_boost::bad_function_call_.1.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4