joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410dc2
Capabilities:
Set registry value

Disassembly:
push 0x54
mov eax, 0x43034c
call fcn.0042e9d4
cmp dword [ebx], 0
je 0x410e8d
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
je 0x410e8d
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x410df1
mov eax, dword [esi]
jmp 0x410df3
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [edi + 0x18], 8
lea edx, [eax + eax + 2]
jb 0x410e08
mov ecx, dword [esi]
jmp 0x410e0a
mov ecx, esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x18], 8
jb 0x410e18
mov eax, dword [esi + 4]
jmp 0x410e1b
lea eax, [esi + 4]
push edx
push ecx
push 1
push 0
push eax
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cdq
test eax, eax
jne 0x410e33
test edx, edx
je 0x410e97
push edi
lea eax, [ebp - 0x60]
push str.Set_registry_value
push eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___wchar_t_const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
and dword [ebp - 4], 0
push str._with_key:
push eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
push esi
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___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, 0x24
lea ecx, [ebp - 0x28]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor al, al
call fcn.0042eaac
ret 4
mov al, 1
jmp 0x410e8f
Function at 0x416770
Capabilities:
Read file on windows

Disassembly:
cmp dword [esi + 0x3c], 0
jne 0x4167c6
cmp dword [esi + 4], 0
jne 0x4167cf
call dword [sym.imp.MSVCR90.dll__errno]
mov dword [eax], 0
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
push eax
push 0x4000
push 1
push ecx
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
test eax, eax
mov dword [esi + 4], eax
jne 0x4167ca
mov edx, dword [esi + 0x40]
push edx
mov dword [esi + 0x3c], 1
call dword [sym.imp.MSVCR90.dll_ferror]
add esp, 4
test eax, eax
je 0x4167c6
mov dword [esi + 0x38], 0xffffffff
or eax, 0xffffffff
ret
mov eax, dword [esi + 0x44]
mov dword [esi], eax
mov eax, dword [esi]
add dword [esi + 4], 0xffffffff
mov cl, byte [eax]
add eax, 1
mov dword [esi], eax
movzx eax, cl
ret

Function at 0x4167e0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, eax
push edi
mov edi, dword [esi + 4]
cmp edi, 2
jae 0x416858
test edi, edi
je 0x4167f9
mov eax, dword [esi]
mov ecx, dword [esi + 0x44]
mov dl, byte [eax]
mov byte [ecx], dl
call dword [sym.imp.MSVCR90.dll__errno]
mov dword [eax], 0
mov eax, dword [esi + 0x40]
mov ecx, edi
push eax
mov eax, dword [esi + 0x44]
mov edx, 0x4000
sar edx, cl
add eax, edi
push edx
push 1
push eax
call dword [sym.imp.MSVCR90.dll_fread]
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x416842
mov ecx, dword [esi + 0x40]
push ecx
call dword [sym.imp.MSVCR90.dll_ferror]
add esp, 4
test eax, eax
je 0x416842
mov dword [esi + 0x38], 0xffffffff
add dword [esi + 4], edi
mov eax, dword [esi + 4]
cmp eax, 2
mov edx, dword [esi + 0x44]
mov dword [esi], edx
jae 0x416858
pop edi
mov dword [esi + 0x58], eax
pop esi
ret
mov eax, dword [esi]
cmp byte [eax], 0x1f
jne 0x41692e
cmp byte [eax + 1], 0x8b
jne 0x41692e
add dword [esi + 4], 0xfffffffe
add eax, 2
push ebx
mov dword [esi], eax
call fcn.00416770
mov edi, eax
call fcn.00416770
cmp edi, 8
mov ebx, eax
jne 0x416923
test bl, 0xe0
jne 0x416923
mov edi, 6
lea esp, [esp]
call fcn.00416770
sub edi, 1
jne 0x4168a0
test bl, 4
je 0x4168d3
call fcn.00416770
mov edi, eax
call fcn.00416770
shl eax, 8
add edi, eax
mov eax, edi
sub edi, 1
test eax, eax
je 0x4168d3
call fcn.00416770
cmp eax, 0xffffffff
jne 0x4168c0
test bl, 8
je 0x4168e6
call fcn.00416770
test eax, eax
je 0x4168e6
cmp eax, 0xffffffff
jne 0x4168d8
test bl, 0x10
je 0x4168fe
jmp 0x4168f0
call fcn.00416770
test eax, eax
je 0x4168fe
cmp eax, 0xffffffff
jne 0x4168f0
test bl, 2
je 0x416912
mov edi, 2
call fcn.00416770
sub edi, 1
jne 0x416908
mov ecx, dword [esi + 0x3c]
neg ecx
sbb ecx, ecx
pop ebx
and ecx, 0xfffffffd
pop edi
mov dword [esi + 0x38], ecx
pop esi
ret
pop ebx
pop edi
mov dword [esi + 0x38], 0xfffffffd
pop esi
ret
pop edi
mov dword [esi + 0x58], 1
pop esi
ret
Function at 0x4169f0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x416a9c
cmp byte [esi + 0x5c], 0x77
jne 0x416a9c
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
test ebx, ebx
mov dword [esi], eax
mov dword [esi + 4], ebx
je 0x416a7f
push edi
mov edi, dword [sym.imp.MSVCR90.dll_fwrite]
cmp dword [esi + 0x10], 0
jne 0x416a47
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x48]
push ecx
push 0x4000
push 1
push eax
mov dword [esi + 0xc], eax
call edi
add esp, 0x10
cmp eax, 0x4000
jne 0x416a77
mov dword [esi + 0x10], eax
mov edx, dword [esi + 4]
mov eax, dword [esi + 0x10]
add dword [esi + 0x64], edx
add dword [esi + 0x68], eax
push 0
push esi
call fcn.00416f80
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x10]
sub dword [esi + 0x64], ecx
sub dword [esi + 0x68], edx
add esp, 8
test eax, eax
mov dword [esi + 0x38], eax
jne 0x416a7e
test ecx, ecx
jne 0x416a20
jmp 0x416a7e
mov dword [esi + 0x38], 0xffffffff
pop edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x4c]
push ebx
push eax
push ecx
call fcn.00418b90
add esp, 0xc
mov dword [esi + 0x4c], eax
mov eax, ebx
sub eax, dword [esi + 4]
pop ebx
pop esi
ret
mov eax, 0xfffffffe
pop esi
ret

Function at 0x416ab0
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x416b67
cmp byte [esi + 0x5c], 0x77
jne 0x416b67
mov dword [esi + 4], ebx
push edi
lea esp, [esp]
mov edi, 0x4000
sub edi, dword [esi + 0x10]
je 0x416aff
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x48]
push eax
push edi
push 1
push ecx
call dword [sym.imp.MSVCR90.dll_fwrite]
add esp, 0x10
cmp eax, edi
jne 0x416b5d
mov edx, dword [esi + 0x48]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], 0x4000
test ebx, ebx
jne 0x416b4b
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x10]
add dword [esi + 0x68], eax
push ecx
push esi
call fcn.00416f80
mov ecx, dword [esi + 0x10]
sub dword [esi + 0x68], ecx
add esp, 8
test edi, edi
mov dword [esi + 0x38], eax
jne 0x416b2c
cmp eax, 0xfffffffb
jne 0x416b2c
mov dword [esi + 0x38], edi
test ecx, ecx
jne 0x416b3a
cmp dword [esi + 0x38], 1
je 0x416b3a
xor ebx, ebx
jmp 0x416b3f
mov ebx, 1
mov eax, dword [esi + 0x38]
test eax, eax
je 0x416ad0
cmp eax, 1
je 0x416ad0
mov esi, dword [esi + 0x38]
mov eax, esi
sub eax, 1
neg eax
sbb eax, eax
pop edi
and eax, esi
pop esi
pop ebx
ret
or eax, 0xffffffff
pop edi
mov dword [esi + 0x38], eax
pop esi
pop ebx
ret
pop esi
mov eax, 0xfffffffe
pop ebx
ret
Function at 0x41aa44
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4461b4]
jne 0x41aa4e
repz ret
jmp fcn.0041ae9b

Function at 0x41f950
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42efd8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4461b4]
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.00401200
mov dword [esi], vtable.std::invalid_argument.0
mov dword [esp + 0x18], 0
test edi, edi
je 0x41f99a
add edi, 0x28
jmp 0x41f99c
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x41f9b4
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_std::invalid_argument_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_std::invalid_argument_.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

Function at 0x41fc20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42f008
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4461b4]
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.004011ac
mov dword [esp + 0x18], 0
test edi, edi
je 0x41fc64
add edi, 0x28
jmp 0x41fc66
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x41fc7e
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_std::runtime_error_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_std::runtime_error_.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
Function at 0x422580
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42f203
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4461b4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x24]
push edi
call fcn.0041f950
mov dword [esp + 0x1c], 0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_base.0
mov byte [esp + 0x1c], 1
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_std::invalid_argument__.2.0
mov dword [esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_std::invalid_argument__.1.0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_std::invalid_argument__.0
test edi, edi
je 0x4225e5
lea ebx, [edi + 0x28]
jmp 0x4225e7
xor ebx, ebx
mov ecx, dword [esi + 0x2c]
mov edi, dword [ebx + 4]
test ecx, ecx
je 0x4225f8
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov dword [esi + 0x2c], edi
test edi, edi
je 0x422608
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov eax, dword [ebx + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [ebx + 0x10]
mov dword [esi + 0x38], edx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x422d00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42f233
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4461b4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x24]
push edi
call fcn.0041fc20
mov dword [esp + 0x1c], 0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_base.0
mov byte [esp + 0x1c], 1
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_std::runtime_error__.2.0
mov dword [esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_std::runtime_error__.1.0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_std::runtime_error__.0
test edi, edi
je 0x422d65
lea ebx, [edi + 0x28]
jmp 0x422d67
xor ebx, ebx
mov ecx, dword [esi + 0x2c]
mov edi, dword [ebx + 4]
test ecx, ecx
je 0x422d78
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov dword [esi + 0x2c], edi
test edi, edi
je 0x422d88
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov eax, dword [ebx + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [ebx + 0x10]
mov dword [esi + 0x38], edx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x42d1a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xe4
mov eax, 0x438d7d
mov dword [esp], eax
mov dword [esp + 4], 0x438a0c
mov dword [esp + 8], 0x438a08
mov dword [esp + 0xc], 0x438a04
mov dword [esp + 0x10], 0x438a00
mov dword [esp + 0x14], 0x4389fc
mov dword [esp + 0x18], 0x438d54
mov dword [esp + 0x1c], 0x4389f8
mov dword [esp + 0x20], 0x4389f4
mov dword [esp + 0x24], 0x438d8c
mov dword [esp + 0x28], 0x438d88
mov dword [esp + 0x2c], 0x438f98
mov dword [esp + 0x30], 0x439894
mov dword [esp + 0x34], 0x4389f0
mov dword [esp + 0x38], 0x4389ec
mov dword [esp + 0x3c], 0x4389e8
mov dword [esp + 0x40], str.__.___
mov dword [esp + 0x44], 0x4389d8
mov dword [esp + 0x48], 0x4386e8
mov dword [esp + 0x4c], 0x438e2c
mov dword [esp + 0x50], str.___
mov dword [esp + 0x54], 0x439890
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x4389d4
mov dword [esp + 0x64], 0x4389d0
mov dword [esp + 0x68], 0x438d84
mov dword [esp + 0x6c], 0x4389cc
mov dword [esp + 0x70], 0x4386ec
mov dword [esp + 0x74], 0x4386d8
mov dword [esp + 0x78], 0x4386b8
mov dword [esp + 0x7c], 0x4386a8
mov dword [esp + 0x80], 0x4386a0
mov dword [esp + 0x84], 0x438698
mov dword [esp + 0x88], 0x438690
mov dword [esp + 0x8c], 0x4386e4
mov dword [esp + 0x90], 0x4389c8
mov dword [esp + 0x94], 0x438d90
mov dword [esp + 0x98], 0x4386dc
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], 0x438e34
mov dword [esp + 0xc0], 0x438774
mov dword [esp + 0xc4], 0x438758
mov dword [esp + 0xc8], str.C13ABDEF
mov dword [esp + 0xcc], str.ZYXWVUTSRQPONMLKJIHG
mov dword [esp + 0xd0], 0x43879c
mov dword [esp + 0xd4], str._:_
mov dword [esp + 0xd8], 0x4386b0
mov dword [esp + 0xdc], 0x438778
mov dword [esp + 0xe0], 0x438780
cmp cl, 0x39
jae 0x42d39c
movzx eax, cl
mov eax, dword [esp + eax*4]
add esp, 0xe4
ret
Function at 0x42d730
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x42fcc8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4461b4]
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.004011ac
mov dword [esi], vtable.boost::regex_error.0
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], vtable.boost::exception.0
mov ecx, dword [edi + 0x34]
mov dword [esp + 0x18], 0
mov dword [esi + 0x34], ecx
test ecx, ecx
je 0x42d795
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [edi + 0x38]
mov dword [esi + 0x38], ecx
mov edx, dword [edi + 0x3c]
mov dword [esi + 0x3c], edx
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_boost::regex_error_.1.0
mov dword [esi + 0x30], vtable.boost::exception_detail::error_info_injector_class_boost::regex_error_.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

Function at 0x42d7e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42fcf8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4461b4]
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.00401200
mov dword [esp + 0x18], 0
test edi, edi
je 0x42d824
add edi, 0x28
jmp 0x42d826
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x42d83e
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_std::logic_error_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_std::logic_error_.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
Function at 0x42dd50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42fd93
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4461b4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
mov edi, dword [esp + 0x24]
push edi
call fcn.0042d7e0
mov dword [esp + 0x1c], 0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_base.0
mov byte [esp + 0x1c], 1
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_std::logic_error__.2.0
mov dword [esi + 0x28], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_std::logic_error__.1.0
mov dword [esi + 0x3c], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_std::logic_error__.0
test edi, edi
je 0x42ddb5
lea ebx, [edi + 0x28]
jmp 0x42ddb7
xor ebx, ebx
mov ecx, dword [esi + 0x2c]
mov edi, dword [ebx + 4]
test ecx, ecx
je 0x42ddc8
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
mov dword [esi + 0x2c], edi
test edi, edi
je 0x42ddd8
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
mov ecx, edi
call edx
mov eax, dword [ebx + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [ebx + 0x10]
mov dword [esi + 0x38], edx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x4032b4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
test edi, edi
jne 0x4032d4
mov dword [ebp - 8], 0x8000
and dword [ebp - 4], 0
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x4032e6
mov dword [ebp - 0xc], 0x434220
mov eax, dword [ebp + 8]
test eax, eax
jl 0x4032fb
mov ecx, dword [0x47af58]
add ecx, eax
push ecx
call fcn.004034e5
lea eax, [ebp + 0x14]
push 4
push eax
call fcn.004034cf
test eax, eax
je 0x4034bd
test byte [ebp + 0x17], 0x80
je 0x403468
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
and dword [0x41eb84], 0
and dword [0x41eb80], 0
and dword [ebp + 0x14], 0x7fffffff
mov dword [ebp - 0x10], eax
mov eax, 0x420208
mov dword [0x41e668], 8
mov dword [0x428210], eax
mov dword [0x42820c], eax
mov eax, dword [ebp + 0x14]
mov dword [0x428208], 0x428208
mov dword [ebp + 8], eax
jle 0x4034c5
mov esi, 0x4000
cmp dword [ebp + 0x14], esi
jge 0x403374
mov esi, dword [ebp + 0x14]
mov edi, 0x430220
push esi
push edi
call fcn.004034cf
test eax, eax
je 0x4034bd
sub dword [ebp + 0x14], esi
mov dword [0x41e658], edi
mov dword [0x41e65c], esi
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
push 0x41e658
mov dword [0x41e660], edi
mov dword [0x41e664], eax
call fcn.00406a65
test eax, eax
mov dword [ebp - 0x14], eax
jl 0x403460
mov esi, dword [0x41e660]
sub esi, edi
call ebx
test byte [0x47afb4], 1
mov edi, eax
je 0x40341b
sub eax, dword [ebp - 0x10]
cmp eax, 0xc8
ja 0x4033e2
cmp dword [ebp + 0x14], 0
jne 0x40341b
mov eax, dword [ebp + 8]
push dword [ebp + 8]
sub eax, dword [ebp + 0x14]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [ebp - 0x94]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
push 0
call fcn.0040559f
mov dword [ebp - 0x10], edi
test esi, esi
je 0x403454
cmp dword [ebp + 0x10], 0
jne 0x40343a
push esi
push dword [ebp - 0xc]
push dword [ebp + 0xc]
call fcn.004060df
test eax, eax
je 0x403464
add dword [ebp - 4], esi
jmp 0x403448
mov eax, dword [0x41e660]
add dword [ebp - 4], esi
sub dword [ebp - 8], esi
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x14], 1
jne 0x403397
jmp 0x4034c5
cmp dword [ebp + 0x14], 0
jg 0x403367
jmp 0x4034c5
push 0xfffffffffffffffc
jmp 0x4034bf
push 0xfffffffffffffffe
jmp 0x4034bf
test edi, edi
jne 0x4034aa
cmp dword [ebp + 0x14], edi
jle 0x4034c5
mov ebx, dword [ebp - 8]
cmp dword [ebp + 0x14], ebx
mov esi, dword [ebp + 0x14]
jl 0x40347e
mov esi, ebx
mov edi, 0x430220
push esi
push edi
call fcn.004034cf
test eax, eax
je 0x4034bd
push esi
push edi
push dword [ebp + 0xc]
call fcn.004060df
test eax, eax
je 0x403464
add dword [ebp - 4], esi
sub dword [ebp + 0x14], esi
cmp dword [ebp + 0x14], 0
jg 0x403474
jmp 0x4034c5
cmp dword [ebp + 0x14], esi
jge 0x4034b2
mov esi, dword [ebp + 0x14]
push esi
push edi
call fcn.004034cf
test eax, eax
jne 0x4034c2
push 0xfffffffffffffffd
pop eax
jmp 0x4034c8
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10