joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d240
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x4bc410]
xor eax, ebp
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x114], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
xor eax, eax
mov byte [esp + 0x18], 0
mov ecx, 0x3f
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
lea edx, [esp + 0x18]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41d281
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
lea ecx, [esp + 0x24]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41d2e0
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
push ebx
lea eax, [esp + 0x1c]
push eax
push 0
push esi
push ecx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x28], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41d2f9
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, ebp
call fcn.00496ace
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00496ace
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41d580
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x4bc410]
xor eax, ebp
mov dword [esp + 0x110], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [esp + 0xc], eax
xor eax, eax
mov byte [esp + 0x18], 0
mov ecx, 0x3f
lea edi, [esp + 0x19]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0x18]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x41d5c8
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push 0
lea edx, [esp + 0x24]
push edx
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41d626
lea ecx, [esp + 0xc]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x20]
push esi
push eax
mov dword [esp + 0x2c], 1
mov dword [esp + 0x24], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41d63f
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, ebp
call fcn.00496ace
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00496ace
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41da90
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x499c7c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x538
mov eax, dword [0x4bc410]
xor eax, esp
push ebp
push esi
mov dword [esp + 0x53c], eax
mov eax, dword [esp + 0x550]
push 0
push 2
mov ebp, ecx
mov dword [esp + 0x14], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x41db89
push ebx
lea ecx, [esp + 0xc]
call dword [0x49f754]
lea ecx, [esp + 0x18]
push ecx
push esi
mov dword [esp + 0x554], 0
mov dword [esp + 0x20], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x41db75
jmp 0x41db10
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x10]
push 0x4a0ee0
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::MakeLower]
push 0xb
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Right]
push str.firefox.exe
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x14]
inc bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
test bl, bl
jne 0x41dbb0
lea edx, [esp + 0x18]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x41db10
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x540]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x538]
pop ebp
xor ecx, esp
call fcn.00496ace
add esp, 0x544
ret 4
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
mov eax, dword [ebp + 0x40]
test eax, eax
je 0x41dc05
mov eax, dword [esp + 0x24]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41dc05
push 0x400
lea ecx, [esp + 0x148]
push ecx
push 0
push esi
call dword [ebp + 0x40]
test eax, eax
je 0x41dc02
lea edx, [esp + 0x144]
push edx
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_3]
push esi
call edi
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
call dword [0x49f214]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, 1
pop edi
jmp 0x41db88
Function at 0x41dc80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x499ca9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
mov esi, ecx
lea ecx, [esp + 8]
call sub.MFC71.DLL_CFile::CFile
push 0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x40], 0
call fcn.0041d670
lea ecx, [esp + 4]
call dword [0x49f754]
lea eax, [esp + 0x18]
push eax
push 0x3001
lea ecx, [esi + 8]
mov byte [esp + 0x3c], 2
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x14]
call sub.MFC71.DLL_CFile::Open
test eax, eax
pop esi
jne 0x41dd2b
lea ecx, [esp]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0x4a3a10
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 4]
mov dword [esp + 0x30], 0xffffffff
call fcn.004963ae
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 4
mov edx, dword [esp + 4]
push 2
push 0
push 0
lea ecx, [esp + 0x10]
call dword [edx + 0x30]
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 4]
push str._s_r_n
push ecx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
lea ecx, [esp]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
lea ecx, [esp + 4]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0xc]
call sub.MFC71.DLL_CFile::Write
lea ecx, [esp + 4]
call sub.MFC71.DLL_CFile::Close
lea ecx, [esp]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 0x4a3a10
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 4]
mov dword [esp + 0x30], 0xffffffff
call fcn.004963ae
mov ecx, dword [esp + 0x28]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x34
ret 4
Function at 0x41f8b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x499f36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x808
mov eax, dword [0x4bc410]
xor eax, esp
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x814], eax
mov dword [esp + 0x10], esi
call dword [0x49f754]
xor ebx, ebx
lea ecx, [esi + 4]
mov dword [esp + 0x820], ebx
call dword [0x49f754]
lea ecx, [esi + 8]
call dword [0x49f754]
lea ecx, [esi + 0xc]
mov byte [esp + 0x820], 2
call sub.MFC71.DLL_CStringArray::CStringArray
lea ecx, [esi + 0x20]
mov byte [esp + 0x820], 3
call sub.MFC71.DLL_CStringArray::CStringArray
push 0x400
lea eax, [esp + 0x18]
mov dword [0x4bce18], ebx
mov dword [0x4bce1c], ebx
push eax
mov byte [esp + 0x828], 4
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov byte [esp + 0x1c], bl
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, dword [sym.imp.MSVCR71.dll_sprintf]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x418]
push str._s_system32userenv.dll
push edx
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0xc
lea eax, [esp + 0x414]
push eax
call ebp
cmp eax, ebx
mov dword [esi + 0x3c], eax
je 0x41f995
push str.GetUserProfileDirectoryA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x38], eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x418]
push str._s_system32psapi.dll
push edx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
call edi
add esp, 0xc
lea eax, [esp + 0x414]
push eax
call ebp
cmp eax, ebx
mov dword [esi + 0x44], eax
je 0x41f9d2
push str.GetModuleFileNameExA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x40], eax
mov ecx, esi
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
call fcn.0041ede0
mov ecx, dword [esp + 0x818]
mov dword [esi + 0x34], eax
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x808]
pop ebx
xor ecx, esp
call fcn.00496ace
add esp, 0x814
ret
Function at 0x420d50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x499fec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b4
mov eax, dword [0x4bc410]
push esi
xor eax, ebp
push edi
mov dword [esp + 0x1b4], eax
mov esi, ecx
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0xa8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
xor edi, edi
push 0xf00ff
mov dword [esp + 0x14], 0x104
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov eax, dword [esi + 0xc]
cmp eax, edi
lea edx, [esp + 0xa8]
je 0x420dd5
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push ecx
call eax
jmp 0x420de1
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xa8]
push ecx
push str._sLocal_SettingsApplication_DataGoogleChromeUser_DataDefaultCookies
push esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
push 1
push 0x1b6
push 1
push edi
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::constructor_char_const___int__int_]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c4], edi
call dword [sym.imp.MSVCP71.dll_public:_bool___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::is_open_void_const]
test al, al
je 0x420e46
mov ecx, esi
call fcn.00420c40
mov esi, eax
neg esi
sbb esi, esi
neg esi
jmp 0x420e48
xor esi, esi
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::close_void_]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c4], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_ifstream_char__struct_std::char_traits_char__::vbase_dtor_void_]
cmp esi, edi
je 0x420e72
mov eax, 1
jmp 0x420e74
xor eax, eax
mov ecx, dword [esp + 0x1bc]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1b4]
pop edi
xor ecx, ebp
pop esi
call fcn.00496ace
mov esp, ebp
pop ebp
ret
Function at 0x421670
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x49a10c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x808
mov eax, dword [0x4bc410]
xor eax, esp
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x80c], eax
mov dword [esp + 8], esi
call dword [0x49f754]
xor ebx, ebx
push 0x400
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x820], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
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 + 4], ebx
mov byte [esp + 0x14], bl
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x410]
push str._s_system32userenv.dll
push edx
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0x40c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esi + 0x10], eax
je 0x42171e
push str.GetUserProfileDirectoryA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0xc], eax
mov ecx, esi
call fcn.00420d50
mov ecx, dword [esp + 0x810]
mov dword [esi + 4], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x808]
pop ebx
xor ecx, esp
call fcn.00496ace
add esp, 0x814
ret

Function at 0x422e40
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x49a299
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x7c]
test eax, eax
jne 0x422eed
push esi
lea ecx, [esp + 8]
call dword [0x49f754]
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetBuffer]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::ReleaseBuffer]
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x422edb
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x422edb
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x7c], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x422f00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x4bc410]
mov ecx, dword [esp + 0x118]
xor eax, esp
push esi
push edi
mov edi, dword [esp + 0x124]
lea edx, [esp + 8]
push edx
push 1
push 0
mov dword [esp + 0x120], eax
mov eax, dword [esp + 0x128]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x422f77
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push esi
push edx
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x114]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.00496ace
add esp, 0x110
ret 0xc

Function at 0x423d00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49a3a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [0x4bc410]
xor eax, esp
push esi
mov esi, dword [esp + 0x3c]
push edi
mov edi, dword [esp + 0x38]
lea ecx, [esp + 8]
mov dword [esp + 0x24], eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
test esi, esi
mov dword [esp + 0x30], 0
lea ecx, [esp + 8]
je 0x423d50
push esi
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
jmp 0x423d5b
push 0x4bcfa4
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
push edi
call dword [0x49f900]
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call fcn.004239e0
add esp, 8
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x28]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00496ace
add esp, 0x2c
ret
Function at 0x424730
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49a4db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov eax, dword [0x4bc410]
xor eax, esp
push esi
mov esi, dword [esp + 0x60]
push edi
push 0x4a095c
lea ecx, [esp + 0x14]
mov dword [esp + 0x54], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov edi, dword [esp + 0x68]
push edi
lea ecx, [esp + 0x30]
mov dword [esp + 0x60], 1
call fcn.0045c5b0
mov ecx, 0x4bcf88
mov byte [esp + 0x5c], 2
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea eax, [esp + 0x30]
push eax
push edi
push str.config.db
call fcn.00423e40
add esp, 0x10
test al, al
je 0x4247c1
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x2c]
mov dword [esp + 8], 1
mov byte [esp + 0x5c], 1
call fcn.0045c610
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x54]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x4c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00496ace
add esp, 0x58
ret
Function at 0x4259f0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x49a60b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x808
mov eax, dword [0x4bc410]
xor eax, esp
mov dword [esp + 0x804], eax
push esi
mov esi, dword [esp + 0x81c]
mov dword [esp + 4], 0
mov dword [esp + 0x814], 2
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0x800
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x834]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x834]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x834]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_3]
lea ecx, [esp + 0x820]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x824]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x828]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x80c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x808]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00496ace
add esp, 0x814
ret 0x10
Function at 0x425b60
Capabilities:
Get file version info

Disassembly:
sub esp, 0x210
mov eax, dword [0x4bc410]
xor eax, esp
mov dword [esp + 0x20c], eax
mov eax, dword [esp + 0x220]
push ebp
mov ebp, dword [esp + 0x220]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x218]
test eax, eax
push esi
mov esi, dword [esp + 0x220]
mov byte [esi + 3], 0
mov byte [esi + 2], 0
mov byte [esi + 1], 0
mov byte [esi], 0
jne 0x425bbc
push 0x200
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
jmp 0x425bcc
lea edx, [esp + 0x14]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x425bc2
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x18]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [esp + 8], eax
je 0x425c8e
push edi
push eax
call sub.MFC71.DLL_operator_new
mov ecx, dword [esp + 0x10]
add esp, 4
mov edi, eax
push edi
push ecx
push 0
lea edx, [esp + 0x24]
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x425c3d
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x4a1f5c
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x425c3d
mov eax, dword [esp + 0x10]
mov dl, byte [eax + 0xa]
mov byte [esi], dl
mov cl, byte [eax + 8]
mov byte [esi + 1], cl
mov dl, byte [eax + 0xe]
mov byte [esi + 2], dl
mov al, byte [eax + 0xc]
mov byte [esi + 3], al
push edi
call sub.MFC71.DLL_operator_delete
movzx ecx, byte [esi + 3]
movzx edx, byte [esi + 2]
movzx eax, byte [esi + 1]
push ecx
movzx ecx, byte [esi]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push str._i._i._i._i
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
xor eax, eax
mov ah, byte [esi]
xor ecx, ecx
mov ch, byte [esi + 2]
add esp, 0x1c
pop edi
mov al, byte [esi + 1]
movzx edx, cx
movzx ecx, byte [esi + 3]
shl eax, 0x10
or eax, edx
or eax, ecx
mov dword [ebp], eax
mov eax, 1
jmp 0x425c90
xor eax, eax
mov ecx, dword [esp + 0x214]
pop esi
pop ebp
xor ecx, esp
call fcn.00496ace
add esp, 0x210
ret 0x10