joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407b40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x407b57
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x407b88
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x407b84
cmp esi, eax
jae 0x407b88
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x407b74
cmp esi, eax
jb 0x407b8e
pop esi
pop edi
xor eax, eax
pop ebp
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x407f90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4901d1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4b0b28]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push str.Day_of_month_value_is_out_of_range_1..31
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push eax
mov ecx, esi
mov dword [esp + 0x34], 0
call fcn.00406830
mov dword [esi], vtable.std::out_of_range.0
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 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 dword [esi], vtable.boost::gregorian::bad_day_of_month.0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret

Function at 0x408010
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4901d1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4b0b28]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push str.Year_is_out_of_valid_range:_1400..10000
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push eax
mov ecx, esi
mov dword [esp + 0x34], 0
call fcn.00406830
mov dword [esi], vtable.std::out_of_range.0
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 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 dword [esi], vtable.boost::gregorian::bad_year.0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
Function at 0x4080b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4901d1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4b0b28]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push str.Month_number_is_out_of_range_1..12
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push eax
mov ecx, esi
mov dword [esp + 0x34], 0
call fcn.00406830
mov dword [esi], vtable.std::out_of_range.0
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 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 dword [esi], vtable.boost::gregorian::bad_month.0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret

Function at 0x408320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48fa21
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x4b0b28]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, dword [esp + 0x34]
push 0x49cd5f
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 8]
push eax
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.00401070
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 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 ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x28], ecx
lea ecx, [esi + 0x30]
mov dword [esi], vtable.boost::system::system_error.0
mov dword [esi + 0x2c], 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_]
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret 0xc

Function at 0x4086d0
Capabilities:
Get thread local storage value

Disassembly:
mov eax, dword [0x4b30bc]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x408705
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x408705
mov eax, dword [ecx]
test eax, eax
je 0x408705
mov dword [ecx], 0
mov cl, byte [eax]
movzx edx, cl
cmp edx, ebx
jae 0x408722
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [ebx + 1]
push eax
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp ebx, 0xff
ja 0x408720
movzx ecx, bl
mov byte [eax + ebx], cl
ret
xor ecx, ecx
mov byte [eax + ebx], cl
ret
Function at 0x408a40
Capabilities:
Terminate thread

Disassembly:
sub esp, 8
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push 0xffffffffffffffff
push 0
lea edx, [esp + 8]
push edx
push 2
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0x4b305c
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
push 0
je 0x408a8d
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
add esp, 8
ret
mov edx, dword [esi + 4]
push edx
push method.boost::asio::detail::win_iocp_io_service.virtual_8
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov eax, dword [esi + 4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esp, 8
ret

Function at 0x408ab0
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateEventW]
push edi
push 0
push 0
push 1
push 0
call ebp
mov ebx, eax
test ebx, ebx
mov dword [esi + 4], ebx
jne 0x408b09
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov dword [esp + 0x10], edi
call fcn.0046ae20
neg edi
sbb edi, edi
test edi, fcn.0040a0c0
mov dword [esp + 0x14], eax
je 0x408b09
lea eax, [esp + 0x10]
push eax
mov ecx, str.thread.entry_event
call fcn.00401a10
push 0
push 0
push 1
push 0
call ebp
mov ebp, dword [esp + 0x1c]
mov dword [ebp + 8], eax
mov dword [esi + 8], eax
cmp dword [ebp + 8], 0
jne 0x408b5d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov dword [esp + 0x10], edi
call fcn.0046ae20
neg edi
sbb edi, edi
test edi, fcn.0040a0c0
mov dword [esp + 0x14], eax
je 0x408b5d
lea ecx, [esp + 0x10]
push ecx
mov ecx, str.thread.exit_event
call fcn.00401a10
lea edx, [esp + 0xc]
push edx
push 0
push esi
push 0x408c00
push 0x10000
push 0
mov dword [esp + 0x24], 0
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
test eax, eax
mov dword [ebp + 4], eax
jne 0x408bdc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
test ebx, ebx
je 0x408ba6
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebp, dword [ebp + 8]
test ebp, ebp
je 0x408bb4
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], edi
call fcn.0046ae20
neg edi
sbb edi, edi
test edi, fcn.0040a0c0
mov dword [esp + 0x14], eax
je 0x408bdc
lea eax, [esp + 0x10]
push eax
mov ecx, str.thread
call fcn.00401a10
test ebx, ebx
je 0x408bf0
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x408d60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49195f
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b0b28]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebx
mov dword [esp + 0x2c], ebx
mov dword [esi], vtable.boost::asio::detail::win_iocp_io_service.0
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
lea eax, [esi + 0x34]
mov byte [esp + 0x2c], 3
push eax
mov dword [esi + 0x30], ebx
call fcn.00408770
mov edi, eax
call fcn.0046ae20
mov dword [esp + 0x18], edi
neg edi
sbb edi, edi
test edi, fcn.0040a0c0
mov dword [esp + 0x1c], eax
je 0x408dfb
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.mutex
call fcn.00401a10
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
cmp ebp, 0xffffffff
mov byte [esp + 0x2c], 5
jae 0x408e12
mov eax, ebp
jmp 0x408e15
or eax, 0xffffffff
push eax
push ebx
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
cmp eax, ebx
mov dword [esi + 0x14], eax
jne 0x408e57
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [esp + 0x18], edi
call fcn.0046ae20
neg edi
sbb edi, edi
test edi, fcn.0040a0c0
mov dword [esp + 0x1c], eax
je 0x408e57
lea edx, [esp + 0x18]
push edx
mov ecx, str.iocp
call fcn.00401a10
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0xc
Function at 0x4090f0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x491bf0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
mov eax, dword [0x4b0b28]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push ebx
lea eax, [esi + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test eax, eax
jne 0x409151
mov eax, esi
call fcn.00409200
xor esi, esi
call fcn.0046ae20
mov dword [edi + 4], eax
mov dword [edi], esi
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov dword [esp + 0x10], ebx
mov dword [esp + 0x28], ebx
mov edx, dword [0x4b30bc]
lea ecx, [esp + 0x10]
push edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [0x4b30bc]
mov ebp, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
push eax
push ecx
call ebp
push edi
mov ecx, esi
mov byte [esp + 0x2c], 1
call fcn.004092e0
test eax, eax
je 0x4091b4
jmp 0x4091a0
cmp ebx, 0xffffffff
je 0x4091a8
add ebx, 1
push edi
mov ecx, esi
call fcn.004092e0
test eax, eax
jne 0x4091a0
mov edx, dword [esp + 0x1c]
mov eax, dword [0x4b30bc]
push edx
push eax
call ebp
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4091d2
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret

Function at 0x40a930
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491dcb
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4b0b28]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
push eax
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], 0x4b1f08
mov dword [esp + 0x1c], 0
call fcn.004088e0
lea esi, [edi + 8]
mov ecx, esi
mov dword [edi], eax
call fcn.004082e0
xor ebx, ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], ebx
call fcn.004082e0
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov byte [esi + 8], bl
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 8
Function at 0x40c740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48f938
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b0b28]
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.00401130
test edi, edi
mov dword [esp + 0x18], 0
je 0x40c784
add edi, 0x28
jmp 0x40c786
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 0x40c79e
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 0x40c8b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x490788
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b0b28]
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.004068e0
mov dword [esi], vtable.boost::gregorian::bad_day_of_month.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x40c8fa
add edi, 0x28
jmp 0x40c8fc
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 0x40c914
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_struct_boost::gregorian::bad_day_of_month_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_day_of_month_.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 0x40cbc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x490788
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b0b28]
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.004068e0
mov dword [esi], vtable.boost::gregorian::bad_year.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x40cc0a
add edi, 0x28
jmp 0x40cc0c
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 0x40cc24
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_struct_boost::gregorian::bad_year_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_year_.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 0x40cd50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x490788
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b0b28]
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.004068e0
mov dword [esi], vtable.boost::gregorian::bad_month.0
test edi, edi
mov dword [esp + 0x18], 0
je 0x40cd9a
add edi, 0x28
jmp 0x40cd9c
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 0x40cdb4
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_struct_boost::gregorian::bad_month_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_month_.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 0x420910
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4912c5
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4b0b28]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push edi
mov eax, dword [0x4b0b28]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov eax, dword [esp + 0x240]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x238], 0
mov dword [esi], vtable.CFolderReg.0
mov eax, dword [0x4b2a20]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b2a20
lea edi, [esi + 8]
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x238], 1
mov eax, dword [0x4b2a20]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b2a20
lea ebx, [esi + 0xc]
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x238], 2
mov eax, dword [0x4b2a20]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b2a20
lea ebp, [esi + 0x10]
call edx
add eax, 0x10
mov dword [ebp], eax
push 0x208
lea eax, [esp + 0x26]
push 0
mov byte [esp + 0x240], 3
push eax
mov word [esp + 0x2c], 0
call sub.MSVCR80.dll_memset
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
push edx
lea eax, [esp + 0x30]
push 0x104
push eax
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
lea ecx, [esp + 0x38]
push 0x49d568
push ecx
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 0x20
test eax, eax
jne 0x420a1f
mov dword [esi + 4], SysReAllocString
jmp 0x420a7d
lea edx, [esp + 0x20]
push str.hkcu
push edx
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x420a3f
mov dword [esi + 4], VariantInit
jmp 0x420a7d
lea eax, [esp + 0x20]
push str.hklm
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x420a5f
mov dword [esi + 4], reloc.OLEAUT32.dll_SysReAllocString
jmp 0x420a7d
lea ecx, [esp + 0x20]
push str.hkus
push ecx
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x420a7d
mov dword [esi + 4], VariantInit
mov eax, dword [esp + 0x18]
call fcn.004226b0
mov eax, dword [esp + 0x10]
mov edi, ebx
call fcn.004226b0
push 0x49cbec
xor ebx, ebx
mov eax, ebp
call fcn.00407d80
mov eax, esi
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.0046b7d6
add esp, 0x22c
ret 4
Function at 0x420ad0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491255
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x4b0b28]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push edi
mov eax, dword [0x4b0b28]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov eax, dword [esp + 0x244]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x248]
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x23c], 0
mov dword [esi], vtable.CFolderReg.0
mov edx, dword [0x4b2a20]
mov eax, dword [edx + 0xc]
mov ecx, 0x4b2a20
lea edi, [esi + 8]
call eax
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x23c], 1
mov edx, dword [0x4b2a20]
mov eax, dword [edx + 0xc]
mov ecx, 0x4b2a20
lea ebx, [esi + 0xc]
call eax
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x23c], 2
mov edx, dword [0x4b2a20]
mov eax, dword [edx + 0xc]
mov ecx, 0x4b2a20
lea ebp, [esi + 0x10]
call eax
add eax, 0x10
mov dword [ebp], eax
push 0x208
lea ecx, [esp + 0x2a]
push 0
mov byte [esp + 0x244], 3
push ecx
mov word [esp + 0x30], 0
call sub.MSVCR80.dll_memset
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
push eax
lea ecx, [esp + 0x34]
push 0x104
push ecx
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
lea edx, [esp + 0x3c]
push 0x49d568
push edx
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 0x20
test eax, eax
jne 0x420bed
mov dword [esi + 4], SysReAllocString
jmp 0x420c4b
lea eax, [esp + 0x24]
push str.hkcu
push eax
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x420c0d
mov dword [esi + 4], VariantInit
jmp 0x420c4b
lea ecx, [esp + 0x24]
push str.hklm
push ecx
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x420c2d
mov dword [esi + 4], reloc.OLEAUT32.dll_SysReAllocString
jmp 0x420c4b
lea edx, [esp + 0x24]
push str.hkus
push edx
call dword [sym.imp.MSVCR80.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x420c4b
mov dword [esi + 4], VariantInit
mov eax, dword [esp + 0x18]
call fcn.004226b0
mov eax, dword [esp + 0x10]
mov edi, ebx
call fcn.004226b0
mov eax, dword [esp + 0x14]
mov edi, ebp
call fcn.004226b0
mov eax, esi
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.0046b7d6
add esp, 0x230
ret 8
Function at 0x421380
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4917ae
mov eax, dword fs:[0]
push eax
push ebp
push esi
push edi
mov eax, dword [0x4b0b28]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x20]
mov dword [ebp + 4], 2
xor esi, esi
mov dword [esp + 0x18], esi
mov dword [ebp], vtable.CFileItem.0
mov eax, dword [0x4b2a20]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b2a20
lea edi, [ebp + 8]
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x18], 1
mov eax, dword [esp + 0x30]
mov dword [ebp + 0x10], esi
call fcn.004226b0
push 0x14
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, esi
mov byte [esp + 0x18], 2
je 0x421418
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x34]
mov esi, eax
call fcn.00420ad0
mov dword [ebp + 0xc], eax
jmp 0x42141b
mov dword [ebp + 0xc], esi
mov eax, ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret 0x18

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

Disassembly:
push 0xffffffffffffffff
push 0x4917ae
mov eax, dword fs:[0]
push eax
push ebp
push esi
push edi
mov eax, dword [0x4b0b28]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x20]
mov dword [ebp + 4], 2
xor esi, esi
mov dword [esp + 0x18], esi
mov dword [ebp], vtable.CFileItem.0
mov eax, dword [0x4b2a20]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b2a20
lea edi, [ebp + 8]
call edx
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x18], 1
mov eax, dword [esp + 0x30]
mov dword [ebp + 0x10], esi
call fcn.004226b0
push 0x14
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, esi
mov byte [esp + 0x18], 2
je 0x4214d3
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x2c]
mov esi, eax
call fcn.00420910
mov dword [ebp + 0xc], eax
jmp 0x4214d6
mov dword [ebp + 0xc], esi
mov eax, ebp
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret 0x14