joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421bf0
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x1900c
call fcn.00432fa0
push esi
lea eax, [esp + 8]
push 0
mov esi, ecx
push eax
mov dword [esp + 0x10], 0
call fcn.0041ad70
lea ecx, [esp + 4]
push 0
push ecx
mov ecx, esi
call fcn.0041ad70
mov ecx, dword [esp + 4]
mov eax, 0x19000
cmp ecx, eax
jl 0x421c30
mov dword [esp + 4], eax
mov edx, dword [esp + 8]
mov ecx, dword [esi + 0x10]
push edx
call fcn.00411b60
mov esi, eax
test esi, esi
je 0x421c85
cmp dword [esi + 8], 1
je 0x421c85
mov byte [esp + 0xc], 0
mov eax, dword [esi + 4]
push 1
push 0
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea eax, [esp + 0x20]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x1c
lea ecx, [esp + 0xc]
mov dword [esp + 4], eax
mov byte [esp + eax + 0xc], 0
push ecx
jmp 0x421c8a
push 0x445e70
mov esi, dword [esp + 0x19018]
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov eax, esi
pop esi
add esp, 0x1900c
ret 4

Function at 0x421d70
Capabilities:
Access peb ldr_data
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4362f7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x10], 0
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_4
mov ebx, 1
lea ecx, [esp + 8]
mov dword [esp + 0x40], ebx
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 0xc]
push 0
push eax
mov ecx, esi
mov byte [esp + 0x48], 2
call fcn.0041c230
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push ecx
push 0
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
jne 0x421e1c
mov esi, dword [esp + 0x48]
lea eax, [esp + 8]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x10], ebx
lea ecx, [esp + 8]
mov byte [esp + 0x40], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 0
call sub.MFC42.DLL_CString::CString
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
mov ecx, dword [esp + 0xc]
push ebp
push edi
mov edi, dword [esp + 0x3c]
push 0x40
push 0x4422f0
push ecx
call dword [sym.imp.MSVCRT.dll__fsopen]
mov ebp, eax
add esp, 0xc
test ebp, ebp
je 0x421e7d
lea edx, [edi + 1]
push edx
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
test esi, esi
je 0x421e73
push ebp
push edi
push ebx
push esi
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esi + eax], 0
push esi
call sub.MFC42.DLL_CString::operator_2
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
push ebp
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov esi, dword [esp + 0x50]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x48], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x40]
pop edi
mov eax, esi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
Function at 0x421ed0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x436318
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 8]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x1c], 0
call fcn.0041ad70
lea ecx, [esp + 4]
push 0
push ecx
mov ecx, esi
call fcn.0041c230
mov edx, dword [esp + 8]
mov ecx, dword [esi + 0x10]
push edx
call fcn.00411b60
mov esi, eax
test esi, esi
je 0x421f94
mov eax, dword [esi + 8]
test eax, eax
je 0x421f94
mov eax, dword [esi + 4]
push edi
push 1
push 0
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x14]
push ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_fwrite]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.MSVCRT.dll_fflush]
add esp, 0x20
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
fld qword [0x439ed0]
pop edi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop esi
fld qword [0x439ee0]
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x421fc0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x436338
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 8]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x1c], 0
call fcn.0041ad70
lea ecx, [esp + 4]
push 0
push ecx
mov ecx, esi
call fcn.0041c230
test eax, eax
jne 0x42201a
push 0x445e70
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 8]
mov ecx, dword [esi + 0x10]
push edx
call fcn.00411b60
mov esi, eax
test esi, esi
je 0x4220a7
mov eax, dword [esi + 8]
test eax, eax
je 0x4220a7
mov eax, dword [esi + 4]
push edi
push 1
push 0
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x14]
push ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [sym.imp.MSVCRT.dll_fwrite]
push 1
not ecx
dec ecx
push ecx
push edx
call edi
mov edx, dword [esi + 4]
push edx
push 1
push 2
push 0x4429d4
call edi
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.MSVCRT.dll_fflush]
add esp, 0x30
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
fld qword [0x439ed0]
pop edi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop esi
fld qword [0x439ee0]
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4220d0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x436360
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 8]
push 0
push eax
mov ecx, esi
mov byte [esp + 0x1c], 1
call fcn.0041c230
lea ecx, [esp + 4]
push 0
push ecx
mov ecx, esi
call fcn.0041c230
mov edx, dword [esp + 8]
push 0x10
push 0x44445c
push edx
call dword [sym.imp.MSVCRT.dll__fsopen]
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x422175
lea ecx, [esp + 4]
mov byte [esp + 0x14], al
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
fld qword [0x439ee0]
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov edx, dword [esp + 4]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop edi
fld qword [0x439ed0]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x422300
Capabilities:
Read file on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43637b
push eax
mov eax, 0x19018
mov dword fs:[0], esp
call fcn.00432fa0
push ebp
push esi
mov esi, ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_4
xor ebp, ebp
lea eax, [esp + 0x10]
push ebp
push eax
mov ecx, esi
mov dword [esp + 0x19030], ebp
mov dword [esp + 0x14], ebp
call fcn.0041ad70
lea ecx, [esp + 8]
push ebp
push ecx
mov ecx, esi
call fcn.0041c230
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x10]
push edx
call fcn.00411b60
mov esi, eax
cmp esi, ebp
je 0x422429
cmp dword [esi + 8], 1
je 0x422429
mov eax, dword [esi + 4]
push ebx
push edi
push eax
call dword [sym.imp.MSVCRT.dll_ftell]
mov ecx, dword [esi + 4]
mov dword [esp + 0x20], eax
add esp, 4
test byte [ecx + 0xc], 0x10
jne 0x4223fc
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
mov byte [esp + 0x24], 0
mov edx, dword [esi + 4]
push edx
push 0x19000
lea eax, [esp + 0x2c]
push 1
push eax
call ebx
mov edi, eax
add esp, 0x10
test edi, edi
mov byte [esp + edi + 0x24], 0
jle 0x4223d4
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_strstr]
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x4223df
mov eax, dword [esi + 4]
test byte [eax + 0xc], 0x10
je 0x422396
jmp 0x4223fc
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.MSVCRT.dll_ftell]
mov edx, ebp
lea ecx, [esp + 0x28]
sub edx, edi
add esp, 4
sub edx, ecx
add eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
pop edi
pop ebx
test byte [eax + 0xc], 0x10
je 0x422411
push eax
call dword [sym.imp.MSVCRT.dll_clearerr]
add esp, 4
test ebp, ebp
push 0
jne 0x42245a
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_fseek]
add esp, 0xc
lea ecx, [esp + 8]
mov dword [esp + 0x19028], 0xffffffff
call sub.MFC42.DLL_CString::CString
fld qword [0x439ee0]
pop esi
pop ebp
mov ecx, dword [esp + 0x19018]
mov dword fs:[0], ecx
add esp, 0x19024
ret
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 4]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_fseek]
fild dword [esp + 0x18]
add esp, 0xc
lea ecx, [esp + 8]
mov dword [esp + 0x19028], 0xffffffff
fstp qword [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x19020]
pop esi
fld qword [esp + 0x10]
pop ebp
mov dword fs:[0], ecx
add esp, 0x19024
ret
Function at 0x4224b0
Capabilities:
Access peb ldr_data
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x4363b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
push esi
mov esi, ecx
push 0x445e70
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString_3
push 0x445e70
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0xc]
push 0
push eax
mov ecx, esi
mov byte [esp + 0x34], 2
mov dword [esp + 0x18], 0
call fcn.0041c230
lea ecx, [esp + 0x10]
push 0
push ecx
mov ecx, esi
call fcn.0041ad70
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
push eax
call sub.MFC42.DLL_CString::GetBuffer
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x422654
push esi
call sub.MFC42.DLL_operatornew
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x422654
mov edx, dword [esp + 0xc]
push edi
push ebp
push esi
mov eax, dword [edx - 8]
push 0
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::GetBuffer
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x42264a
lea eax, [esp + 0x24]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0x44228c
push ebp
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x42264a
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0xc]
mov si, word [edx + 8]
mov dx, word [edx + 0xc]
shr eax, 0x10
shr ecx, 0x10
dec edi
cmp edi, 3
ja case.default.0x4225bd
jmp dword [edi*4 + 0x4226a0]
and eax, 0xffff
push eax
jmp 0x422609
and esi, 0xffff
lea eax, [esp + 0xc]
push esi
push 0x442d50
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x42264a
and ecx, 0xffff
push ecx
lea ecx, [esp + 0x10]
push 0x442d50
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x42264a
and edx, 0xffff
push edx
lea edx, [esp + 0x10]
push 0x442d50
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x42264a
and edx, 0xffff
and ecx, 0xffff
push edx
and esi, 0xffff
push ecx
and eax, 0xffff
push esi
push eax
lea eax, [esp + 0x1c]
push str._d._d._d._d
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x18
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
pop edi
mov esi, dword [esp + 0x34]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x18], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x422d60
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x436558
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 4]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x18], 0
call fcn.0041c230
mov ecx, dword [esp + 4]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
pop esi
mov dword [esp + 0xc], 0xffffffff
lea ecx, [esp]
je 0x422dd0
call sub.MFC42.DLL_CString::CString
fld qword [0x439ed0]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
fld qword [0x438b50]
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x422df0
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x436578
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 4]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x18], 0
call fcn.0041c230
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
pop esi
mov dword [esp + 0xc], 0xffffffff
lea ecx, [esp]
je 0x422e5e
call sub.MFC42.DLL_CString::CString
fld qword [0x439ed0]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
fld qword [0x438b50]
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x422e80
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4365b5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x408
push 0x445e70
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 8]
mov dword [esp + 0x410], 1
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x422ede
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::operator_2
push esi
mov esi, dword [esp + 0x41c]
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x414], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x40c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x414
ret 4

Function at 0x422f30
Capabilities:
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x4365c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 4]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x18], 0
call fcn.0041c230
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
pop esi
mov dword [esp + 0xc], 0xffffffff
lea ecx, [esp]
je 0x422f9e
call sub.MFC42.DLL_CString::CString
fld qword [0x439ed0]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
fld qword [0x438b50]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x423120
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x436638
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 0xc]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x30], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.0041c230
mov ecx, dword [esp + 0xc]
mov edi, dword [ecx - 8]
cmp edi, 0x20
jle 0x4231a7
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
fld qword [0x439ee0]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::MakeReverse
xor esi, esi
test edi, edi
mov dword [esp + 0x10], esi
jle 0x4231e4
mov ebx, dword [esp + 0xc]
cmp byte [esi + ebx], 0x31
jne 0x4231db
fld qword [0x439ee8]
fild dword [esp + 0x10]
call sub.MSVCRT.dll__CIpow
fadd qword [esp + 0x14]
fstp qword [esp + 0x14]
inc esi
cmp esi, edi
mov dword [esp + 0x10], esi
jl 0x4231be
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
fld qword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423310
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4366b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 0x445e70
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], ebx
call sub.MFC42.DLL_CString::CString_3
push 0x445e70
lea ecx, [esp + 0x18]
mov dword [esp + 0x154], 1
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [edi + 0xc]
xor esi, esi
cmp eax, ebx
mov byte [esp + 0x150], 2
je 0x423379
mov esi, dword [eax + 0x20]
lea eax, [esp + 0x14]
push ebx
push eax
mov ecx, edi
call fcn.0041c230
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
lea edx, [esp + 0x18]
push edx
push ebx
push ebx
push 0x11
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderLocation]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x40]
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0x41
mov dword [esp + 0x38], ebx
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderA]
mov esi, eax
cmp esi, ebx
je 0x423403
lea ecx, [esp + 0x40]
push ecx
push esi
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x4233f8
lea edx, [esp + 0x40]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 0xc]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov esi, dword [esp + 0x158]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x150], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x150], bl
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x148]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x148
ret 4

Function at 0x423510
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4366c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 4]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x18], 0
call fcn.0041c230
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or ecx, 0xffffffff
pop esi
cmp eax, ecx
jne 0x42357d
mov dword [esp + 0xc], ecx
lea ecx, [esp]
call sub.MFC42.DLL_CString::CString
fld qword [0x439ee0]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
and eax, 0x10
mov dword [esp + 0xc], ecx
cmp al, 0x10
lea ecx, [esp]
jne 0x4235a6
call sub.MFC42.DLL_CString::CString
fld qword [0x439ed0]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
fld qword [0x438b50]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x423870
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x436728
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 4]
push 0
push eax
mov ecx, esi
mov dword [esp + 0x18], 0
call fcn.0041c230
mov ecx, dword [esp + 4]
push 0
push 2
push ecx
call fcn.00411c20
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4238fa
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4238fa
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
fld qword [0x439ed0]
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
fld qword [0x438b50]
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x423cd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4367bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], ebx
call sub.MFC42.DLL_CString::CString_4
push 0x445e70
lea ecx, [esp + 0x1c]
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 0x14]
push ebx
push eax
mov ecx, esi
mov byte [esp + 0x34], 3
mov dword [esp + 0x10], ebx
call fcn.0041c230
lea ecx, [esp + 0x10]
push ebx
push ecx
mov ecx, esi
call fcn.0041ad70
lea edx, [esp + 0xc]
push ebx
push edx
mov ecx, esi
call fcn.0041c230
test eax, eax
jne 0x423d61
push 0x4429d8
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x14]
push edi
dec ebp
push ebx
mov dword [esp + 0x1c], ebp
mov esi, dword [eax - 8]
movsx eax, byte [eax]
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], eax
call sub.MFC42.DLL_CString::GetBuffer
mov cl, byte [eax]
test cl, cl
je 0x423dfb
cmp dword [esp + 0x18], ebx
jl 0x423dfb
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
cmp edx, edi
jne 0x423da7
inc edx
mov ebx, eax
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x24]
movsx ecx, cl
cmp ecx, edx
jne 0x423de9
cmp esi, 1
jle 0x423de1
mov edi, eax
mov ecx, 1
mov dl, byte [eax + 1]
inc eax
test dl, dl
je 0x423dd0
cmp dl, byte [ecx + ebp]
jne 0x423dd0
inc ecx
cmp ecx, esi
jl 0x423dbe
cmp ecx, esi
jne 0x423dda
test ebx, ebx
jne 0x423df3
jmp 0x423de5
cmp byte [eax], 0
je 0x423dfb
jmp 0x423de9
test ebx, ebx
jne 0x423df8
inc dword [esp + 0x10]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x423d94
jmp 0x423dfb
mov byte [edi], 0
jmp 0x423dfb
mov byte [eax], 0
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::ReleaseBuffer
pop edi
pop ebp
test ebx, ebx
je 0x423e16
push ebx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_2
mov esi, dword [esp + 0x34]
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x20], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 4