joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4aeb86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x14]
call fcn.004955a0
mov al, byte [esp + 0x20]
xor ebx, ebx
push pe_nt_image_headers32
mov dword [esp + 0x1c], ebx
mov byte [esi + 0x28], al
call sub.MFC42.DLL_operatornew
mov dword [eax], eax
mov dword [eax + 4], eax
add esp, 4
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ebx
lea edi, [esi + 0x38]
push ebx
mov ecx, edi
mov byte [esp + 0x1c], 1
call fcn.004ac2ee
mov dword [edi], vtable.CCriticalSection.0
add edi, 8
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [esp + 0x20]
mov dword [esi], vtable.CCommandQueue.0
mov dword [esi + 0x24], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x10], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 4], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x41cef0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4aee95
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
lea ecx, [esi + 0xb0]
mov dword [esp + 0x18], 4
call fcn.004534f0
lea edi, [esi + 0x48]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 7
call fcn.004534f0
lea ecx, [edi + 8]
mov byte [esp + 0x18], 6
call fcn.004966f0
lea ecx, [edi + 4]
mov byte [esp + 0x18], 5
call sub.MFC42.DLL_CString::CString
mov ecx, edi
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [esp + 0x18], 2
call fcn.004966f0
lea ecx, [esi + 0x10]
mov byte [esp + 0x18], 1
call fcn.004966f0
lea ecx, [esi + 8]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 4]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x41e4c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4af537
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
mov esi, ecx
push ebp
mov dword [esp + 0x14], esi
call sub.MFC42.DLL_CString::CString_1
lea eax, [ebp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString_1
lea ecx, [ebp + 8]
mov byte [esp + 0x1c], 1
push ecx
lea ecx, [esi + 8]
call fcn.004965a0
mov edx, dword [ebp + 0x24]
lea edi, [ebp + 0x30]
mov dword [esi + 0x24], edx
mov eax, dword [ebp + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [ebp + 0x2c]
lea ebx, [esi + 0x30]
mov dword [esi + 0x2c], ecx
push edi
mov ecx, ebx
mov byte [esp + 0x20], 2
mov dword [esp + 0x28], ebx
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [edi + 4]
lea eax, [edi + 8]
push eax
lea ecx, [ebx + 8]
mov byte [esp + 0x20], 3
mov dword [ebx + 4], edx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [edi + 0xc]
mov byte [esp + 0x1c], 4
push ecx
lea ecx, [ebx + 0xc]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [edi + 0x10]
lea eax, [edi + 0x14]
push eax
lea ecx, [ebx + 0x14]
mov byte [esp + 0x20], 5
mov dword [ebx + 0x10], edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [edi + 0x18]
lea eax, [edi + 0x20]
mov dword [ebx + 0x18], ecx
mov edx, dword [edi + 0x1c]
push eax
lea ecx, [ebx + 0x20]
mov byte [esp + 0x20], 6
mov dword [ebx + 0x1c], edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [edi + 0x24]
mov dword [ebx + 0x24], ecx
mov edx, dword [edi + 0x28]
mov dword [ebx + 0x28], edx
mov eax, dword [ebp + 0x5c]
mov dword [esi + 0x5c], eax
mov ecx, dword [ebp + 0x60]
mov dword [esi + 0x60], ecx
mov edx, dword [ebp + 0x64]
mov dword [esi + 0x64], edx
mov eax, esi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 8]
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x423da0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b12da
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 0x40]
mov dword [esi], vtable.CControlSocket.1.0
mov dword [edi], vtable.CControlSocket.0
push str.CControlSocket__
push 8
push esi
push 0x48
push ecx
mov dword [esp + 0x30], 2
mov ecx, esp
mov dword [esp + 0x24], esp
push str.E:uworkflow8uftp3.68uftp_sourceControlSocket.cpp
call fcn.004ac198
push edi
call fcn.00410f50
add esp, 0x18
mov ecx, esi
call fcn.004240c0
lea ecx, [esi + 0x78]
mov byte [esp + 0x1c], 1
call fcn.004534f0
mov ecx, esi
mov byte [esp + 0x1c], 0
neg ecx
sbb ecx, ecx
and ecx, edi
call fcn.00410da0
mov ecx, esi
mov dword [esp + 0x1c], 0xffffffff
call fcn.004165b0
mov ecx, dword [esp + 0x14]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x18
ret

Function at 0x424550
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b13b8
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
push eax
call fcn.00474d10
add esp, 4
cmp eax, 1
jne 0x4245ad
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00474d10
add esp, 4
cdq
push 0
push 0x400
push edx
push eax
call fcn.004acd60
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0x10
cmp eax, 2
jne 0x424653
push 1
push 0x4e7698
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CSingleLock::CSingleLock
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x20], 0
xor esi, esi
mov eax, dword [edi + 4]
test eax, eax
je 0x424642
mov edx, dword [edi + 8]
sub edx, eax
sar edx, 2
cmp esi, edx
jae 0x424642
mov ecx, dword [eax + esi*4]
push ebx
call fcn.004a4760
test al, al
je 0x424605
mov eax, dword [edi + 4]
mov eax, dword [eax + esi*4]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x424608
inc esi
jmp 0x4245d8
mov edi, dword [edi + 4]
mov dword [esp + 0x20], 0xffffffff
mov ecx, dword [edi + esi*4]
mov eax, dword [ecx + 0x1c]
lea ecx, [esp + 0xc]
shl eax, 0xa
cdq
mov esi, eax
mov edi, edx
call sub.MFC42.DLL_CSingleLock::Unlock
mov edx, edi
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 0x10
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CSingleLock::Unlock
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov eax, 0xd4a51000
mov edx, pe_nt_image_headers32
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x10
Function at 0x424f00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b143f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x30]
mov edi, dword [str.8UFTPLAIANNAN1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ]
or ecx, 0xffffffff
mov dword [esp + 0x24], 1
mov edx, dword [eax - 8]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
mov eax, edx
dec ecx
xor edx, edx
div ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], edx
call sub.MFC42.DLL_CString::CString_2
mov edi, dword [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
mov ebp, edi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [esp + 0x24], 2
je 0x424fdf
push ebx
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
mov ebx, dword [str.8UFTPLAIANNAN1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
mov edx, dword [esp + 0x18]
mov byte [esp + 0x28], 3
repne scasb al, byte es:[edi]
not ecx
lea eax, [esi + edx]
dec ecx
xor edx, edx
div ecx
xor eax, eax
xor ecx, ecx
mov cl, byte [esi + ebp]
mov al, byte [edx + ebx]
mov edx, dword [esp + 0x14]
xor eax, ecx
push eax
push edx
lea eax, [esp + 0x18]
push str._s_03d
push eax
call sub.MFC42.DLL_CString::Format_1
add esp, 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
inc esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp esi, ecx
jb 0x424f6b
pop ebx
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x18], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x42a710
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b1f20
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
lea eax, [esp + 0x14]
lea ecx, [esi + 0x26c]
push eax
mov dword [esp + 0x10], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esi + 0x270]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x280], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x278], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x27c], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x28c], ecx
lea ecx, [esp + 0x14]
mov dword [esi + 0x284], edx
mov dword [esi + 0x288], eax
mov byte [esp + 0xc], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov dword [esp + 0xc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
pop esi
mov dword fs:[0], ecx
add esp, 0xc
ret 0x20

Function at 0x42b160
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x42b186
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
ret 4

Function at 0x42b480
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b211e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 8]
mov ecx, edi
mov dword [esp + 0xc], edi
call sub.MFC42.DLL_CString::CString_2
xor ebx, ebx
lea ecx, [edi + 4]
mov dword [esp + 0x18], ebx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [edi + 8]
mov byte [esp + 0x18], 1
call fcn.00495c80
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 2
call fcn.00453470
push str.8uftpaApiReplyMessage8EF2E328_685E_4815_A9B9_823512F8381D
mov dword [esi], vtable.CFileZillaApi.0
mov dword [esi + 0x80], ebx
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x7c], eax
mov dword [esi + 0x74], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x78], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4454b0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b5590
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov eax, dword [esp + 0x28]
je 0x4454e3
cmp eax, ebx
jne 0x4454eb
jmp 0x4455ca
cmp eax, ebx
jne 0x4455ff
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov al, byte [ecx + 0x15]
cmp al, bl
jne 0x445503
cmp byte [edx + 0x15], bl
jne 0x4455ca
cmp al, bl
je 0x445514
cmp byte [edx + 0x15], bl
je 0x4455ff
cmp al, bl
jne 0x445541
cmp byte [edx + 0x15], bl
jne 0x445541
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
mov byte [esp + 0x14], bl
test eax, eax
lea ecx, [esp + 0x2c]
jge 0x445607
jmp 0x4455d2
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
mov edi, dword [edx + 4]
lea eax, [eax + eax*2]
lea esi, [esi + eax*4]
mov eax, esi
shl eax, 5
sub eax, esi
mov esi, dword [ecx + 8]
add eax, esi
lea eax, [eax + eax*4]
lea esi, [eax + eax*8]
mov eax, dword [edx]
shl esi, 5
lea eax, [eax + eax*2]
lea edi, [edi + eax*4]
mov eax, edi
shl eax, 5
sub eax, edi
mov edi, dword [edx + 8]
add eax, edi
lea eax, [eax + eax*4]
lea eax, [eax + eax*8]
shl eax, 5
cmp byte [ecx + 0x14], bl
je 0x445597
mov edi, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
lea edi, [edi + edi*2]
lea edi, [edi + edi*4]
lea ecx, [ecx + edi*4]
add esi, ecx
cmp byte [edx + 0x14], bl
je 0x4455ad
mov ecx, dword [edx + 0xc]
mov edx, dword [edx + 0x10]
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*4]
add eax, ecx
cmp esi, eax
jb 0x4455ca
jne 0x4455ff
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jge 0x4455ff
mov byte [esp + 0x14], bl
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov byte [esp + 0x14], bl
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret
Function at 0x445640
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b55c0
push eax
mov dword fs:[0], esp
push ebx
push esi
push edi
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], 1
test eax, eax
mov eax, dword [esp + 0x28]
je 0x445675
test eax, eax
jne 0x44567d
jmp 0x445808
test eax, eax
jne 0x4457bf
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov al, byte [ecx + 0x15]
test al, al
jne 0x445697
mov bl, byte [edx + 0x15]
test bl, bl
jne 0x445808
test al, al
je 0x4456aa
mov bl, byte [edx + 0x15]
test bl, bl
je 0x4457bf
test al, al
jne 0x4456da
mov al, byte [edx + 0x15]
test al, al
jne 0x4456da
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
mov byte [esp + 0x14], 0
test eax, eax
lea ecx, [esp + 0x2c]
jle 0x445811
jmp 0x4457c8
mov eax, dword [ecx]
mov esi, dword [ecx + 4]
mov edi, dword [edx + 4]
mov ebx, dword [edx + 8]
lea eax, [eax + eax*2]
lea esi, [esi + eax*4]
mov eax, esi
shl eax, 5
sub eax, esi
mov esi, dword [ecx + 8]
add eax, esi
lea eax, [eax + eax*4]
lea esi, [eax + eax*8]
mov eax, dword [edx]
shl esi, 5
lea eax, [eax + eax*2]
lea edi, [edi + eax*4]
mov eax, edi
shl eax, 5
sub eax, edi
add eax, ebx
mov bl, byte [ecx + 0x14]
lea eax, [eax + eax*4]
lea eax, [eax + eax*8]
shl eax, 5
test bl, bl
je 0x445732
mov edi, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
lea edi, [edi + edi*2]
lea edi, [edi + edi*4]
lea ecx, [ecx + edi*4]
add esi, ecx
mov cl, byte [edx + 0x14]
test cl, cl
je 0x44574a
mov ecx, dword [edx + 0xc]
mov edx, dword [edx + 0x10]
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*4]
add eax, ecx
cmp esi, eax
ja 0x4457bf
jne 0x445808
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x24]
push edx
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x30]
lea ecx, [esp + 0x28]
push eax
mov byte [esp + 0x18], 2
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x14], 3
call sub.MFC42.DLL_CString::MakeLower
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::MakeLower
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
mov byte [esp + 0x14], 2
test eax, eax
lea ecx, [esp + 0x28]
jle 0x4457f5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x14], 1
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x14], 0
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret
Function at 0x455bf0
Capabilities:
Get file system object information
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x4b716b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x168
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004ac252
mov eax, dword [esi + 0x64]
lea ecx, [esp + 0xc]
neg eax
sbb eax, eax
mov dword [esp + 0x174], 0
and al, 1
add eax, 0x100
or ah, 0x40
push eax
push 0x160
push ecx
push 0
push 0x4e3868
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push eax
lea ecx, [esp + 8]
call sub.MFC42.DLL_CImageList::Attach
call sub.MFC42.DLL_AfxGetModuleState
push 0xc29
push 0xe
push 0xc29
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov edx, dword [esp + 8]
push eax
push 0xffffffffffffffff
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov dword [esi + 0xb4], eax
mov eax, dword [esi + 0x64]
mov edx, dword [esp + 8]
xor ecx, ecx
test eax, eax
lea eax, [esp + 4]
setne cl
neg eax
sbb eax, eax
and eax, edx
push eax
mov eax, dword [esi + 0x20]
push ecx
push 0x1003
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call sub.MFC42.DLL_CImageList::FromHandle
lea ecx, [esp + 4]
call sub.MFC42.DLL_CImageList::Detach
lea ecx, [esp + 4]
mov dword [esp + 0x174], 0xffffffff
call sub.MFC42.DLL_CImageList::CImageList
mov ecx, dword [esp + 0x16c]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x174
ret
Function at 0x457c10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4b7378
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 2
mov eax, dword [esi + 0x20]
push 0xffffffffffffffff
push 0x100c
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, esi
lea edi, [eax + 1]
call sub.MFC42.DLL_CWnd::GetParentFrame
push eax
push 0x4c4028
call sub.MFC42.DLL_AfxDynamicDownCast
add esp, 8
mov dword [esp + 0x18], eax
test edi, edi
je 0x457de7
jmp 0x457c6b
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 0x20]
dec edi
push 2
push edi
push 0x100c
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
inc eax
test edi, edi
mov dword [esp + 0x10], eax
je 0x457ddb
mov eax, dword [esi + 0xb0]
lea ebx, [esi + 0xb0]
push 0x4e6998
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x457ddb
mov eax, dword [esi + 0x74]
push 0
mov ebp, dword [eax + edi*4]
mov eax, dword [esi + 0x48]
mov edx, ebp
shl edx, 5
mov ecx, dword [edx + eax + 8]
test ecx, ecx
je 0x457d40
push ecx
lea edi, [esi + 0x44]
mov ebx, esp
mov dword [esp + 0x24], esp
push 0x4e01dc
push ebp
mov ecx, edi
call fcn.0045dc30
push eax
push ebx
call sub.MFC42.DLL_operator_3
push ebp
mov ecx, edi
mov dword [esp + 0x60], 0
call fcn.0045dc30
push eax
lea eax, [esi + 0xb0]
push eax
lea eax, [esp + 0x24]
push eax
call sub.MFC42.DLL_operator_4
push ecx
mov byte [esp + 0x60], 1
mov ecx, esp
mov dword [esp + 0x2c], esp
push str..
push eax
push ecx
call sub.MFC42.DLL_operator_3
mov ecx, esi
mov byte [esp + 0x60], 2
call fcn.004584a0
lea ecx, [esp + 0x14]
mov dword [esp + 0x54], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x457ddb
push 0
push ecx
lea edx, [esi + 0x6c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call sub.MFC42.DLL_CString::CString_1
push ecx
lea eax, [esi + 0x68]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov dword [esp + 0x68], 3
call sub.MFC42.DLL_CString::CString_1
push 0
lea ecx, [esp + 0x44]
mov byte [esp + 0x68], 4
call fcn.00495c80
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push ebx
mov byte [esp + 0x74], 5
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x74], 6
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x4e6998
call fcn.004ac198
push ecx
mov byte [esp + 0x78], 7
mov ecx, esp
mov dword [esp + 0x50], esp
push 0
push edi
push ecx
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::GetItemText
mov ecx, dword [esp + 0x3c]
push 0
mov byte [esp + 0x7c], 8
call fcn.00461a10
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], 0xffffffff
call fcn.004966f0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x457c67
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x48
ret
Function at 0x45a530
Capabilities:
Get disk information
Get disk size
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4b776c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebp
push esi
push edi
mov edi, ecx
push 0x4e6998
mov dword [esp + 0x14], edi
lea ecx, [edi + 0xb0]
call sub.MFC42.DLL_CString::operator
lea eax, [esp + 0x40]
push eax
push 0x80
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
mov al, byte [esp + 0x40]
xor ebp, ebp
test al, al
lea esi, [esp + 0x40]
je 0x45a6b1
push ebx
lea ebx, [edi + 0x44]
push esi
lea ecx, [esp + 0x14]
call fcn.004ac198
lea ecx, [esp + 0x1c]
mov dword [esp + 0xcc], 0
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x20]
mov byte [esp + 0xcc], 1
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x38], 0xffffffff
push 0x5c
lea ecx, [esp + 0x14]
mov byte [esp + 0xd0], 2
call sub.MFC42.DLL_CString::TrimRight_2
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::MakeLower
lea edx, [esp + 0x10]
lea ecx, [esp + 0x20]
push edx
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x40]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x45a61f
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x2c], edx
jmp 0x45a626
or eax, 0xffffffff
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 8]
push ecx
push 1
push eax
mov ecx, ebx
mov dword [esp + 0x30], 1
call fcn.0045dd30
mov eax, dword [edi + 0x78]
lea ecx, [edi + 0x70]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ebp
push edx
push 1
push eax
call fcn.0047c020
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
inc ebp
lea esi, [esi + ecx + 1]
lea ecx, [esp + 0x20]
mov byte [esp + 0xcc], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0xcc], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0xcc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, byte [esi]
mov edi, dword [esp + 0x14]
test al, al
jne 0x45a58a
pop ebx
mov eax, dword [edi + 0x20]
push 0
push ebp
push 0x102f
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [edi + 0x94]
mov edx, dword [edi + 0x90]
push ecx
push edx
mov ecx, edi
call fcn.00456eb0
mov ecx, edi
call fcn.0045cf40
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0xc0
ret