joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b950
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x44a901
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [0x468a18]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 8], 0
mov eax, dword [edi + 0x1c]
test eax, eax
jne 0x41b999
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x44]
push eax
mov ecx, esi
call fcn.0042a160
jmp 0x41ba3f
push ebp
push 0x800
call sub.MFC71U.DLL_SerializeElements
mov esi, eax
mov eax, dword [edi + 0x20]
mov ebp, 8
add esp, 4
cmp eax, ebp
jb 0x41b9ba
mov edi, dword [edi + 0xc]
jmp 0x41b9bd
add edi, 0xc
mov eax, dword [esp + 0x54]
cmp dword [eax + 0x20], ebp
jb 0x41b9cb
mov edx, dword [eax + 0xc]
jmp 0x41b9ce
lea edx, [eax + 0xc]
mov eax, dword [esp + 0x50]
cmp dword [eax + 0x20], ebp
jb 0x41b9dc
mov ecx, dword [eax + 0xc]
jmp 0x41b9df
lea ecx, [eax + 0xc]
mov eax, dword [esp + 0x4c]
cmp dword [eax + 0x20], ebp
pop ebp
jb 0x41b9ee
mov eax, dword [eax + 0xc]
jmp 0x41b9f1
add eax, 0xc
push edi
push 0x400
push esi
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push esi
lea ecx, [esp + 0x10]
call fcn.0042a100
mov edi, 1
push esi
mov dword [esp + 0x40], edi
call sub.MFC71U.DLL_operator_new
mov esi, dword [esp + 0x48]
add esp, 4
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.0042a160
lea ecx, [esp + 0xc]
mov dword [esp + 8], edi
mov byte [esp + 0x3c], 0
call section..text
mov ecx, dword [esp + 0x34]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop esi
call fcn.0043cfa9
add esp, 0x38
ret 0x10

Function at 0x41bbf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44a948
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [esp + 0x34]
push esi
mov esi, ecx
push eax
lea ecx, [esp + 8]
call fcn.0042a100
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esi + 8]
mov dword [esp + 0x34], 0
call dword [sym.imp.MSVCP71.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_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea edx, [esp + 8]
push edx
lea ecx, [esi + 4]
call fcn.00411910
lea ecx, [esp + 4]
mov dword [esp + 0x30], 0xffffffff
call section..text
mov ecx, dword [esp + 0x28]
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret 4
Function at 0x41bdc0
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41bdd3
mov eax, 1
pop esi
ret 4
lea eax, [esi + 0x44]
push ebp
push eax
call fcn.0042af30
mov eax, dword [esi + 0x64]
mov ebp, 8
add esp, 4
cmp eax, ebp
jb 0x41bdf1
mov eax, dword [esi + 0x50]
jmp 0x41bdf4
lea eax, [esi + 0x50]
push ebx
push edi
push eax
lea edi, [esi + 0x1c]
push 0
mov ecx, edi
call fcn.00430c10
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x6c]
push edx
mov dword [esi + 0x68], eax
mov dword [esi + 0x10], ecx
or ebx, 0xffffffff
call fcn.0042af30
mov eax, dword [esi + 0x8c]
add esp, 4
cmp eax, ebp
jb 0x41be32
mov eax, dword [esi + 0x78]
jmp 0x41be35
lea eax, [esi + 0x78]
push eax
mov eax, dword [esi + 0x10]
push eax
xor ebp, ebp
push ebp
push 4
mov ecx, edi
call fcn.00430c10
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
cmp eax, ebp
mov dword [esi], eax
jne 0x41be70
mov ecx, dword [esi + 0x68]
push ecx
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
mov dword [esi + 0x68], ebp
pop ebp
xor eax, eax
pop esi
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov edi, 1
jne 0x41be85
mov dword [esi + 0x18], edi
mov edx, dword [esi + 0x10]
mov eax, dword [esi]
push edx
push ebp
push ebp
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebp
mov dword [esi + 4], eax
jne 0x41bebd
mov ecx, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov dword [esi + 0x14], ebp
call edi
mov edx, dword [esi + 0x68]
push edx
call edi
pop edi
pop ebx
mov dword [esi + 0x68], ebp
pop ebp
xor eax, eax
pop esi
ret 4
mov dword [esi + 0x14], edi
mov eax, edi
pop edi
pop ebx
pop ebp
pop esi
ret 4
Function at 0x41bf10
Capabilities:
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x44a992
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push 0x208
call sub.MFC71U.DLL_SerializeElements
add esp, 4
push 0x104
mov esi, eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_3]
push esi
mov dword [esp + 0x18], 0
call sub.MFC71U.DLL_operator_new
add esp, 4
push 0x5c
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_COleMessageFilter::XMessageFilter::RetryRejectedCall]
test eax, eax
pop esi
jl 0x41bfa2
push eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_CToolBar::Layout]
push eax
lea ecx, [esp + 4]
mov byte [esp + 0x14], 1
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::operator_4]
lea ecx, [esp + 4]
mov byte [esp + 0x10], 0
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT_2]
lea ecx, [esp]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::GetBuffer_1]
push eax
call dword [sym.imp.MSVCR71.dll__wchdir]
add esp, 4
lea ecx, [esp]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [esp]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT_2]
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x423260
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44bb36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
push edi
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_3]
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_8]
push 0x129
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call dword [sym.imp.MFC71U.DLL_CWinApp::LoadStdProfileSettings]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.0040ab20
mov ecx, dword [0x468848]
push ecx
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x3c], 2
call fcn.00411e00
add esp, 0x18
mov esi, dword [esp + 0x30]
push eax
mov ecx, esi
mov byte [esp + 0x28], 3
call dword [0x44e270]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT_2]
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 1
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT_2]
mov ebp, dword [esp + 0x2c]
push edi
push str.plain
lea eax, [ebp + 0x2c]
push esi
push eax
call fcn.00422350
add esp, 0x10
push 0x12a
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_CWinApp::LoadStdProfileSettings]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.0040ab20
mov ecx, dword [0x468848]
push ecx
push eax
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x3c], 4
call fcn.00411e00
add esp, 0x18
push eax
mov ecx, esi
mov byte [esp + 0x28], 5
call dword [0x44e270]
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT_2]
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 1
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT_2]
push edi
push 0x4534e4
push esi
add ebp, 0x44
push ebp
call fcn.00422350
add esp, 0x10
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT_2]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT_2]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x4280e0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
je 0x428111
cmp eax, 0xffffffff
je 0x428111
mov edx, dword [esp + 8]
push 0
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 8]
neg eax
sbb eax, eax
and eax, ecx
ret 8
xor eax, eax
ret 8
Function at 0x429b30
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
push ebp
mov ebp, ecx
cmp dword [eax + 0x18], 8
push esi
jb 0x429b43
mov eax, dword [eax + 4]
jmp 0x429b46
add eax, 4
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x429b6d
pop esi
xor al, al
pop ebp
ret 4
push edi
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x429b9b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
xor al, al
pop ebp
ret 4
push ebx
lea ebx, [ebp + 8]
push edi
mov ecx, ebx
call fcn.00429500
test al, al
je 0x429beb
push 0
lea ecx, [esp + 0x18]
push ecx
mov dword [ebx], edi
mov eax, dword [ebp + 0xc]
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x429c03
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebx
pop edi
pop esi
xor al, al
pop ebp
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebx
pop edi
pop esi
xor al, al
pop ebp
ret 4
pop ebx
pop edi
pop esi
mov al, 1
pop ebp
ret 4
Function at 0x42ce80
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44c849
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
mov eax, dword [0x468a18]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esp + 0x6c]
mov dword [esp + 0x90], eax
mov dword [esp + 0x24], ebx
call fcn.00429f40
push ebx
mov dword [esp + 0xa0], 1
call dword [sym.imp.MSVCR71.dll_time]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.MSVCR71.dll_localtime]
mov edi, eax
add esp, 8
mov byte [esp + 0x50], bl
mov byte [esp + 0x1e], bl
mov byte [esp + 0x16], bl
mov byte [esp + 0xe], bl
mov byte [esp + 0x1a], bl
mov byte [esp + 0x12], bl
mov edx, dword [edi + 0x14]
lea ecx, [esp + 0x4c]
push ecx
add edx, 0x76c
push edx
mov ecx, esi
call fcn.0042cb20
mov ecx, dword [edi + 0x10]
lea eax, [esp + 0x1c]
inc ecx
push eax
push ecx
mov ecx, esi
call fcn.0042cc40
mov eax, dword [edi + 0xc]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, esi
call fcn.0042cc40
mov edx, dword [edi + 8]
lea ecx, [esp + 0xc]
push ecx
push edx
mov ecx, esi
call fcn.0042cc40
mov ecx, dword [edi + 4]
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.0042cc40
mov eax, dword [edi]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, esi
call fcn.0042cc40
xor ecx, ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x68], ecx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x6c]
push str._s__s__s__s__s__s
push edx
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x20
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x2c]
call fcn.00429e20
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x78]
mov byte [esp + 0xa0], 2
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 + 0x2c]
push edx
lea ecx, [esp + 0x74]
call fcn.00411910
lea ecx, [esp + 0x28]
mov byte [esp + 0x9c], 1
call fcn.00401080
mov esi, dword [esp + 0xa4]
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
call fcn.00429e80
lea ecx, [esp + 0x6c]
mov dword [esp + 0x24], 1
mov byte [esp + 0x9c], bl
call fcn.00401080
mov ecx, dword [esp + 0x94]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x88]
pop ebx
call fcn.0043cfa9
add esp, 0x94
ret 4
Function at 0x42cea1
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44c849
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
mov eax, dword [0x468a18]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esp + 0x6c]
mov dword [esp + 0x90], eax
mov dword [esp + 0x24], ebx
call fcn.00429f40
push ebx
mov dword [esp + 0xa0], 1
call dword [sym.imp.MSVCR71.dll_time]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.MSVCR71.dll_localtime]
mov edi, eax
add esp, 8
mov byte [esp + 0x50], bl
mov byte [esp + 0x1e], bl
mov byte [esp + 0x16], bl
mov byte [esp + 0xe], bl
mov byte [esp + 0x1a], bl
mov byte [esp + 0x12], bl
mov edx, dword [edi + 0x14]
lea ecx, [esp + 0x4c]
push ecx
add edx, 0x76c
push edx
mov ecx, esi
call fcn.0042cb20
mov ecx, dword [edi + 0x10]
lea eax, [esp + 0x1c]
inc ecx
push eax
push ecx
mov ecx, esi
call fcn.0042cc40
mov eax, dword [edi + 0xc]
lea edx, [esp + 0x14]
push edx
push eax
mov ecx, esi
call fcn.0042cc40
mov edx, dword [edi + 8]
lea ecx, [esp + 0xc]
push ecx
push edx
mov ecx, esi
call fcn.0042cc40
mov ecx, dword [edi + 4]
lea eax, [esp + 0x18]
push eax
push ecx
mov ecx, esi
call fcn.0042cc40
mov eax, dword [edi]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, esi
call fcn.0042cc40
xor ecx, ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x68], ecx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x6c]
push str._s__s__s__s__s__s
push edx
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x20
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x2c]
call fcn.00429e20
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x78]
mov byte [esp + 0xa0], 2
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 + 0x2c]
push edx
lea ecx, [esp + 0x74]
call fcn.00411910
lea ecx, [esp + 0x28]
mov byte [esp + 0x9c], 1
call fcn.00401080
mov esi, dword [esp + 0xa4]
lea eax, [esp + 0x6c]
push eax
mov ecx, esi
call fcn.00429e80
lea ecx, [esp + 0x6c]
mov dword [esp + 0x24], 1
mov byte [esp + 0x9c], bl
call fcn.00401080
mov ecx, dword [esp + 0x94]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x88]
pop ebx
call fcn.0043cfa9
add esp, 0x94
ret 4
Function at 0x42df00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44c8d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
push edi
lea ecx, [esp + 0x10]
call fcn.00428b40
mov eax, dword [edi + 0xc]
mov ecx, dword [eax + 4]
lea esi, [edi + 8]
push ecx
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x1c], ebx
call fcn.0042d150
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebx
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
mov edx, dword [edi + 0x18]
mov eax, dword [edx + 4]
lea esi, [edi + 0x14]
push eax
mov ecx, esi
call fcn.0042d190
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebx
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
mov ecx, dword [edi + 0x24]
mov edx, dword [ecx + 4]
lea esi, [edi + 0x20]
push edx
mov ecx, esi
call fcn.0042dca0
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebx
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 4]
lea esi, [edi + 0x2c]
push ecx
mov ecx, esi
call fcn.0042dce0
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebx
mov dword [eax], eax
mov esi, dword [esi + 4]
lea ecx, [esp + 0xc]
mov dword [esi + 8], esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00428b70
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4396c0
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x43972f
mov eax, dword [esi + 0x80]
test eax, eax
je 0x439736
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x439736
mov ecx, dword [esi + 0xc8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x439736
lea eax, [esp + 8]
push eax
push 4
push esi
push 0x439380
push 0
push 0
call dword [sym.imp.MSVCR71.dll__beginthreadex]
add esp, 0x18
test eax, eax
mov dword [esi + 0xa8], eax
je 0x43972f
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x43972f
mov ecx, dword [eax]
push edi
lea edx, [esp + 0xc]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push eax
call dword [ecx + 0x1c]
mov ecx, dword [esp + 8]
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
push 0
mov edi, ecx
neg edi
push edi
mov edi, dword [esp + 0x14]
push edi
push ecx
mov ecx, dword [esi + 0x68]
push 0
push ecx
mov ecx, dword [esi + 0x64]
push ecx
mov ecx, dword [esi + 0x90]
push 0
push 0
push ecx
push eax
call dword [edx + 0x20]
test eax, eax
pop edi
jne 0x43972f
mov edx, dword [esi + 0x20]
push eax
push eax
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x439ec0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push esi
push edi
mov dword [esp + 8], ecx
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 0xc]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x439fb2
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
mov dword [esp + 0x14], edi
je 0x439fb2
push ebx
push ebp
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
push ebp
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x439f3c
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
pop ecx
ret 8
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, dword [esp + 0x1c]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x439f9a
test edi, edi
je 0x439f9a
mov esi, eax
mov ecx, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [esp + 0x10]
push ebp
push ebx
call fcn.00439b60
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebp
pop ebx
pop edi
mov eax, esi
pop esi
pop ecx
ret 8
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
pop ecx
ret 8
pop edi
xor eax, eax
pop esi
pop ecx
ret 8
Function at 0x43a050
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44ce38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
xor eax, eax
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x452940
push 0xc4967d
push 1
push eax
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x10]
call sub.MFC71U.DLL_CDC::Attach
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0xc]
push eax
mov ecx, edi
call sub.MFC71U.DLL_CDC::SelectObject_1
mov esi, dword [esp + 0x30]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
mov ebx, eax
push edx
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call sub.MFC71U.DLL_COlePropertyPage::XPropertyPage::Move
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
push ecx
push edx
mov ecx, edi
call sub.MFC71U.DLL_CRichEditCtrl::LineScroll
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, edi
call sub.MFC71U.DLL_CRichEditCtrl::LineScroll
mov edx, dword [esi + 0xc]
mov eax, dword [esi]
push edx
push eax
mov ecx, edi
call sub.MFC71U.DLL_CRichEditCtrl::LineScroll
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
push edx
mov ecx, edi
call sub.MFC71U.DLL_CRichEditCtrl::LineScroll
push ebx
mov ecx, edi
call sub.MFC71U.DLL_CDC::SelectObject_1
lea ecx, [esp + 0xc]
call sub.MFC71U.DLL_CListBox::DeleteItem
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0xc], 0x44ec08
call sub.MFC71U.DLL_CListBox::DeleteItem
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x43a570
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44ce80
push eax
mov dword fs:[0], esp
mov edx, dword [ecx + 0x6c]
xor eax, eax
sub esp, 0x18
cmp edx, eax
je 0x43a6aa
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x452074
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], eax
call sub.MFC71U.DLL_CDBVariant::CDBVariant
mov esi, dword [esp + 0x3c]
mov edi, dword [esi + 8]
mov edx, dword [esi]
mov ebp, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov ebx, dword [esp + 0x38]
sub edi, edx
sub ebp, ecx
test ebx, ebx
mov byte [esp + 0x30], 1
jne 0x43a5d6
xor eax, eax
jmp 0x43a5d9
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC71U.DLL_CAsyncSocket::Attach
mov eax, dword [ebx + 4]
push ebp
push edi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x14]
call sub.MFC71U.DLL_CDC::Attach
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push ecx
push edx
call sub.MFC71U.DLL_COleControl::SelectFontObject
mov ebx, dword [ebx + 4]
push 0xcc0020
mov dword [esp + 0x40], eax
mov eax, dword [esi + 4]
mov esi, dword [esi]
push eax
mov eax, dword [esp + 0x24]
push esi
push ebx
push ebp
push edi
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x3c]
test eax, eax
pop edi
pop esi
pop ebp
pop ebx
je 0x43a643
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call sub.MFC71U.DLL_COleControl::SelectFontObject
lea ecx, [esp + 8]
call sub.MFC71U.DLL_CRichEditView::DeleteContents
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
mov ecx, dword [esp + 0x30]
push eax
call sub.MFC71U.DLL_CDC::Attach
lea ecx, [esp]
call sub.MFC71U.DLL_CListBox::DeleteItem
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call fcn.0043cbd8
lea ecx, [esp]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp], 0x44ec08
call sub.MFC71U.DLL_CListBox::DeleteItem
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
mov ecx, dword [ecx + 0x5c]
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [esp + 0x30]
push eax
call sub.MFC71U.DLL_CDC::Attach
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc