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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
lea edi, [ebp - 0xd]
mov bl, 1
mov eax, dword [ebp + 8]
mov esi, dword [eax - 0x18]
dec esi
test esi, esi
jl 0x49a054
inc esi
mov eax, dword [ebp + 8]
push eax
mov eax, edi
mov edx, 5
call fcn.00498ab8
pop ecx
test al, al
jne 0x499eeb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.0049a188
xor ebx, ebx
jmp 0x49a054
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
cmp eax, dword [edi]
ja 0x499f09
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 2
call fcn.0049a188
xor ebx, ebx
jmp 0x49a054
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 4]
mov edx, dword [edi]
mov edx, dword [eax + edx*4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x3c]
call fcn.004b0e1c
test eax, eax
jne 0x499f40
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 2
call fcn.0049a188
xor ebx, ebx
jmp 0x49a054
test byte [edi + 4], 1
je 0x49a04d
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 4]
mov edx, 4
call fcn.00498ab8
pop ecx
test al, al
jne 0x499f74
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.0049a188
xor ebx, ebx
jmp 0x49a054
mov edx, dword [0x4960f0]
mov eax, 0xc
call fcn.0040766c
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x49a01f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.00405d30
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00405ac4
mov edx, dword [ebp - 4]
call fcn.00498ab8
pop ecx
test al, al
jne 0x499fe2
mov edx, dword [0x4960f0]
mov eax, dword [ebp - 8]
call fcn.00407680
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.0049a188
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49a054
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004937b8
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x3c]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 8]
call fcn.00493bd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49a04d
dec esi
jne 0x499ec2
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b5bd0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
xor ebx, ebx
mov dword [ebp - 0x114], 0x114
lea eax, [ebp - 0x114]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x4b5c1c
cmp dword [ebp - 0x104], 2
jne 0x4b5c1c
cmp dword [ebp - 0x110], 5
ja 0x4b5c1a
cmp dword [ebp - 0x110], 5
jne 0x4b5c1c
cmp dword [ebp - 0x10c], 1
jb 0x4b5c1c
mov bl, 1
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b5c24
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
lea eax, [ebp - 0x208]
call fcn.004183fc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b7214
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
lea eax, [ebp - 0x208]
call fcn.004183fc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4bab48
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
lea eax, [ebp - 0x208]
call fcn.004183fc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4bb1c4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
push ebx
mov ebx, eax
push 0x104
lea eax, [ebp - 0x208]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
lea eax, [ebp - 0x208]
call fcn.004183fc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4bb1f4
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
xor eax, eax
push ebp
push 0x4bb310
push dword fs:[eax]
mov dword fs:[eax], esp
inc dword [0x53fc18]
cmp dword [0x53fc14], 0
jne 0x4bb2eb
call sub.kernel32.dll_GetVersion_1
and eax, 0xff
cmp ax, 6
jb 0x4bb2eb
lea eax, [ebp - 8]
call fcn.004bb1c4
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.0048957c
lea eax, [ebp - 4]
mov edx, 0x4bb32c
call fcn.00406854
mov eax, dword [ebp - 4]
call fcn.004064d4
push eax
call sub.kernel32.dll_LoadLibraryW
mov dword [0x53fc14], eax
cmp dword [0x53fc14], 0
je 0x4bb2eb
push 0x4bb348
mov eax, dword [0x53fc14]
push eax
call fcn.00409620
mov dword [0x53fbf8], eax
push 0x4bb368
mov eax, dword [0x53fc14]
push eax
call fcn.00409620
mov dword [0x53fbfc], eax
push 0x4bb390
mov eax, dword [0x53fc14]
push eax
call fcn.00409620
mov dword [0x53fc00], eax
push 0x4bb3a4
mov eax, dword [0x53fc14]
push eax
call fcn.00409620
mov dword [0x53fc04], eax
push 0x4bb3bc
mov eax, dword [0x53fc14]
push eax
call fcn.00409620
mov dword [0x53fc08], eax
push 0x4bb3d0
mov eax, dword [0x53fc14]
push eax
call fcn.00409620
mov dword [0x53fc0c], eax
cmp dword [0x53fc14], 0
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb317
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406440
ret
Function at 0x4bd23c
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
add esp, 0xfffffff4
mov ebx, edx
mov esi, eax
cmp byte [esi + 4], 0
je 0x4bd316
mov byte [esi + 5], 1
mov eax, dword [esi + 0x10]
mov dword [esp + 4], eax
mov byte [esp + 8], 0
lea edx, [esp + 4]
xor ecx, ecx
mov eax, 0x4bd328
call fcn.004bc450
mov eax, dword [esi + 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4bd294
mov eax, 0x4bd388
call fcn.004bc1cc
push 1
mov eax, dword [esi + 8]
push eax
call sub.kernel32.dll_TerminateProcess
push 0x2710
mov eax, dword [esi + 8]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x4bd27f
push esp
mov eax, dword [esi + 8]
push eax
call sub.kernel32.dll_GetExitCodeProcess
test eax, eax
je 0x4bd2e7
cmp dword [esp], 0
jne 0x4bd2c9
mov eax, 0x4bd3e0
call fcn.004bc1cc
jmp 0x4bd2f1
mov eax, dword [esp]
mov dword [esp + 4], eax
mov byte [esp + 8], 0
lea edx, [esp + 4]
xor ecx, ecx
mov eax, 0x4bd41c
call fcn.004bc450
jmp 0x4bd2f1
mov eax, 0x4bd484
call fcn.004bc1cc
mov eax, dword [esi + 8]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
mov dword [esi + 8], eax
xor eax, eax
mov dword [esi + 0x10], eax
mov byte [esi + 4], 0
test bl, bl
je 0x4bd316
push 0xfa
call sub.kernel32.dll_Sleep_1
add esp, 0xc
pop esi
pop ebx
ret
Function at 0x4bd4ec
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4bd72a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
inc dword [eax + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov ebx, dword [ebp - 4]
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], ecx
xor eax, eax
lea ebx, [eax + 0xc]
add ebx, ecx
xor edx, edx
push ebp
push 0x4bd6cf
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 0xffffffffffffffff
push 0
call sub.kernel32.dll_CreateEventW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4bd561
mov eax, 0x4bd748
call fcn.0048f058
xor edx, edx
push ebp
push 0x4bd664
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x14
call fcn.00403540
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
push 0x14
mov eax, dword [ebp - 4]
add eax, 0x4034
push eax
push ebx
mov eax, dword [ebp - 4]
add eax, 0x20
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
call sub.kernel32.dll_TransactNamedPipe
test eax, eax
jne 0x4bd64d
call sub.kernel32.dll_GetLastError
cmp eax, 0x3e5
je 0x4bd5c9
mov eax, 0x4bd76c
call fcn.0048f058
xor edx, edx
push ebp
push 0x4bd636
push dword fs:[edx]
mov dword fs:[edx], esp
cmp byte [ebp + 8], 0
je 0x4bd609
mov eax, dword [ebp - 4]
cmp word [eax + 0x1a], 0
je 0x4bd609
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x1c]
call dword [ebx + 0x18]
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xc]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
cmp eax, 1
je 0x4bd5e7
pop dword fs:[0]
add esp, 8
push 0x4bd63d
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
push eax
call sub.kernel32.dll_GetOverlappedResult
mov ebx, eax
call sub.kernel32.dll_GetLastError
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd66b
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
Function at 0x4c1ca8
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffdfc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1200], ebx
mov dword [ebp - 0x1204], ebx
mov dword [ebp - 0x11f8], ebx
mov dword [ebp - 0x11fc], ebx
mov dword [ebp - 0x11f4], ebx
mov dword [ebp - 0x1004], ecx
mov dword [ebp - 0x11d8], edx
mov dword [ebp - 0x11dc], eax
lea esi, [ebp - 0x11ea]
lea edi, [ebp - 0x11dc]
xor eax, eax
push ebp
push 0x4c1ed5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x11e0], eax
xor eax, eax
mov dword [ebp - 0x11d4], eax
mov eax, dword [edi]
add eax, 0x10
push eax
lea ecx, [ebp - 0x11ce]
mov edx, dword [ebp - 0x1004]
mov eax, dword [ebp - 0x11d8]
call fcn.004be93c
cmp dword [ebp - 0x1084], 0x418
jle 0x4c1d6a
lea ecx, [ebp - 0x11f4]
mov edx, dword [ebp - 0x1004]
mov al, 0xc3
call fcn.0048da74
mov ecx, dword [ebp - 0x11f4]
mov dl, 1
mov eax, dword [0x414e08]
call fcn.0041bc3c
call fcn.00404a74
lea eax, [ebp - 0x11fc]
lea edx, [ebp - 0x1184]
mov ecx, 0x80
push 0
call fcn.004055f4
mov edx, dword [ebp - 0x11fc]
lea ecx, [ebp - 0x11f8]
mov eax, dword [edi]
mov eax, dword [eax]
call fcn.004c1608
mov edx, dword [ebp - 0x11f8]
mov eax, dword [edi]
add eax, 0x14
call fcn.00406448
lea eax, [ebp - 0x1204]
lea edx, [ebp - 0x1104]
mov ecx, 0x80
push 0
call fcn.004055f4
mov edx, dword [ebp - 0x1204]
lea ecx, [ebp - 0x1200]
mov eax, dword [edi]
mov eax, dword [eax]
call fcn.004c1608
mov edx, dword [ebp - 0x1200]
mov eax, dword [edi]
add eax, 0x18
call fcn.00406448
lea eax, [ebp - 0x1078]
movzx eax, byte [eax]
mov edx, dword [edi]
mov byte [edx + 0x1d], al
mov ebx, dword [ebp - 0x1080]
test ebx, ebx
jle 0x4c1e96
push ebp
mov eax, esi
mov edx, 0xa
call fcn.004c1c30
pop ecx
mov eax, dword [esi + 6]
push eax
mov eax, dword [edi]
mov eax, dword [eax]
mov ecx, dword [esi + 2]
movzx edx, word [esi]
call fcn.004bf0f0
mov dword [ebp - 0x11f0], eax
cmp dword [ebp - 0x11f0], 0
jne 0x4c1e37
push ebp
call fcn.004c1a88
pop ecx
xor eax, eax
push ebp
push 0x4c1e68
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
mov eax, dword [ebp - 0x11f0]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x11f0]
add eax, 0x12
call fcn.004c1c30
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c1e82
mov edx, dword [ebp - 0x11f0]
mov eax, dword [edi]
call fcn.004bf12c
dec ebx
jne 0x4c1e00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c1edc
lea eax, [ebp - 0x1204]
call fcn.0040527c
lea eax, [ebp - 0x1200]
call fcn.00406438
lea eax, [ebp - 0x11fc]
call fcn.0040527c
lea eax, [ebp - 0x11f8]
mov edx, 2
call fcn.00406440
ret
Function at 0x4c2078
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [0x539070]
cmp dword [eax], 2
jne 0x4c20a3
call sub.kernel32.dll_GetVersion_1
and eax, 0xff
cmp ax, 5
jae 0x4c20af
mov dword [ebp - 0xc], 1
jmp 0x4c22ba
push 0x4c22c8
call sub.kernel32.dll_GetModuleHandleW_2
mov esi, eax
push 0x4c22e4
push esi
call sub.kernel32.dll_GetProcAddress_1
mov edi, eax
push 0x4c22fc
push esi
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x10], eax
push 0x4c2314
push esi
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebp - 0x14], eax
test edi, edi
je 0x4c20f4
cmp dword [ebp - 0x10], 0
je 0x4c20f4
cmp dword [ebp - 0x14], 0
jne 0x4c2100
mov dword [ebp - 0xc], 0x7f
jmp 0x4c22ba
xor eax, eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
push 4
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.004064d4
push eax
call edi
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4c22ba
xor edx, edx
push ebp
push 0x4c22b3
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp + 0xc]
shl eax, 5
call fcn.00403000
mov dword [ebp - 0x24], eax
mov esi, ebx
mov edi, dword [ebp + 0xc]
dec edi
test edi, edi
jl 0x4c21ef
inc edi
xor ebx, ebx
lea eax, [ebp - 0x28]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi + 8]
push eax
movzx eax, byte [esi + 6]
push eax
push esi
call sub.advapi32.dll_AllocateAndInitializeSid
test eax, eax
jne 0x4c21a4
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4c219a
mov dword [ebp - 0xc], 0x57
call fcn.00404b68
jmp 0x4c22ba
mov eax, ebx
add eax, eax
add eax, eax
mov edx, dword [ebp - 0x24]
mov ecx, dword [esi + 0x10]
mov dword [edx + eax*8], ecx
mov edx, dword [ebp - 0x24]
mov dword [edx + eax*8 + 4], 1
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp + 8]
mov dword [edx + eax*8 + 8], ecx
mov edx, dword [ebp - 0x24]
xor ecx, ecx
mov dword [edx + eax*8 + 0x14], ecx
mov edx, dword [ebp - 0x24]
xor ecx, ecx
mov dword [edx + eax*8 + 0x18], ecx
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov dword [edx + eax*8 + 0x1c], ecx
add esi, 0x14
inc ebx
dec edi
jne 0x4c215e
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4c2215
call fcn.00404b68
jmp 0x4c22ba
xor eax, eax
push ebp
push 0x4c2259
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 0x20]
push eax
push 0
push 0
push 4
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.004064d4
push eax
call dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c2260
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_LocalFree
ret
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4c8a3c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda4
push ebx
xor edx, edx
mov dword [ebp - 0x25c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c8b0e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea eax, [ebp - 0x258]
push eax
lea edx, [ebp - 0x25c]
mov eax, ebx
call fcn.0048957c
lea eax, [ebp - 0x25c]
mov edx, 0x4c8b2c
call fcn.00406854
mov eax, dword [ebp - 0x25c]
call fcn.004064d4
push eax
call sub.kernel32.dll_FindFirstFileW_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4c8af5
xor eax, eax
push ebp
push 0x4c8aee
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x258]
call fcn.004c89ec
test al, al
je 0x4c8ac3
mov byte [ebp - 1], 1
jmp 0x4c8ad7
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x4c8aae
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c8af5
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindClose_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c8b15
lea eax, [ebp - 0x25c]
call fcn.00406438
ret

Function at 0x4c8b30
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffd4c
mov ebx, edx
mov esi, eax
push 0x200
push 0x2b4
lea eax, [esp + 8]
push eax
push 0
mov eax, esi
call fcn.004064d4
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x4c8b70
mov eax, ebx
lea edx, [esp + 0xc]
mov ecx, 0x104
call fcn.00406640
jmp 0x4c8b79
mov eax, ebx
xor edx, edx
call fcn.00406448
add esp, 0x2b4
pop esi
pop ebx
ret

Function at 0x4c8b84
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffd4c
mov ebx, edx
mov esi, eax
movzx eax, bl
mov eax, dword [eax*4 + 0x538350]
or eax, 0x4001
push eax
push 0x2b4
lea eax, [esp + 8]
push eax
push 0
mov eax, esi
call fcn.004064d4
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x4c8bc3
mov eax, dword [esp + 4]
jmp 0x4c8bc5
xor eax, eax
add esp, 0x2b4
pop esi
pop ebx
ret

Function at 0x4c8bd0
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffd4c
mov ebx, eax
movzx eax, bl
mov eax, dword [eax*4 + 0x538358]
or eax, 0x4011
push eax
push 0x2b4
lea eax, [esp + 8]
push eax
push 0x10
push 0x4c8c14
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x4c8c09
mov eax, dword [esp + 4]
jmp 0x4c8c0b
xor eax, eax
add esp, 0x2b4
pop ebx
ret

Function at 0x4c8bf3
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffd4c
mov ebx, eax
movzx eax, bl
mov eax, dword [eax*4 + 0x538358]
or eax, 0x4011
push eax
push 0x2b4
lea eax, [esp + 8]
push eax
push 0x10
push 0x4c8c14
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x4c8c09
mov eax, dword [esp + 4]
jmp 0x4c8c0b
xor eax, eax
add esp, 0x2b4
pop ebx
ret
Function at 0x4c906c
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
test dl, dl
je 0x4c9080
add esp, 0xfffffff0
call fcn.004044d0
mov ebx, edx
mov esi, eax
xor edx, edx
mov eax, esi
call fcn.004693b4
mov eax, dword [0x4c9124]
not eax
and eax, dword [esi + 0x50]
mov dword [esi + 0x50], eax
mov edx, 0x79
mov eax, esi
call fcn.00465a44
mov edx, 0x61
mov eax, esi
call fcn.00465a78
xor edx, edx
mov eax, esi
call fcn.004665c0
mov dl, 1
mov eax, esi
call fcn.0046efd8
call sub.kernel32.dll_GetVersion_1
and eax, 0xff
cmp ax, 6
jae 0x4c90df
mov dx, 0xfffe
mov eax, esi
call fcn.00466608
push 0
lea eax, [ebp - 0x5c]
push eax
push 0x5c
push 0x1f
call sub.user32.dll_SystemParametersInfoW
test eax, eax
je 0x4c9105
lea eax, [ebp - 0x5c]
push eax
call sub.gdi32.dll_CreateFontIndirectW
mov edx, eax
mov eax, dword [esi + 0x64]
call fcn.0043c290
mov eax, esi
test bl, bl
je 0x4c911a
call fcn.00404528
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ca1c0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd90
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 0x270], ecx
mov dword [ebp - 0x268], ecx
mov dword [ebp - 0x264], ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4ca38c
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4ca35f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, ebx
test eax, eax
je 0x4ca21d
sub eax, 4
mov eax, dword [eax]
cmp eax, 3
jne 0x4ca25b
mov eax, ebx
call fcn.004c8e70
test al, al
jne 0x4ca23b
mov byte [ebp - 5], 0
call fcn.00404b68
jmp 0x4ca366
lea edx, [ebp - 0x264]
mov eax, ebx
call fcn.004c8b30
mov ecx, dword [ebp - 0x264]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.004ca5ec
mov byte [ebp - 5], 1
lea eax, [ebp - 0x260]
push eax
lea edx, [ebp - 0x268]
mov eax, ebx
call fcn.0048957c
lea eax, [ebp - 0x268]
mov edx, 0x4ca3ac
call fcn.00406854
mov eax, dword [ebp - 0x268]
call fcn.004064d4
push eax
call sub.kernel32.dll_FindFirstFileW_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x4ca348
xor eax, eax
push ebp
push 0x4ca341
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
call fcn.004c89ec
test al, al
je 0x4ca316
lea eax, [ebp - 4]
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.00406640
lea edx, [ebp - 0x270]
mov eax, ebx
call fcn.0048957c
lea eax, [ebp - 0x270]
mov edx, dword [ebp - 4]
call fcn.00406854
mov eax, dword [ebp - 0x270]
lea edx, [ebp - 0x26c]
call fcn.004c8b30
mov eax, dword [ebp - 0x26c]
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 4]
mov edx, esi
call fcn.004c9bdc
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x4ca2af
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca348
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindClose_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca366
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca393
lea eax, [ebp - 0x270]
mov edx, 4
call fcn.00406440
lea eax, [ebp - 4]
call fcn.00406438
ret
Function at 0x4ca67c
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd8c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x26c], ebx
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x268], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov edi, ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4ca872
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x4ca701
lea edx, [ebp - 0x264]
mov eax, edi
call fcn.00489b10
mov eax, dword [ebp - 0x264]
push eax
lea edx, [ebp - 0x268]
mov eax, ebx
call fcn.0048957c
mov eax, dword [ebp - 0x268]
pop edx
call fcn.00489794
test eax, eax
jne 0x4ca701
lea edx, [ebp - 4]
mov eax, edi
call fcn.00489ae8
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4ca840
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
push eax
lea edx, [ebp - 0x26c]
mov eax, ebx
call fcn.0048957c
lea eax, [ebp - 0x26c]
mov edx, 0x4ca88c
call fcn.00406854
mov eax, dword [ebp - 0x26c]
call fcn.004064d4
push eax
call sub.kernel32.dll_FindFirstFileW_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x4ca829
xor eax, eax
push ebp
push 0x4ca822
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
call fcn.004c89ec
test al, al
je 0x4ca7f3
lea eax, [ebp - 8]
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.00406640
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00489794
test eax, eax
je 0x4ca7f3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.004c9cd0
test eax, eax
jne 0x4ca7f3
lea edx, [ebp - 0x274]
mov eax, ebx
call fcn.0048957c
lea eax, [ebp - 0x274]
mov edx, dword [ebp - 8]
call fcn.00406854
mov eax, dword [ebp - 0x274]
lea edx, [ebp - 0x270]
call fcn.004c8b30
mov eax, dword [ebp - 0x270]
push eax
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.004c9bdc
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x4ca769
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca829
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindClose_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ca847
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x4cab44
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryW
mov edx, ebx
mov eax, esp
call fcn.004183fc
add esp, 0x208
pop ebx
ret