joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412e82
Capabilities:
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x435510
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x44fcc4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
call sub.MFC80U.DLL_Ordinal_4574
push 0
push esi
call fcn.00416ad0
add esp, 8
call sub.MFC80U.DLL_Ordinal_1079
push 0x80
push 0xe
push 0x80
call sub.MFC80U.DLL_Ordinal_1058
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov edi, eax
call sub.MFC80U.DLL_Ordinal_1079
mov eax, dword [eax + 8]
push 0
push 0x10
push 0x10
push 1
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
mov ebx, eax
mov eax, dword [esi + 0x20]
push 0x80
push eax
call edi
mov ecx, dword [esi + 0x20]
push ebx
push 0
push 0x80
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.00415e60
push 0x136
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0
call fcn.00415e70
lea ecx, [esp + 0x10]
lea edi, [esi + 0x304]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
mov ecx, edi
call sub.MFC80U.DLL_Ordinal_6063
push 0xff00ff
push 0x18
push 0x18
push 0xff
push 0xfd
mov ecx, edi
call fcn.00419630
push 0x114
lea ecx, [esp + 0x14]
call fcn.00415e70
lea ecx, [esp + 0x10]
lea edi, [esi + 0x1ec]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
mov ecx, edi
call sub.MFC80U.DLL_Ordinal_6063
push 0xff00ff
push 0x18
push 0x18
push 0x104
push 0x102
mov ecx, edi
call fcn.00419630
lea ecx, [esp + 0x14]
call fcn.00415e60
push 0xf1
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 1
call fcn.00415e70
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
mov ecx, esi
call sub.MFC80U.DLL_Ordinal_6063
mov ecx, esi
call fcn.00412680
mov edi, eax
call fcn.00418040
test eax, eax
je 0x412fb3
mov ecx, dword [esi + 0x20]
push ecx
mov ecx, eax
call fcn.00418400
cmp byte [esi + 0x3ac], 0
mov ecx, esi
je 0x412fc5
push 0x12a
jmp 0x412fca
push 0x11c
call fcn.00412cb0
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x4131c0
Capabilities:
Create directory

Disassembly:
mov eax, dword [esp + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4131ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4131ed
test eax, eax
jle 0x4131ef
and eax, 0xffff
or eax, 0x80070000
ret
xor eax, eax
ret
Function at 0x413340
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x43555b
mov eax, dword fs:[0]
push eax
sub esp, 0x310
mov eax, dword [0x44fcc4]
xor eax, esp
mov dword [esp + 0x30c], eax
push ebx
push esi
push edi
mov eax, dword [0x44fcc4]
xor eax, esp
push eax
lea eax, [esp + 0x320]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x330]
mov edi, dword [esp + 0x334]
mov ebx, dword [esp + 0x338]
lea eax, [esp + 0x114]
push eax
push 0
push 0
or ecx, 0x8000
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
jl 0x413423
test edi, edi
je 0x4133e0
push edi
lea edx, [esp + 0x118]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
jne 0x4133ce
mov eax, 0x80070057
jmp 0x413423
lea eax, [esp + 0x114]
push eax
call fcn.004131f0
add esp, 4
mov esi, eax
test esi, esi
jl 0x413421
lea ecx, [esp + 0x114]
push ecx
lea ecx, [esp + 0x14]
call fcn.00402f30
mov edx, dword [eax]
push edx
mov ecx, ebx
mov dword [esp + 0x32c], 0
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
cmp eax, ecx
je 0x413421
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x320]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30c]
xor ecx, esp
call fcn.0041583a
add esp, 0x31c
ret

Function at 0x413630
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x14
mov eax, dword [0x44fcc4]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
push edi
push 1
mov edi, 0x5e
xor bl, bl
call fcn.00414f80
add esp, 4
test al, al
jne 0x413664
push 0
call fcn.00414fa0
add esp, 4
test al, al
je 0x413698
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x413698
push str.GetUserGeoID
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41368d
push 0x10
call eax
mov edi, eax
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test bl, bl
jne 0x4136f0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
xor ecx, ecx
push 7
mov dword [esp + 0x12], ecx
mov dword [esp + 0x16], ecx
mov dword [esp + 0x1a], ecx
lea ecx, [esp + 0x10]
push ecx
push 5
push eax
mov word [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4136f0
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.MSVCR80.dll__wtol]
add esp, 4
mov ecx, 0x44e9e8
lea ebx, [ebx]
cmp dword [ecx + 8], eax
je 0x413704
add ecx, 0x14
cmp ecx, 0x44fca8
jb 0x4136e0
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0041583a
add esp, 0x14
ret
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041583a
add esp, 0x14
ret

Function at 0x41583a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44fcc4]
jne 0x415844
repz ret
jmp fcn.00415d11
Function at 0x419a10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x435f09
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x44fcc4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
mov dword [esp + 0x3c], 0
call sub.MFC80U.DLL_Ordinal_3756
mov edx, dword [esp + 0xc]
xor ecx, ecx
cmp dword [edx - 0xc], ecx
setne cl
mov edi, ecx
test edi, edi
je 0x419ac0
cmp dword [esi + 0x80], 0
je 0x419ac0
mov ecx, esi
call fcn.004199f0
test eax, eax
je 0x419ac0
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
call fcn.00419540
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00419880
mov edx, dword [esp + 0x28]
sub edx, dword [esi + 0x58]
sub edx, dword [esp + 0x10]
sub edx, dword [eax]
mov eax, 0
setns al
mov edi, eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 4
Function at 0x41c710
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4362c1
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x44fcc4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push 0x43a444
lea ecx, [esp + 0x10]
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 + 0xc]
push eax
push 0
mov ecx, esi
mov dword [esp + 0x38], 0
call fcn.00420040
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 2
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, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
Function at 0x41ce70
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x436445
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x44fcc4]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
xor ebx, ebx
push eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push str.mailto:
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov byte [esp + 0x2c], 1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx - 0xc]
push ebx
push 0x40
lea ecx, [esp + 0x1c]
mov edi, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_2260]
cmp eax, 0xffffffff
je 0x41cf17
push esi
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80U.DLL_Ordinal_3990]
mov ecx, dword [esp + 0x18]
push ecx
mov ebx, 1
mov ecx, eax
mov byte [esp + 0x30], 2
mov dword [esp + 0x20], ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_1472]
test eax, eax
mov byte [esp + 0x13], bl
jne 0x41cf1c
mov byte [esp + 0x13], 0
test bl, 1
mov dword [esp + 0x2c], 1
je 0x41cf33
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
cmp byte [esp + 0x13], 0
je 0x41cf6b
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00417280
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 3
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov edx, dword [esp + 0x14]
push 5
push 0x43a444
push 0
push edx
push 0x43e638
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x18]
mov esi, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x20
ret
Function at 0x41d210
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea eax, [esp]
push eax
push 1
push 0
push ecx
push edx
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41d2f3
push ebp
push esi
mov esi, dword [esp + 0x34]
push edi
lea ecx, [esp + 0x10]
push ecx
lea edx, [esi + 1]
lea eax, [esi + esi]
push edx
lea ecx, [esp + 0x20]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
call fcn.0041bde0
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
je 0x41d27b
mov ecx, dword [esp + 0x20]
sub ecx, eax
sar ecx, 1
jne 0x41d281
call ebp
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x14]
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov edi, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41d2a8
mov ecx, dword [esp + 0x20]
sub ecx, eax
sar ecx, 1
jne 0x41d2ae
call ebp
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
push esi
push eax
push esi
push edx
call dword [sym.imp.MSVCR80.dll_wcsncpy_s]
mov eax, dword [esp + 0x1c]
add esp, 0x10
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0xc], 0
je 0x41d2ee
mov ecx, dword [esp + 0x24]
sub ecx, eax
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::allocator_wchar_t_::deallocate_wchar_t___unsigned_int_]
mov eax, edi
pop edi
pop esi
pop ebp
add esp, 0x1c
ret
Function at 0x41d300
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x8ac
mov eax, dword [0x44fcc4]
xor eax, esp
mov dword [esp + 0x8a8], eax
push ebx
mov ebx, dword [esp + 0x8b4]
push esi
xor esi, esi
cmp ebx, esi
je 0x41d479
cmp dword [esp + 0x8c0], esi
je 0x41d350
push ebx
call fcn.0041ce70
add esp, 4
pop esi
pop ebx
mov ecx, dword [esp + 0x8a8]
xor ecx, esp
call fcn.0041583a
add esp, 0x8ac
ret
push 0x820
lea eax, [esp + 0x92]
push esi
push eax
mov word [esp + 0x98], si
call sub.MSVCR80.dll_memset
push 0x410
lea ecx, [esp + 0x9c]
push ecx
push str..htm
push SysReAllocString
call fcn.0041d210
add esp, 0x1c
test eax, eax
jne 0x41d492
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str._shellopencommand
lea edx, [esp + 0x94]
push edx
call edi
push 0x410
lea eax, [esp + 0x94]
push eax
mov ecx, eax
push ecx
push SysReAllocString
call fcn.0041d210
add esp, 0x10
test eax, eax
jne 0x41d478
push ebp
mov ebp, dword [sym.imp.MSVCR80.dll_wcsstr]
lea edx, [esp + 0x94]
push str.__1_
push edx
call ebp
mov esi, eax
add esp, 8
test esi, esi
jne 0x41d41b
lea eax, [esp + 0x94]
push 0x43e668
push eax
call ebp
mov esi, eax
add esp, 8
test esi, esi
jne 0x41d41b
lea ecx, [esp + 0x94]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esp + eax*2 + 0x92]
jmp 0x41d420
mov word [esi], 0
push 0x43e664
push esi
call edi
push ebx
push esi
call edi
lea edx, [esp + 0x14]
mov dword [esp + 0x10], edx
call dword [0x453d54]
push eax
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x18]
call fcn.0041cfb0
mov ecx, dword [esp + 0x8c4]
mov edx, dword [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
cmp eax, ecx
pop ebp
je 0x41d478
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x8a8]
xor ecx, esp
call fcn.0041583a
add esp, 0x8ac
ret
mov edx, dword [esp + 0x8bc]
push edx
push esi
push esi
push ebx
push str.explore
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x8b0]
pop esi
pop ebx
xor ecx, esp
call fcn.0041583a
add esp, 0x8ac
ret
Function at 0x41ea80
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x436633
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x44fcc4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], 0x457f80
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x34]
mov dword [esi], vtable.tinyxml::TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x457f80
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x43e098
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.00426290
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x41ec20
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x436688
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44fcc4]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
mov ebp, dword [esp + 0x28]
xor edi, edi
cmp ebp, edi
jne 0x41ec62
push edi
push edi
push edi
push 2
call fcn.00426960
xor al, al
jmp 0x41ee0d
mov esi, dword [ebx + 0x18]
cmp esi, edi
je 0x41ec81
lea esp, [esp]
mov ecx, esi
mov eax, dword [ecx]
mov edx, dword [eax]
mov esi, dword [esi + 0x28]
push 1
call edx
cmp esi, edi
jne 0x41ec70
mov esi, dword [sym.imp.MSVCR80.dll_fseek]
push 2
or eax, 0xffffffff
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
push edi
push ebp
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
call esi
push ebp
call dword [sym.imp.MSVCR80.dll_ftell]
push 0
push 0
push ebp
mov edi, eax
call esi
add esp, 0x1c
test edi, edi
jg 0x41ecc9
push 0
push 0
push 0
push 0xd
mov ecx, ebx
call fcn.00426960
xor al, al
jmp 0x41ee0d
mov dword [esp + 0x14], 0x457f80
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0
call fcn.004261f0
lea eax, [edi + 1]
push eax
call sub.MFC80U.DLL_Ordinal_762
push ebp
mov esi, eax
push 1
push edi
push esi
mov dword [esp + 0x3c], esi
mov byte [esi], 0
call dword [sym.imp.MSVCR80.dll_fread]
add esp, 0x14
cmp eax, 1
je 0x41ed43
push esi
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
push 0
push 0
push 0
push 2
mov ecx, ebx
call fcn.00426960
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
cmp eax, 0x457f80
je 0x41ed3c
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
xor al, al
jmp 0x41ee0d
mov ebp, dword [esp + 0x28]
mov byte [edi + ebp], 0
cmp byte [ebp], 0
mov eax, esi
je 0x41edb5
mov cl, byte [esi]
cmp cl, 0xa
jne 0x41ed73
mov ecx, esi
sub ecx, eax
add ecx, 1
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00426380
add esi, 1
mov eax, esi
jmp 0x41edb0
cmp cl, 0xd
jne 0x41edad
mov ecx, esi
sub ecx, eax
test ecx, ecx
jle 0x41ed8b
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00426380
push 1
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0xa
call fcn.00426380
cmp byte [esi + 1], 0xa
jne 0x41ed6c
add esi, 2
mov eax, esi
jmp 0x41edb0
add esi, 1
cmp byte [esi], 0
jne 0x41ed53
sub esi, eax
je 0x41edc4
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00426380
push ebp
call sub.MFC80U.DLL_Ordinal_764
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov eax, dword [ebx]
mov eax, dword [eax + 8]
add esp, 4
push ecx
push 0
add edx, 8
push edx
mov ecx, ebx
call eax
cmp byte [ebx + 0x2c], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
jne 0x41ed2c
cmp eax, 0x457f80
je 0x41ee0b
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x420150
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
cmp dword [esi + 0x1c], 0
jne 0x420161
call fcn.004200e0
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x18], 8
jb 0x420170
mov eax, dword [eax + 4]
jmp 0x420173
add eax, 4
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push 0
push edx
push 0
push eax
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
pop esi
je 0x4201af
push 0x50000
push eax
lea ecx, [esp + 8]
call fcn.0041fdf0
push 0x448d38
lea ecx, [esp + 4]
push ecx
call sub.MSVCR80.dll__CxxThrowException
add esp, 0x14
ret 0xc

Function at 0x4201c0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x436902
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x44fcc4]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
lea eax, [esp + 0x10]
mov dword [esp + 0x18], ebx
mov edi, dword [esp + 0x54]
push eax
lea ecx, [esp + 0x18]
push ecx
push edi
mov ecx, esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
call fcn.00420150
cmp dword [esp + 0x14], 1
je 0x420235
push 0x50000
push 0x65d
lea ecx, [esp + 0x34]
call fcn.0041fdf0
push 0x448d38
lea edx, [esp + 0x30]
push edx
call sub.MSVCR80.dll__CxxThrowException
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x54]
push eax
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x5c], ebx
call fcn.0041bde0
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
mov dword [esp + 0x48], 1
je 0x420266
mov edx, dword [esp + 0x24]
sub edx, ecx
sar edx, 1
jne 0x420270
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x20]
cmp dword [edi + 0x18], 8
jb 0x42027b
mov eax, dword [edi + 4]
jmp 0x42027e
lea eax, [edi + 4]
lea edx, [esp + 0x10]
push edx
push ecx
push ebx
push ebx
push eax
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x4202b3
push 0x50000
push eax
lea ecx, [esp + 0x34]
call fcn.0041fdf0
push 0x448d38
lea ecx, [esp + 0x30]
push ecx
call sub.MSVCR80.dll__CxxThrowException
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4202c5
mov edx, dword [esp + 0x24]
sub edx, eax
sar edx, 1
jne 0x4202cf
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x50]
push eax
mov ecx, esi
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__]
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov dword [esp + 0x18], 1
mov byte [esp + 0x48], bl
je 0x420304
mov ecx, dword [esp + 0x28]
sub ecx, eax
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::allocator_wchar_t_::deallocate_wchar_t___unsigned_int_]
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x3c
ret 8
Function at 0x420c70
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x436af9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x44fcc4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x84], 0
jne 0x420d30
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
push 0x410
push 0x410
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_2460]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_5398]
push 0x43f11c
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x420d1f
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorW]
test eax, eax
je 0x420d1f
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x84], eax
mov dword [edi + 0xf8], 1
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x4216e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x436c35
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44fcc4]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x18], esi
call sub.MFC80U.DLL_Ordinal_572
xor edi, edi
mov dword [esi], vtable.CXHTMLStatic.0
mov dword [esp + 0x24], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x6c], vtable.CFont.0
lea ebx, [esi + 0x78]
mov ecx, ebx
mov byte [esp + 0x24], 1
call sub.MFC80U.DLL_Ordinal_530
lea ebp, [esi + 0x8c]
mov ecx, ebp
mov byte [esp + 0x24], 2
call sub.MFC80U.DLL_Ordinal_557
push 0xf
mov byte [esp + 0x28], 3
call dword [sym.imp.USER32.dll_GetSysColor]
push 8
mov dword [esi + 0x54], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push 0xffffffffffffffff
push edi
mov ecx, ebx
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0x74], edi
call sub.MFC80U.DLL_Ordinal_6001
push 0xffffffffffffffff
push edi
mov ecx, ebp
call sub.MFC80U.DLL_Ordinal_6002
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
push 0x410
push 0x411
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 4
call dword [sym.imp.MFC80U.DLL_Ordinal_2460]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_5398]
push 0x43f11c
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_899]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp ebx, edi
je 0x42180f
push 0x6a
push ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
cmp eax, edi
je 0x42180f
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [esi + 0xa8], eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret