joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d28a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x45fc22
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
lea ecx, [esi + 0x128]
mov dword [esp + 0x34], ecx
lea eax, [esi + 0x17c]
mov dword [esp + 0x30], eax
lea ecx, [esi + 0x228]
mov dword [esp + 0x20], ecx
lea edx, [esi + 0xd4]
lea eax, [esi + 0x80]
lea ecx, [esi + 0x324]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
xor edi, edi
lea edx, [esi + 0x27c]
lea eax, [esi + 0x2d0]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x48], edi
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call fcn.0041ed50
mov ebx, eax
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], edx
mov eax, dword [esi + 0x7c]
lea ecx, [eax + edi + 1]
push ecx
lea edx, [esp + 0x14]
push 0xa4
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format_1]
mov ebp, dword [esp + edi*4 + 0x3c]
add esp, 0xc
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, ebp
call sub.MFC71.DLL_CWnd::SetWindowTextA
mov eax, dword [esi + 0x7c]
mov ecx, dword [esp + 0x14]
add eax, edi
cmp eax, ecx
mov ecx, ebp
jge 0x43d3f6
push 5
call sub.MFC71.DLL_CWnd::ShowWindow
mov ebp, dword [esp + edi*4 + 0x20]
push 5
mov ecx, ebp
call sub.MFC71.DLL_CWnd::ShowWindow
mov ecx, dword [esi + 0x7c]
add ecx, edi
push ecx
mov ecx, ebx
call sub.MFC71.DLL_CObList::FindIndex
test eax, eax
je 0x43d424
mov ebx, dword [eax + 8]
mov edx, dword [esi + 0x78]
push edx
mov ecx, ebx
call fcn.00401df0
fld dword [0x464904]
fld dword [eax]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x43d3aa
mov eax, dword [esi + 0x78]
push eax
mov ecx, ebx
call fcn.00401df0
fld dword [eax]
fldlg2
fxch st(1)
fyl2x
fmul dword [0x4675b0]
jmp 0x43d3b0
fld dword [0x4675ac]
call fcn.0045a0cc
mov ecx, ebp
push eax
call fcn.00413800
push 0x115
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov ecx, eax
mov byte [esp + 0x48], 1
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, ebp
call fcn.004137e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ebx, dword [esp + 0x1c]
jmp 0x43d408
push 0
call sub.MFC71.DLL_CWnd::ShowWindow
mov ecx, dword [esp + edi*4 + 0x20]
push 0
call sub.MFC71.DLL_CWnd::ShowWindow
inc edi
cmp edi, 4
jl 0x43d303
mov edi, dword [esp + 0x14]
test edi, edi
lea ecx, [esi + 0x1d0]
jle 0x43d429
push 0
jmp 0x43d42b
jmp fcn.004593ce
push 5
call sub.MFC71.DLL_CWnd::ShowWindow
xor ecx, ecx
cmp edi, 4
setg cl
push ecx
lea ecx, [esi + 0x37c]
call sub.MFC71.DLL_CWnd::EnableWindow
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret
Function at 0x43e997
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45fdbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi], 0x46e058
mov dword [esp + 8], esi
mov dword [esi + 4], ebx
lea ecx, [esi + 0x44]
mov dword [esp + 0x14], ebx
call fcn.0043e8b0
xor eax, eax
lea ecx, [esi + 8]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [esi + 0x28], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x43edc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45fe66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
mov ebp, ecx
push esi
lea ebx, [ebp + 4]
mov dword [ebp], 0x46e058
push edi
mov dword [esp + 0x10], ebp
mov dword [ebx], 0
lea ecx, [ebp + 0x44]
mov dword [esp + 0x1c], 0
call fcn.0043e8b0
push ebx
push 0x46dd78
push 0x17
push 0
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x30], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, 4
mov edi, 0x4697e8
lea esi, [esp + 0x34]
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
je 0x43ee56
mov edx, dword [esp + 0x34]
mov ebx, dword [ebx]
mov eax, dword [ebx]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x48]
mov dword [ecx + 4], edx
mov dword [ecx + 8], edi
push ebx
mov dword [ecx + 0xc], esi
call dword [eax + 0xc]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
xor eax, eax
mov dword [ebp + 0x30], eax
mov dword [ebp + 0x34], eax
mov byte [ebp + 0x28], al
lea eax, [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x38]
lea eax, [ebp + 0x18]
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], edx
mov dword [eax + 8], edi
pop edi
mov dword [eax + 0xc], esi
pop esi
mov eax, ebp
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x20
Function at 0x445bde
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 2
push dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x445c61
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [ebp - 4]
mov edi, eax
lea eax, [ebp + 8]
push eax
push esi
call fcn.00445b3e
test eax, eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
je 0x445c3f
push 0
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectPalette]
push edi
call dword [sym.imp.GDI32.dll_RealizePalette]
mov eax, dword [ebp + 8]
push 0
push esi
lea eax, [esi + eax*4]
add eax, dword [esi]
push eax
push 4
push esi
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
push edi
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
mov eax, esi
pop esi
leave
ret 0xc
Function at 0x446cae
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4609a5
call fcn.0045a7b4
sub esp, 0x43c
mov eax, dword [0x482888]
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x438], ebx
xor eax, eax
mov byte [ebp - 0x424], bl
mov ecx, 0x104
lea edi, [ebp - 0x423]
rep stosd dword es:[edi], eax
push 0x410
lea eax, [ebp - 0x424]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x424]
push eax
mov dword [ebp - 0x434], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
jne 0x446d44
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x424]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
jne 0x446d44
mov ecx, dword [ebp + 8]
push 0x464770
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
jmp 0x446e1c
lea eax, [ebp - 0x425]
push eax
push esi
lea ecx, [ebp - 0x448]
mov byte [ebp - 0x425], bl
call fcn.00446c85
push dword [ebp - 0x444]
lea eax, [ebp - 0x424]
push esi
push ebx
push eax
mov dword [ebp - 4], ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x446da6
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x430]
push eax
push 0x4671bc
push dword [ebp - 0x444]
mov dword [ebp - 0x438], ebx
mov dword [ebp - 0x430], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x446db6
mov ecx, dword [ebp + 8]
push 0x464770
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
jmp 0x446e11
lea ecx, [ebp - 0x42c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
mov eax, dword [ebp - 0x430]
movzx ecx, word [eax + 0x14]
push ecx
movzx ecx, word [eax + 0x16]
push ecx
movzx ecx, word [eax + 0x10]
movzx eax, word [eax + 0x12]
push ecx
push eax
lea eax, [ebp - 0x42c]
push str._d._d._d._d
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
mov ecx, dword [ebp + 8]
add esp, 0x18
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_4]
lea ecx, [ebp - 0x42c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [ebp - 0x448]
call fcn.00446c61
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0045a0a1
leave
ret 4
Function at 0x448c35
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x460bb4
call fcn.0045a7b4
push ecx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
lea eax, [edi + 0x14]
push eax
lea ecx, [esi + 0x14]
mov dword [ebp - 0x10], esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
and dword [ebp - 4], 0
lea eax, [edi + 0x30]
push eax
lea ecx, [esi + 0x30]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
add edi, 0x4c
push edi
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x44b6b3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call sub.MFC71.DLL_AfxGetModuleState
push dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
push dword [ebp + 8]
mov dword [ebp - 8], esi
push esi
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x44b6e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor al, al
jmp 0x44b76a
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x44b6fc
xor al, al
jmp 0x44b769
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
test eax, eax
je 0x44b70f
push eax
call sub.MFC71.DLL_operator_delete
and dword [esi], 0
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebp + 8], eax
je 0x44b766
cmp dword [esi], 0
mov edi, dword [ebp + 0x14]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SizeofResource]
jne 0x44b736
push dword [ebp + 0xc]
push dword [ebp - 8]
call ebx
mov dword [edi], eax
mov eax, dword [edi]
test eax, eax
je 0x44b765
push eax
call sub.MFC71.DLL_operator_new_1
pop ecx
push dword [ebp + 0xc]
mov dword [esi], eax
push dword [ebp - 8]
mov edi, dword [edi]
call ebx
cmp edi, eax
jl 0x44b765
push edi
push dword [ebp + 8]
push dword [esi]
call sub.MSVCR71.dll_memcpy
add esp, 0xc
mov byte [ebp - 1], 1
pop ebx
mov al, byte [ebp - 1]
pop edi
pop esi
leave
ret 0x10
Function at 0x450540
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4612fe
call fcn.0045a7b4
push ecx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x14]
mov dword [ebp - 0x10], esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_void_]
xor edi, edi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], edi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_void_]
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_void_]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 4], edi
mov dword [esi + 0x10], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi], eax
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x450643
Capabilities:
Get common file path

Disassembly:
mov eax, 0x46133d
call fcn.0045a7b4
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
call sub.MFC71.DLL_CWnd::CWnd
xor edi, edi
mov dword [esi], 0x470f38
mov dword [ebp - 4], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x6c], 0x464808
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 1
call sub.MFC71.DLL_CPtrArray::CPtrArray
lea ecx, [esi + 0x8c]
mov byte [ebp - 4], 2
call fcn.00459fb6
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
push 0xf
mov byte [ebp - 4], 3
call ebx
push 8
mov dword [esi + 0x54], eax
call ebx
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0x78]
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.MFC71.DLL_CPtrArray::SetSize
push 0xffffffffffffffff
push edi
lea ecx, [esi + 0x8c]
call sub.MFC71.DLL_CStringArray::SetSize
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_2]
push 0x410
push 0x411
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer]
push str.winhlp32.exe
lea ecx, [ebp - 0x10]
call dword [0x463b2c]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
cmp ebx, edi
je 0x45074d
push 0x6a
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
cmp eax, edi
je 0x45074d
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, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x45293d
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x453030
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4618fe
call fcn.0045a7b4
sub esp, 0x14
and dword [ebp - 0x18], 0
push ebx
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
and dword [ebp - 4], 0
push str.mailto:
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov esi, dword [eax - 0xc]
push 0
push 0x40
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Find_1]
cmp eax, 0xffffffff
je 0x4530ae
push esi
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
push dword [ebp - 0x14]
mov ecx, eax
mov dword [ebp - 0x18], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
test eax, eax
je 0x4530ae
mov bl, 1
jmp 0x4530b0
xor bl, bl
test byte [ebp - 0x18], 1
je 0x4530bf
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
test bl, bl
je 0x4530ee
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040f2c0
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_2]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push 5
push 0x464770
push 0
push dword [ebp - 0x10]
push 0x46b408
push dword [ebp - 0x20]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x14]
mov esi, eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4531b5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push edi
lea eax, [ebp - 8]
push eax
push 1
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 8], ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edi, eax
cmp edi, ebx
jne 0x45322d
push esi
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 1]
push eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], esi
mov byte [ebp - 1], bl
call fcn.0045318c
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x18]
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push esi
push dword [ebp - 0x18]
mov edi, eax
push dword [ebp + 0x10]
call dword [sym.imp.MSVCR71.dll__mbsnbcpy]
add esp, 0xc
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], ebx
call fcn.00446c61
pop esi
mov eax, edi
pop edi
pop ebx
leave
ret
Function at 0x453233
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x482888]
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [ebp + 8], eax
mov dword [ebp - 0x41c], eax
je 0x45336d
cmp dword [ebp + 0x10], eax
je 0x45326e
push dword [ebp + 8]
call fcn.00453030
pop ecx
mov dword [ebp - 0x41c], eax
jmp 0x45336d
push ebx
push esi
push edi
xor eax, eax
mov byte [ebp - 0x418], 0
mov ecx, 0x104
lea edi, [ebp - 0x417]
rep stosd dword es:[edi], eax
mov ebx, 0x410
push ebx
lea eax, [ebp - 0x418]
push eax
push str..htm
mov esi, DirectSoundCreate
push esi
call fcn.004531b5
add esp, 0x10
test eax, eax
jne 0x45334e
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push str._shellopencommand
lea eax, [ebp - 0x418]
push eax
call edi
push ebx
lea eax, [ebp - 0x418]
push eax
push eax
push esi
call fcn.004531b5
add esp, 0x10
test eax, eax
jne 0x45336a
mov ebx, dword [sym.imp.MSVCR71.dll__mbsstr]
lea eax, [ebp - 0x418]
push str.__1_
push eax
call ebx
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x453325
lea eax, [ebp - 0x418]
push 0x471584
push eax
call ebx
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x453325
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [ebp + eax - 0x419]
jmp 0x453328
mov byte [esi], 0
push 0x46ba64
push esi
call edi
push dword [ebp + 8]
push esi
call edi
call dword [0x482070]
push dword [ebp + 0xc]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x453364
push dword [ebp + 0xc]
xor eax, eax
push eax
push eax
push dword [ebp + 8]
push str.explore
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 0x41c], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x41c]
call fcn.0045a0a1
leave
ret

Function at 0x4543fa
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ecx], 0xffffffff
mov eax, dword [0x482888]
mov dword [ebp - 4], eax
je 0x454438
call fcn.0045431e
push 7
lea ecx, [ebp - 0xc]
push ecx
movzx eax, ax
push 0x1004
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x454438
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
pop ecx
jmp 0x45443a
xor eax, eax
mov ecx, dword [ebp - 4]
call fcn.0045a0a1
leave
ret
Function at 0x454e7d
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x482888]
push edi
push 0
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jne 0x454eab
mov edi, dword [ebp + 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
jmp 0x454f36
push esi
push edi
call dword [sym.imp.MSVCR71.dll_malloc]
mov esi, eax
test esi, esi
pop ecx
jne 0x454ec6
mov edi, dword [ebp + 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
jmp 0x454f35
push esi
push edi
push 0
push dword [ebp + 0xc]
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x454eed
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4671bc
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x454f02
push esi
call dword [sym.imp.MSVCR71.dll_free]
mov edi, dword [ebp + 8]
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
jmp 0x454f34
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + 0x14]
push ecx
movzx ecx, word [eax + 0x16]
push ecx
movzx ecx, word [eax + 0x10]
movzx eax, word [eax + 0x12]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.004544b6
push esi
call dword [sym.imp.MSVCR71.dll_free]
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x10]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
pop ecx
pop esi
mov ecx, dword [ebp - 4]
pop edi
call fcn.0045a0a1
leave
ret
Function at 0x457f00
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x482b94]
sub esp, 0xc
test eax, eax
mov dword [0x482b90], 0
je 0x457f1c
xor eax, eax
add esp, 0xc
ret
mov eax, 0x482ba0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x457f24
sub eax, edx
push esi
mov dword [esp + 0xc], eax
jne 0x457fc1
lea eax, [esp + 4]
push eax
push 1
xor esi, esi
push esi
push str.CLSID0280750F_22B0_46fd_BCCA_99B3BF28765EInprocServer32
push DirectSoundCreate
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x457fa5
lea ecx, [esp + 0xc]
push ecx
push 0x482ba0
lea edx, [esp + 0x10]
push edx
push eax
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x457f96
cmp dword [esp + 8], 1
jne 0x457f96
mov esi, 1
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x457fc1
mov eax, dword [0x482b90]
test eax, eax
jle 0x457fb7
mov word [0x482b92], 0x8007
mov eax, 0x80004005
pop esi
add esp, 0xc
ret
push 0x482ba0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x482b94], eax
je 0x457fa5
xor eax, eax
pop esi
add esp, 0xc
ret