joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405470
Capabilities:
Encode data using xor
Encrypt data using blowfish

Disassembly:
sub esp, 8
xor eax, eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ecx, dword [esi]
mov edx, dword [eax + 0x5df2d0]
mov dword [eax + ecx], edx
add eax, 4
cmp eax, 0x48
jl 0x40547b
xor eax, eax
mov ecx, 0x100
mov edx, dword [esi + 4]
mov edi, dword [eax + 0x5df318]
mov dword [eax + edx], edi
add eax, 4
dec ecx
jne 0x405495
cmp eax, 0x1000
jl 0x405490
mov edi, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
xor ecx, ecx
xor ebp, ebp
mov eax, ecx
cdq
idiv edi
inc ecx
mov al, byte [edx + ebx]
mov byte [esp + 0x23], al
mov eax, ecx
cdq
idiv edi
inc ecx
mov eax, ecx
mov dl, byte [edx + ebx]
mov byte [esp + 0x22], dl
cdq
idiv edi
inc ecx
mov al, byte [edx + ebx]
mov byte [esp + 0x21], al
mov eax, ecx
cdq
idiv edi
mov eax, dword [esi]
inc ecx
add eax, ebp
add ebp, 4
mov dl, byte [edx + ebx]
mov byte [esp + 0x20], dl
mov edx, dword [esp + 0x20]
xor dword [eax], edx
cmp ebp, 0x48
jl 0x4054ba
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.00404ad0
mov edx, dword [esi]
mov eax, dword [esp + 0x10]
mov dword [edi + edx], eax
mov ecx, dword [esi]
mov edx, dword [esp + 0x14]
mov dword [edi + ecx + 4], edx
add edi, 8
cmp edi, 0x48
jl 0x40550a
mov edi, 4
mov ebx, 0x80
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.00404ad0
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov dword [edi + edx - 4], eax
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x14]
mov dword [edi + ecx], edx
add edi, 8
dec ebx
jne 0x405540
cmp edi, 0x1004
jl 0x40553b
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8

Function at 0x405c90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5748fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x591898
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x405d20
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x405ce7
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x405d11
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x405d26
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x405d26
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x5916f4
mov ecx, edi
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, esi
mov dword [edi], 0x5916e0
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4107e0
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x5752ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 4
call sub.MFC42.DLL_operatornew
mov ebx, eax
mov eax, dword [0x5e1654]
mov dword [esp + 0x128], eax
mov ecx, 0x42
xor eax, eax
lea edi, [esp + 0x12c]
rep stosd dword es:[edi], eax
add esp, 4
lea ecx, [esp + 0x14]
stosw word es:[edi], ax
push 0x10e
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [esi + 0x19c]
test eax, eax
je 0x4108ab
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_5
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push str.__s__1
push eax
mov dword [esp + 0x248], 0
call sub.MFC42.DLL_CString::Format
mov edi, dword [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x23c], 0xffffffff
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x288]
test ecx, ecx
je 0x4108eb
mov edi, 0x5e1644
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
js 0x410919
lea ecx, [ebp + 1]
lea esi, [esp + 0x14]
mov eax, ecx
lea edi, [esp + 0x124]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x410951
mov edx, dword [ebx]
lea ecx, [esp + 0x124]
push ebp
push ecx
push 1
push eax
push str.FEIQ
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x238]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x230
ret

Function at 0x410980
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push esi
push 4
call sub.MFC42.DLL_operatornew
add esp, 4
mov esi, eax
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4109b0
mov eax, dword [esi]
push str.FEIQ
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
pop esi
ret
Function at 0x4109c0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5752e7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov dword [esp + 0x10], 0
mov ebx, 1
lea ecx, [esp + 8]
mov dword [esp + 0x20], ebx
call sub.MFC42.DLL_CString::CString_5
push 0x200
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_operatornew
add esp, 4
mov esi, eax
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push str.softwareHSToolsIPMsgEng
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x410a3e
mov esi, dword [esp + 0x28]
push 0x5f3788
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x10], ebx
jmp 0x410a8c
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push ecx
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x410a63
push 0x5f3788
jmp 0x410a64
push esi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x28]
lea edx, [esp + 8]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov dword [esp + 0x10], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x420550
Capabilities:
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x576a6b
push eax
mov dword fs:[0], esp
sub esp, 0x404
push esi
mov esi, ecx
mov eax, dword [esi + 0xf830]
mov ecx, dword [eax + 8]
lea edx, [eax + 0x198]
test ecx, ecx
jne 0x420587
lea edx, [eax + 0x94]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x420592
mov eax, ecx
jmp 0x420595
mov eax, dword [eax + 0x20]
push eax
lea eax, [esp + 0xc]
push edx
push eax
call fcn.0043c340
add esp, 0xc
cmp eax, 0x104
jl 0x4205d6
push 0
lea ecx, [esp + 0xc]
push 0x5e2498
push ecx
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
xor eax, eax
pop esi
mov ecx, dword [esp + 0x404]
mov dword fs:[0], ecx
add esp, 0x410
ret
mov eax, dword [esi + 0xf830]
add eax, 0x10
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4205ea
mov eax, ecx
jmp 0x4205ed
mov eax, dword [eax + 0x10]
lea edx, [esp + 8]
push eax
push edx
call fcn.0043c2c0
add esp, 8
test eax, eax
jne 0x420629
push eax
lea eax, [esp + 0xc]
push 0x5e2488
push eax
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
xor eax, eax
pop esi
mov ecx, dword [esp + 0x404]
mov dword fs:[0], ecx
add esp, 0x410
ret
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_3
push str..fiq
lea ecx, [esp + 8]
mov dword [esp + 0x414], 0
call sub.MFC42.DLL_CString::operator_1
mov edx, dword [esp + 4]
push 0
push 0x80
push 2
push 0
push 3
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [esi + 0xf830]
mov dword [ecx + 0x5c], eax
mov eax, dword [esi + 0xf830]
cmp dword [eax + 0x5c], 0xffffffff
jne 0x4206c8
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x42069c
lea edx, [esp + 8]
push 0
push edx
push 0x5e24a4
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
lea ecx, [esp + 4]
mov dword [esp + 0x410], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
pop esi
mov ecx, dword [esp + 0x404]
mov dword fs:[0], ecx
add esp, 0x410
ret
mov eax, dword [eax + 0x24]
test ah, 1
je 0x4206dd
lea eax, [esp + 8]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [esp + 4]
mov dword [esp + 0x410], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x408]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x410
ret
Function at 0x420710
Capabilities:
Download and write a file
Receive and write data from server to client
Receive data
Receive data on socket
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0xf830]
mov edi, dword [ecx + 0x48]
mov ebx, dword [ecx + 0x50]
mov edx, dword [ecx + 0x48]
mov ebp, dword [ecx + 0x2c]
mov eax, dword [ecx + 0x4c]
sub edi, ebx
mov ebx, dword [ecx + 0x28]
sub ebx, edx
sbb ebp, eax
mov eax, dword [esi + 0x3540]
mov eax, dword [eax + 0x5668]
sub eax, edi
cdq
cmp ebp, edx
jl 0x420756
jg 0x420750
cmp ebx, eax
jbe 0x420756
mov ebx, eax
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 0x58]
mov eax, dword [ecx]
push 0
add edx, edi
mov ecx, dword [eax + 8]
push ebx
push edx
push ecx
call sub.WSOCK32.dll_recv
mov ebx, eax
test ebx, ebx
jle 0x420894
mov edx, dword [esi + 0xf830]
cmp dword [edx + 0x5c], 0xffffffff
jne 0x42078f
mov ecx, esi
call fcn.00420550
test eax, eax
je 0x420894
mov ecx, dword [esi + 0xf830]
mov eax, ebx
cdq
add edi, ebx
mov ebp, edx
mov edx, dword [ecx + 0x48]
mov ebx, eax
mov eax, dword [ecx + 0x4c]
add edx, ebx
adc eax, ebp
cmp eax, dword [ecx + 0x2c]
jg 0x4207c2
jl 0x4207b4
cmp edx, dword [ecx + 0x28]
jae 0x4207c2
mov eax, dword [esi + 0x3540]
cmp dword [eax + 0x5668], edi
jne 0x420804
mov eax, dword [ecx + 0x58]
mov ecx, dword [ecx + 0x5c]
lea edx, [esp + 0x10]
push 0
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x420884
cmp edi, dword [esp + 0x10]
jne 0x420884
mov ecx, dword [esi + 0xf830]
mov eax, edi
cdq
mov edi, dword [ecx + 0x50]
add edi, eax
mov dword [ecx + 0x50], edi
mov eax, dword [ecx + 0x54]
adc eax, edx
mov dword [ecx + 0x54], eax
mov eax, dword [esi + 0xf830]
mov edx, dword [eax + 0x48]
add edx, ebx
mov dword [eax + 0x48], edx
mov ecx, dword [eax + 0x4c]
adc ecx, ebp
mov dword [eax + 0x4c], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi + 0xf830]
mov ecx, dword [edx]
mov edx, eax
sub edx, dword [ecx + 0x20]
cmp edx, 0x3e8
jb 0x42084b
mov dword [ecx + 0x20], eax
mov eax, dword [esi + 0x20]
push 0
push 0
push 0x470
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov esi, dword [esi + 0xf830]
mov ecx, dword [esi + 0x4c]
mov eax, dword [esi + 0x2c]
cmp ecx, eax
jl 0x420877
jg 0x420867
mov edx, dword [esi + 0x48]
mov eax, dword [esi + 0x28]
cmp edx, eax
jb 0x420877
mov eax, dword [esi + 8]
neg eax
sbb eax, eax
add eax, 8
mov dword [esi + 0x90], eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
push 0
push 0
push 0x5e24b4
mov ecx, esi
call sub.MFC42.DLL_CWnd::MessageBoxA
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x4394d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x577f18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov eax, dword [esi + 0x20]
push eax
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
push eax
lea ecx, [esp + 0x30]
call fcn.00572dba
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x50], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x20]
push edx
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call sub.MFC42.DLL_CWnd::ScreenToClient
mov eax, dword [esi + 0xf8]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x439606
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0xf4]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub ecx, edi
push eax
push ecx
push edx
lea edi, [esi + 0x104]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
test edi, edi
je 0x4395b2
mov edi, dword [edi + 4]
mov eax, dword [esi + 0xf8]
push edi
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x10c], eax
mov eax, dword [esp + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
sub edx, eax
lea eax, [esp + 0x2c]
push 0xcc0020
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
push edi
push eax
push ecx
mov ecx, dword [esi + 0xf8]
push edx
push 0
push 0
push ecx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0xf4]
sub ecx, edi
test edx, edx
je 0x439627
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push 0
mov eax, dword [edx + 4]
push 0
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call sub.MFC42.DLL_CClientDC::CClientDC
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x439fc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x577fa7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x593718
mov dword [esi + 4], ebx
lea ebp, [esi + 0x1c]
mov dword [esp + 0x170], ebx
mov ecx, ebp
call sub.MFC42.DLL_CImageList::CImageList
lea ecx, [esi + 0x24]
mov byte [esp + 0x170], 1
call sub.MFC42.DLL_CImageList::CImageList
mov ecx, 0x11
mov eax, 0xa
mov dword [esi + 0x68], 0x593b38
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ecx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], 0x593b24
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0x9c], eax
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa0], 0x5916cc
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 7
mov byte [esp + 0x174], 5
mov dword [esi], 0x593b08
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x14]
push ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x154
push eax
push ebx
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0xb4]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.0043ac40
push 0xf
push 5
push 9
push 0x10
push 0x10
mov ecx, ebp
call sub.MFC42.DLL_CImageList::Create
mov eax, 0x10
mov dword [esi + 0xa8], ebx
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, dword [esp + 0x168]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x43c080
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x34
push ebx
mov ebx, dword [esp + 0x40]
push ebp
mov ebp, dword [esp + 0x40]
push esi
push edi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x43c0b0
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x34
ret
xor eax, eax
mov ecx, 0x50
push eax
push 0x2000000
push 3
push eax
mov edi, ebx
push 1
push 0x40000000
push ebp
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x43c10c
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x43c10c
mov ecx, 7
lea esi, [esp + 0x10]
mov edi, ebx
mov eax, 1
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
pop edi
pop esi
setne cl
mov dword [ebx], eax
pop ebp
mov eax, ecx
pop ebx
add esp, 0x34
ret
Function at 0x43f610
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x578584
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea edi, [esi + 0xc]
mov ecx, edi
call sub.MFC42.DLL_CString::CString_5
lea ebx, [esi + 0x10]
mov dword [esp + 0x1c], 0
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_5
lea ebp, [esi + 0x14]
mov byte [esp + 0x1c], 1
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x18]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x1c]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x20]
mov byte [esp + 0x1c], 4
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x24]
mov byte [esp + 0x1c], 5
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x28]
mov byte [esp + 0x1c], 6
call sub.MFC42.DLL_CString::CString_5
push sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString_5
push 0x64
lea eax, [esi + 0x30]
push 4
push eax
mov byte [esp + 0x30], 7
call fcn.00573daf
push sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString_5
push 0x64
lea ecx, [esi + 0x1c0]
push 4
push ecx
mov byte [esp + 0x30], 8
call fcn.00573daf
lea ecx, [esi + 0x350]
mov byte [esp + 0x1c], 9
call sub.MFC42.DLL_CString::CString_5
xor eax, eax
push 0x5f3788
lea ecx, [esi + 0x18]
mov byte [esp + 0x20], 0xa
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call sub.MFC42.DLL_CString::operator_2
push 0x5f3788
lea ecx, [esi + 0x1c]
call sub.MFC42.DLL_CString::operator_2
push 0x5f3788
mov ecx, edi
call sub.MFC42.DLL_CString::operator_2
push 0x5f3788
mov ecx, ebx
call sub.MFC42.DLL_CString::operator_2
push 0x5f3788
mov ecx, ebp
call sub.MFC42.DLL_CString::operator_2
push 0x5f3788
lea ecx, [esi + 0x350]
call sub.MFC42.DLL_CString::operator_2
push str.Mozilla
lea ecx, [esi + 0x20]
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x43f770
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x578624
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
lea edi, [esi + 0x18]
mov dword [esp + 0x28], 0xa
mov ecx, edi
call sub.MFC42.DLL_CString::Empty
lea ebx, [esi + 0x1c]
mov ecx, ebx
call sub.MFC42.DLL_CString::Empty
lea ebp, [esi + 0xc]
mov ecx, ebp
call sub.MFC42.DLL_CString::Empty
lea ecx, [esi + 0x10]
mov dword [esp + 0x18], ecx
call sub.MFC42.DLL_CString::Empty
lea ecx, [esi + 0x14]
mov dword [esp + 0x14], ecx
call sub.MFC42.DLL_CString::Empty
lea ecx, [esi + 0x350]
call sub.MFC42.DLL_CString::Empty
lea ecx, [esi + 0x20]
mov dword [esp + 0x10], ecx
call sub.MFC42.DLL_CString::Empty
lea ecx, [esi + 0x350]
mov byte [esp + 0x28], 9
call sub.MFC42.DLL_CString::CString
push sub.MFC42.DLL_CString::CString
push 0x64
lea eax, [esi + 0x1c0]
push 4
push eax
mov byte [esp + 0x38], 8
call fcn.00573a2e
push sub.MFC42.DLL_CString::CString
push 0x64
lea ecx, [esi + 0x30]
push 4
push ecx
mov byte [esp + 0x38], 7
call fcn.00573a2e
lea ecx, [esi + 0x28]
mov byte [esp + 0x28], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [esp + 0x28], 5
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x28], 4
call sub.MFC42.DLL_CString::CString
mov ecx, ebx
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_CString::CString
mov ecx, edi
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
mov ecx, ebp
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
mov ecx, dword [esp + 0x18]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret