joyce8/EMBER2024-capa huggingface dataset:
Function at 0x625c2490
Capabilities:
Enumerate pe sections

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x78
mov eax, dword [ecx]
mov ebx, dword [ecx + 0x10]
mov esi, dword [ecx + 0x14]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x34], ebx
mov edi, dword [ecx + 0x20]
mov dword [ebp - 0x30], eax
mov ebx, dword [ecx + 0x18]
mov dword [ebp - 0x38], esi
mov eax, dword [ecx + 8]
mov esi, dword [ecx + 0x1c]
test byte [0x625d3018], 8
jne 0x625c2550
lea eax, [ebp - 0x1c]
mov dword [esp], 1
mov dword [esp + 4], eax
call sym._get_typeinfo
mov edx, eax
test eax, eax
js 0x625c2537
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x38]
mov ecx, dword [edx]
mov dword [esp + 0x10], eax
movzx eax, word [ebp - 0x34]
mov dword [esp], edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x18], esi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x14], ebx
mov dword [esp + 4], eax
call dword [ecx + 0x2c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
sub esp, 0x20
mov ecx, dword [eax]
mov dword [esp], eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x2c]
sub esp, 4
lea esp, [ebp - 0x10]
mov eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x24
movzx ecx, word [ebp - 0x34]
mov dword [ebp - 0x3c], ecx
test eax, eax
je 0x625c2650
mov ecx, eax
mov dword [ebp - 0x40], edx
shr ecx, 0x10
je 0x625c2630
movzx ecx, byte [eax + 0xf]
mov dword [esp + 0x2c], ecx
movzx ecx, byte [eax + 0xe]
mov dword [esp + 0x28], ecx
movzx ecx, byte [eax + 0xd]
mov dword [esp + 0x24], ecx
movzx ecx, byte [eax + 0xc]
mov dword [esp + 0x20], ecx
movzx ecx, byte [eax + 0xb]
mov dword [esp + 0x1c], ecx
movzx ecx, byte [eax + 0xa]
mov dword [esp + 0x18], ecx
movzx ecx, byte [eax + 9]
mov dword [esp + 0x14], ecx
movzx ecx, byte [eax + 8]
mov dword [esp + 0x10], ecx
movzx ecx, word [eax + 6]
mov dword [esp + 0xc], ecx
movzx ecx, word [eax + 4]
mov dword [esp + 8], ecx
mov eax, dword [eax]
mov dword [esp], 0x625d50a4
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0x30], edi
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x625d50f4
mov dword [esp + 8], str.dictionary_Invoke
mov dword [esp + 4], 0x625d3018
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x625c24d3
movzx eax, ax
mov dword [esp], 0x625d5092
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf
mov edx, dword [ebp - 0x40]
jmp 0x625c25d2
mov eax, section..rdata
jmp 0x625c25d2
Function at 0x625c4260
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
mov esi, eax
xor eax, eax
push ebx
mov ebx, edx
lea edx, [ebp - 0x220]
sub esp, 0x23c
lea esi, [esi]
movzx ecx, word [esi + eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x625c4280
cmp word [ebp - 0x220], 0
mov esi, dword [sym.imp.ucrtbase.dll_wcscat]
je 0x625c42d0
mov eax, edx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x625c42a8
mov ecx, eax
mov esi, dword [sym.imp.ucrtbase.dll_wcscat]
sub ecx, edx
sar ecx, 1
cmp eax, edx
je 0x625c42d0
cmp word [ebp + ecx*2 - 0x222], 0x5c
jne 0x625c4378
mov dword [esp], edx
mov dword [esp + 4], 0x625d5dd0
call esi
lea edx, [ebp - 0x220]
mov dword [esp + 4], ebx
mov dword [esp], edx
call dword [sym.imp.kernel32.dll_FindFirstFileW]
sub esp, 8
mov esi, eax
cmp eax, 0xffffffff
je 0x625c43a8
lea eax, [ebx + 0x2c]
mov dword [ebp - 0x22c], eax
jmp 0x625c4328
test eax, eax
je 0x625c436b
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_FindNextFileW]
sub esp, 8
test eax, eax
je 0x625c4390
mov eax, dword [ebx]
and eax, 0x10
test edi, edi
jne 0x625c4310
test eax, eax
je 0x625c4314
mov eax, dword [ebp - 0x22c]
mov dword [esp + 4], 0x625d5dd4
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x625c4314
mov eax, dword [ebp - 0x22c]
mov dword [esp + 4], 0x625d5dda
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcscmp]
test eax, eax
je 0x625c4314
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], edx
mov dword [esp + 4], 0x625d5dcc
call esi
lea edx, [ebp - 0x220]
jmp 0x625c42d0
mov dword [esp], esi
xor esi, esi
call dword [sym.imp.kernel32.dll_FindClose]
mov eax, esi
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
xor esi, esi
jmp 0x625c436b

Function at 0x625c4690
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x20
mov ebx, dword [ebp + 0xc]
test byte [0x625d3028], 8
jne 0x625c4728
mov dword [ebx], 0
mov dword [esp], 0x1c
call dword [sym.imp.ucrtbase.dll_malloc]
mov esi, eax
test eax, eax
je 0x625c475c
mov dword [eax + 0xc], sym._drivecoll_QueryInterface_12
mov dword [eax + 0x10], 1
call dword [sym.imp.kernel32.dll_GetLogicalDrives]
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], eax
test eax, eax
je 0x625c46fd
mov edx, 1
lea ecx, [eax - 1]
mov edi, edx
inc edx
and eax, ecx
jne 0x625c46f0
mov dword [esi + 0x18], edi
lea edi, [esi + 0xc]
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], 0x625d7970
call sym._init_classinfo
mov dword [ebx], edi
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], str._p__p_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.filesys_get_Drives
mov dword [esp + 4], 0x625d3028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x625c46ac
mov eax, 0x8007000e
jmp 0x625c4718
Function at 0x625c4770
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ebx
push ecx
sub esp, 0x30
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
test byte [0x625d3028], 8
jne 0x625c4810
test ebx, ebx
je 0x625c485d
mov dword [esp + 4], 0xc
mov dword [esp], 0
call dword [sym.imp.oleaut32.dll_SysAllocStringLen]
mov dword [ebx], eax
sub esp, 8
test eax, eax
je 0x625c4864
lea eax, [ebp - 0xc]
mov dword [esp + 4], 4
mov dword [esp], eax
call dword [sym.imp.advapi32.dll_SystemFunction036]
sub esp, 8
test al, al
je 0x625c4848
mov eax, dword [ebp - 0xc]
mov dword [esp + 8], str.rad_05X.tmp
mov dword [esp + 4], 0xd
and eax, 0xfffff
mov dword [esp + 0xc], eax
mov eax, dword [ebx]
mov dword [esp], eax
call sym._swprintf
xor eax, eax
lea esp, [ebp - 8]
pop ecx
pop ebx
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._p___p._n
mov dword [esp + 8], str.filesys_GetTempName
mov dword [esp + 4], 0x625d3028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x625c4794
mov eax, dword [ebx]
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_SysFreeString]
mov eax, 0x80004005
sub esp, 4
jmp 0x625c4801
mov eax, 0x80004003
jmp 0x625c4801
mov eax, 0x8007000e
jmp 0x625c4801

Function at 0x625c4870
Capabilities:
Get disk information

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x48
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
mov edi, dword [ecx + 8]
test byte [0x625d3028], 8
jne 0x625c4900
test edi, edi
je 0x625c4975
xor edx, edx
mov word [edi], dx
mov dword [esp], esi
call dword [sym.imp.oleaut32.dll_SysStringLen]
xor edx, edx
sub esp, 4
mov ebx, eax
test eax, eax
je 0x625c48eb
movzx eax, word [esi]
mov dword [ebp - 0x2c], edx
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_towupper]
mov edx, 0
lea ecx, [eax - 0x41]
cmp cx, 0x19
ja 0x625c48eb
cmp ebx, 1
je 0x625c4940
cmp word [esi + 2], 0x3a
jne 0x625c48eb
cmp ebx, 2
je 0x625c4940
cmp word [esi + 4], 0x5c
je 0x625c4940
lea esp, [ebp - 0x10]
mov eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str._p__s__p_n
mov dword [esp + 8], str.filesys_DriveExists
mov dword [esp + 4], 0x625d3028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x625c4895
mov word [ebp - 0x20], ax
xor eax, eax
mov word [ebp - 0x1a], ax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1e], 0x5c003a
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetDriveTypeW]
sub esp, 4
cmp eax, 1
seta al
xor edx, edx
movzx eax, al
neg eax
mov word [edi], ax
jmp 0x625c48eb
mov edx, 0x80004003
jmp 0x625c48eb
Function at 0x625c4980
Capabilities:
Get disk information

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x2c
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
test byte [0x625d3028], 8
jne 0x625c49c0
add esi, 8
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetDriveTypeW]
sub esp, 4
cmp eax, 6
ja case.0x625c49b9.0
jmp dword [eax*4 + str.mJ_bmJ_b]
lea eax, [esi - 0xc]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x625d5e28
mov dword [esp + 8], str.drive_get_DriveType
mov dword [esp + 4], 0x625d3028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x625c49a1
mov dword [ebx], 5
lea esp, [ebp - 0xc]
xor eax, eax
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [ebx], 1
lea esp, [ebp - 0xc]
xor eax, eax
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [ebx], 2
lea esp, [ebp - 0xc]
xor eax, eax
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [ebx], 3
lea esp, [ebp - 0xc]
xor eax, eax
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [ebx], 4
lea esp, [ebp - 0xc]
xor eax, eax
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [ebx], 0
lea esp, [ebp - 0xc]
xor eax, eax
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8

Function at 0x625c4a90
Capabilities:
Contain obfuscated stackstrings
Get disk information

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x238
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
test byte [0x625d3028], 8
jne 0x625c4b28
test esi, esi
je 0x625c4b7e
lea edi, [ebp - 0x222]
add ebx, 8
mov dword [esi], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x105
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GetVolumeInformationW]
mov edx, eax
sub esp, 0x20
mov eax, 0x80004005
test edx, edx
jne 0x625c4b60
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
lea eax, [ebx - 0xc]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x625d5e28
mov dword [esp + 8], str.drive_get_VolumeName
mov dword [esp + 4], 0x625d3028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x625c4ab5
mov dword [esp], edi
call dword [sym.imp.oleaut32.dll_SysAllocString]
mov dword [esi], eax
sub esp, 4
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov eax, 0x80004003
jmp 0x625c4b17
Function at 0x625c4b90
Capabilities:
Contain obfuscated stackstrings
Get disk information

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x238
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
test byte [0x625d3028], 8
jne 0x625c4c28
test esi, esi
je 0x625c4c7e
lea edi, [ebp - 0x222]
add ebx, 8
mov dword [esi], 0
mov dword [esp + 0x1c], 0x105
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GetVolumeInformationW]
mov edx, eax
sub esp, 0x20
mov eax, 0x80004005
test edx, edx
jne 0x625c4c60
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
lea eax, [ebx - 0xc]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x625d5e28
mov dword [esp + 8], str.drive_get_FileSystem
mov dword [esp + 4], 0x625d3028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x625c4bb5
mov dword [esp], edi
call dword [sym.imp.oleaut32.dll_SysAllocString]
mov dword [esi], eax
sub esp, 4
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov eax, 0x80004003
jmp 0x625c4c17

Function at 0x625c4c90
Capabilities:
Get disk information

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x2c
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
test byte [0x625d3028], 8
jne 0x625c4d18
test esi, esi
je 0x625c4d4c
add ebx, 8
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GetVolumeInformationW]
sub esp, 0x20
cmp eax, 1
sbb eax, eax
and eax, 0x80004005
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
lea eax, [ebx - 0xc]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x625d5e28
mov dword [esp + 8], str.drive_get_SerialNumber
mov dword [esp + 4], 0x625d3028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x625c4cb1
mov eax, 0x80004003
jmp 0x625c4d06
Function at 0x625c4d60
Capabilities:
Get disk size

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x3c
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
test byte [0x625d3028], 8
jne 0x625c4dd0
test esi, esi
je 0x625c4e01
lea eax, [ebp - 0x20]
add ebx, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GetDiskFreeSpaceExW]
sub esp, 0x10
test eax, eax
setne al
movzx eax, al
neg eax
mov word [esi], ax
xor eax, eax
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
lea eax, [ebx - 0xc]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x625d5e28
mov dword [esp + 8], str.drive_get_IsReady
mov dword [esp + 4], 0x625d3028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x625c4d81
mov eax, 0x80004003
jmp 0x625c4dba

Function at 0x625c52b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x2c
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
test byte [0x625d3028], 8
jne 0x625c5330
test ebx, ebx
je 0x625c539c
mov dword [ebx], 0
mov dword [esp + 4], 0x5c
mov eax, dword [esi + 8]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_wcsrchr]
test eax, eax
je 0x625c53a6
add eax, 2
mov dword [esp], eax
call dword [sym.imp.oleaut32.dll_SysAllocString]
mov dword [ebx], eax
sub esp, 4
test byte [0x625d3028], 8
jne 0x625c5368
cmp eax, 1
sbb eax, eax
and eax, 0x8007000e
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 8
lea eax, [esi - 0xc]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x625d5e28
mov dword [esp + 8], str.folder_get_Name
mov dword [esp + 4], 0x625d3028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x625c52d1
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0xc], 0x625d5e7e
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.folder_get_Name
mov dword [esp + 4], 0x625d3028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
mov eax, dword [ebx]
jmp 0x625c5315
mov eax, 0x80004003
jmp 0x625c531f
mov eax, 0x80004005
jmp 0x625c531f
Function at 0x625c55a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x28
mov edi, dword [ecx]
mov esi, dword [ecx + 4]
mov ebx, dword [ecx + 8]
test byte [0x625d3028], 8
jne 0x625c5600
test ebx, ebx
je 0x625c5639
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor edx, edx
sub esp, 4
cmp eax, 0xffffffff
je 0x625c55e9
shr eax, 4
xor eax, 1
and eax, 1
neg eax
mov edx, eax
mov word [ebx], dx
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str._p__s__p_n
mov dword [esp + 8], str.filesys_FileExists
mov dword [esp + 4], 0x625d3028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x625c55c5
mov eax, 0x80004003
jmp 0x625c55ee

Function at 0x625c5640
Capabilities:
Check if file exists
Get file attributes

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x28
mov edi, dword [ecx]
mov esi, dword [ecx + 4]
mov ebx, dword [ecx + 8]
test byte [0x625d3028], 8
jne 0x625c56a0
test ebx, ebx
je 0x625c56d9
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor edx, edx
sub esp, 4
cmp eax, 0xffffffff
je 0x625c5686
shr eax, 4
and eax, 1
neg eax
mov edx, eax
mov word [ebx], dx
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str._p__s__p_n
mov dword [esp + 8], str.filesys_FolderExists
mov dword [esp + 4], 0x625d3028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x625c5665
mov eax, 0x80004003
jmp 0x625c568b
Function at 0x625c5a10
Capabilities:
Enumerate files on windows

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x498
mov ebx, dword [ecx]
mov esi, dword [ecx + 4]
test byte [0x625d3028], 8
jne 0x625c5ae0
test esi, esi
je 0x625c5b3e
mov dword [esi], 0
mov eax, dword [ebx + 8]
lea edi, [ebp - 0x268]
lea ebx, [ebp - 0x470]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.ucrtbase.dll_wcscpy]
mov dword [esp], ebx
mov dword [esp + 4], 0x625d5ea6
call dword [sym.imp.ucrtbase.dll_wcscat]
mov dword [esp], ebx
mov dword [esp + 4], edi
call dword [sym.imp.kernel32.dll_FindFirstFileW]
sub esp, 8
mov ebx, eax
cmp eax, 0xffffffff
je 0x625c5b18
nop
test byte [ebp - 0x268], 0x10
jne 0x625c5a9b
inc dword [esi]
mov dword [esp + 4], edi
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_FindNextFileW]
sub esp, 8
test eax, eax
jne 0x625c5a90
mov dword [ebp - 0x47c], eax
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_FindClose]
mov edx, dword [ebp - 0x47c]
sub esp, 4
lea esp, [ebp - 0x10]
mov eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
lea eax, [ebx - 0xc]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x625d5e28
mov dword [esp + 8], str.filecoll_get_Count
mov dword [esp + 4], 0x625d3028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x625c5a39
mov eax, dword fs:[0x18]
mov edx, dword [eax + 0x34]
movzx eax, dx
or eax, 0x80070000
test edx, edx
cmovg edx, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov edx, 0x80004003
jmp 0x625c5ac7

Function at 0x625c5e80
Capabilities:
Create directory

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x28
mov edi, dword [ecx]
mov ebx, dword [ecx + 4]
mov esi, dword [ecx + 8]
test byte [0x625d3028], 8
jne 0x625c5ef8
mov dword [esp + 4], 0
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
sub esp, 8
test eax, eax
jne 0x625c5f38
mov dword [esi], 0
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0xb7
je 0x625c5f4f
mov eax, dword [eax + 0x34]
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovg eax, edx
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x625d5eac
mov dword [esp + 8], str.filesys_CreateFolder
mov dword [esp + 4], 0x625d3028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x625c5ea5
mov edx, esi
mov eax, ebx
call sym._create_folder
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, 0x800a003a
jmp 0x625c5ee3
Function at 0x625c5f60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x28
mov edi, dword [ecx]
mov ebx, dword [ecx + 4]
mov esi, dword [ecx + 8]
test byte [0x625d3028], 8
jne 0x625c5fc8
test esi, esi
je 0x625c6016
mov dword [esi], 0
test ebx, ebx
je 0x625c600f
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
sub esp, 4
cmp eax, 0xffffffff
je 0x625c6008
test al, 0x10
je 0x625c6008
mov edx, esi
mov eax, ebx
call sym._create_folder
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_1
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str._p__s__p_n
mov dword [esp + 8], str.filesys_GetFolder
mov dword [esp + 4], 0x625d3028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x625c5f85
mov eax, 0x800a004c
jmp 0x625c5fb5
mov eax, 0x80070057
jmp 0x625c5fb5
mov eax, 0x80004003
jmp 0x625c5fb5
Function at 0x625c6020
Capabilities:
Get common file path

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x23c
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
mov esi, dword [ecx + 8]
test byte [0x625d3028], 8
jne 0x625c6090
test esi, esi
je 0x625c61c5
mov dword [esi], 0
cmp ebx, 1
je 0x625c6148
cmp ebx, 2
je 0x625c6100
test ebx, ebx
je 0x625c60c8
mov esi, 0x80070057
test byte [0x625d3028], 1
jne 0x625c6198
lea esp, [ebp - 0xc]
mov eax, esi
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str._p__d__p_n
mov dword [esp + 8], str.filesys_GetSpecialFolder
mov dword [esp + 4], 0x625d3028
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_1
jmp 0x625c6047
lea ebx, [ebp - 0x220]
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
sub esp, 8
test eax, eax
je 0x625c611e
mov edx, esi
mov eax, ebx
call sym._create_folder
lea esp, [ebp - 0xc]
pop ecx
mov esi, eax
pop ebx
mov eax, esi
pop esi
pop ebp
lea esp, [ecx - 4]
ret 0xc
lea ebx, [ebp - 0x220]
mov dword [esp], 0x104
mov dword [esp + 4], ebx
call dword [sym.imp.kernel32.dll_GetTempPathW]
sub esp, 8
test eax, eax
jne 0x625c6170
mov eax, dword fs:[0x18]
mov esi, dword [eax + 0x34]
movzx eax, si
or eax, 0x80070000
test esi, esi
cmovg esi, eax
lea esp, [ebp - 0xc]
pop ecx
pop ebx
mov eax, esi
pop esi
pop ebp
lea esp, [ecx - 4]
ret 0xc
lea ebx, [ebp - 0x220]
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_GetSystemDirectoryW]
sub esp, 8
jmp 0x625c60e2
cmp word [ebp + eax*2 - 0x222], 0x5c
lea edx, [eax - 1]
jne 0x625c60e6
xor eax, eax
mov word [ebp + edx*2 - 0x220], ax
jmp 0x625c60e6
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.unknown_special_folder_type___d_n
mov dword [esp + 8], str.filesys_GetSpecialFolder
mov dword [esp + 4], 0x625d3028
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0_1
jmp 0x625c607d
mov esi, 0x80004003
jmp 0x625c607d