joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a4418
Capabilities:
Check os version
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
mov ebx, eax
call fcn.00427314
cmp eax, 2
je 0x5a4435
mov byte [ebp - 1], 1
jmp 0x5a460a
mov byte [ebp - 1], 0
mov eax, 0x655800
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push 0x20
push 2
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_AllocateAndInitializeSid
test eax, eax
je 0x5a460a
xor eax, eax
push ebp
push 0x5a4603
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp ax, 5
jb 0x5a449e
push 0x5a4614
push 0x5a4640
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.0041218c
mov ebx, eax
test ebx, ebx
je 0x5a44c5
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call ebx
test eax, eax
je 0x5a45ec
cmp dword [ebp - 0xc], 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
jmp 0x5a45ec
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
test eax, eax
jne 0x5a4516
call sub.kernel32.dll_GetLastError
cmp eax, 0x3f0
je 0x5a44f7
call fcn.00407efc
jmp 0x5a460a
lea eax, [ebp - 0x10]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x5a4516
call fcn.00407efc
jmp 0x5a460a
xor eax, eax
push ebp
push 0x5a45e5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 2
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x5a4559
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
je 0x5a4559
call fcn.00407efc
call fcn.00407efc
jmp 0x5a460a
mov eax, dword [ebp - 0x14]
call fcn.00405490
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 2
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_GetTokenInformation
test eax, eax
jne 0x5a458b
call fcn.00407efc
call fcn.00407efc
jmp 0x5a460a
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
dec esi
test esi, esi
jl 0x5a45c6
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ebx*8 + 4]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x5a45c2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ebx*8 + 8]
and eax, 0x14
cmp eax, 4
jne 0x5a45c2
mov byte [ebp - 1], 1
jmp 0x5a45c6
inc ebx
dec esi
jne 0x5a4598
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a45ec
mov eax, dword [ebp - 0x18]
call fcn.004054ac
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a460a
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_FreeSid
ret
movzx eax, byte [ebp - 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5a50b8
Capabilities:
Check if file exists
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x5a5155
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00427314
cmp eax, 2
jne 0x5a50fb
push 1
mov eax, esi
call fcn.004097c0
push eax
mov eax, edi
call fcn.004097c0
push eax
call sub.kernel32.dll_MoveFileExW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x5a513f
mov eax, esi
call fcn.004097c0
mov edx, eax
lea eax, [ebp - 4]
call fcn.00409828
mov eax, dword [ebp - 4]
call fcn.0042110c
mov ebx, eax
test bl, bl
jne 0x5a5124
call sub.kernel32.dll_GetLastError
cmp eax, 2
jne 0x5a513f
mov eax, esi
call fcn.004097c0
push eax
mov eax, edi
call fcn.004097c0
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a515c
lea eax, [ebp - 4]
call fcn.0040870c
ret

Function at 0x5a766c
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
xor edx, edx
mov dword [eax + 0x14], edx
xor edx, edx
mov dword [eax + 0x18], edx
ret
Function at 0x5aaac4
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x65d1e4
mov eax, esi
mov edx, 8
test al, 1
je 0x5aaae0
shr eax, 1
xor eax, 0xedb88320
jmp 0x5aaae2
shr eax, 1
dec edx
jne 0x5aaad3
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x5aaacc
pop esi
ret

Function at 0x5aaaf8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x65d1e0], 0
jne 0x5aab22
call fcn.005aaac4
mov dword [esp], 0x65d1e0
mov edx, dword [esp]
mov eax, 1
lock xchg dword [edx], eax
mov eax, edi
test esi, esi
je 0x5aab4c
mov edx, 0xff
and edx, ebx
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x65d1e4]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x5aab28
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5bd98c
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 0x5bdb3c
inc esi
mov eax, dword [ebp + 8]
push eax
mov eax, edi
mov edx, 5
call fcn.005bc5c8
pop ecx
test al, al
jne 0x5bd9d3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.005bdc70
xor ebx, ebx
jmp 0x5bdb3c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
cmp eax, dword [edi]
ja 0x5bd9f1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 2
call fcn.005bdc70
xor ebx, ebx
jmp 0x5bdb3c
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.005d4f74
test eax, eax
jne 0x5bda28
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 2
call fcn.005bdc70
xor ebx, ebx
jmp 0x5bdb3c
test byte [edi + 4], 1
je 0x5bdb35
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 4]
mov edx, 4
call fcn.005bc5c8
pop ecx
test al, al
jne 0x5bda5c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.005bdc70
xor ebx, ebx
jmp 0x5bdb3c
mov edx, dword [0x5b9968]
mov eax, 0xc
call fcn.0040ace8
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5bdb07
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.004092e8
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00408cc0
mov edx, dword [ebp - 4]
call fcn.005bc5c8
pop ecx
test al, al
jne 0x5bdaca
mov edx, dword [0x5b9968]
mov eax, dword [ebp - 8]
call fcn.0040acfc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.005bdc70
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5bdb3c
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.005b4edc
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.005b52f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5bdb35
dec esi
jne 0x5bd9aa
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5c8aa4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x5c8b21
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.005b556c
mov eax, dword [ebp - 4]
call fcn.005b4edc
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x30]
mov ebx, dword [eax + 0xc]
dec ebx
cmp ebx, 0
jl 0x5c8b08
mov eax, dword [edi + 0x30]
mov eax, dword [eax + 4]
mov esi, dword [eax + ebx*4]
mov eax, dword [esi + 4]
cmp eax, dword [ebp - 8]
jne 0x5c8b02
mov eax, dword [esi]
mov edx, dword [ebp - 4]
call fcn.00409134
je 0x5c8b0b
dec ebx
cmp ebx, 0xffffffff
jne 0x5c8ae5
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c8b28
lea eax, [ebp - 4]
call fcn.00408730
ret
Function at 0x5db734
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.0040870c
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x5db796
push 0x200
lea edx, [ebp - 0x202]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
cmp word [ebp - 0x200], 0
jne 0x5db796
cmp word [ebp - 0x202], 0
je 0x5db796
mov eax, ebx
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00409864
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5df314
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 0x5df360
cmp dword [ebp - 0x104], 2
jne 0x5df360
cmp dword [ebp - 0x110], 5
ja 0x5df35e
cmp dword [ebp - 0x110], 5
jne 0x5df360
cmp dword [ebp - 0x10c], 1
jb 0x5df360
mov bl, 1
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5df368
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.004219fc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5e2320
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.004219fc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5e5f00
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.004219fc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5e7af0
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 0x5e7bc2
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.005a26bc
lea eax, [ebp - 0x25c]
mov edx, 0x5e7be0
call fcn.004099bc
mov eax, dword [ebp - 0x25c]
call fcn.004097c0
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x5e7ba9
xor eax, eax
push ebp
push 0x5e7ba2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x258]
call fcn.005e7aa0
test al, al
je 0x5e7b77
mov byte [ebp - 1], 1
jmp 0x5e7b8b
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x5e7b62
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e7ba9
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindClose
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e7bc9
lea eax, [ebp - 0x25c]
call fcn.0040870c
ret
Function at 0x5e7be4
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.004097c0
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x5e7c24
mov eax, ebx
lea edx, [esp + 0xc]
mov ecx, 0x104
call fcn.00409864
jmp 0x5e7c2b
mov eax, ebx
call fcn.0040870c
add esp, 0x2b4
pop esi
pop ebx
ret

Function at 0x5e7c34
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 + 0x655b20]
or eax, 0x4001
push eax
push 0x2b4
lea eax, [esp + 8]
push eax
push 0
mov eax, esi
call fcn.004097c0
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x5e7c73
mov eax, dword [esp + 4]
jmp 0x5e7c75
xor eax, eax
add esp, 0x2b4
pop esi
pop ebx
ret

Function at 0x5e7c80
Capabilities:
Get file system object information

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

Function at 0x5e7ca3
Capabilities:
Get file system object information

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

Function at 0x5e8160
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
test dl, dl
je 0x5e8174
add esp, 0xfffffff0
call fcn.00406f84
mov ebx, edx
mov esi, eax
xor edx, edx
mov eax, esi
call fcn.004f3378
mov eax, dword [0x5e8214]
not eax
and dword [esi + 0x60], eax
mov edx, 0x79
mov eax, esi
call fcn.004ef6dc
mov edx, 0x61
mov eax, esi
call fcn.004ef710
xor edx, edx
mov eax, esi
call fcn.004f0410
mov dl, 1
mov eax, esi
call fcn.004f953c
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp ax, 6
jae 0x5e81d0
mov dx, 0xfffe
mov eax, esi
call fcn.004f0458
push 0
lea eax, [ebp - 0x5c]
push eax
push 0x5c
push 0x1f
call sub.user32.dll_SystemParametersInfoW
test eax, eax
je 0x5e81f6
lea eax, [ebp - 0x5c]
push eax
call sub.gdi32.dll_CreateFontIndirectW
mov edx, eax
mov eax, dword [esi + 0x74]
call fcn.004d0a34
mov eax, esi
test bl, bl
je 0x5e820b
call fcn.00406fdc
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5e9278
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 0x5e9444
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 0x5e9417
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, ebx
test eax, eax
je 0x5e92d5
sub eax, 4
mov eax, dword [eax]
cmp eax, 3
jne 0x5e9313
mov eax, ebx
call fcn.005e7f20
test al, al
jne 0x5e92f3
mov byte [ebp - 5], 0
call fcn.00407efc
jmp 0x5e941e
lea edx, [ebp - 0x264]
mov eax, ebx
call fcn.005e7be4
mov ecx, dword [ebp - 0x264]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.005e969c
mov byte [ebp - 5], 1
lea eax, [ebp - 0x260]
push eax
lea edx, [ebp - 0x268]
mov eax, ebx
call fcn.005a26bc
lea eax, [ebp - 0x268]
mov edx, 0x5e9464
call fcn.004099bc
mov eax, dword [ebp - 0x268]
call fcn.004097c0
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x5e9400
xor eax, eax
push ebp
push 0x5e93f9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
call fcn.005e7aa0
test al, al
je 0x5e93ce
lea eax, [ebp - 4]
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.00409864
lea edx, [ebp - 0x270]
mov eax, ebx
call fcn.005a26bc
lea eax, [ebp - 0x270]
mov edx, dword [ebp - 4]
call fcn.004099bc
mov eax, dword [ebp - 0x270]
lea edx, [ebp - 0x26c]
call fcn.005e7be4
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.005e8c90
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x5e9367
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e9400
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindClose
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e941e
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 0x5e944b
lea eax, [ebp - 0x270]
mov edx, 4
call fcn.0040876c
lea eax, [ebp - 4]
call fcn.0040870c
ret
Function at 0x5e9734
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 0x5e992a
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x5e97b9
lea edx, [ebp - 0x264]
mov eax, edi
call fcn.005a2c40
mov eax, dword [ebp - 0x264]
push eax
lea edx, [ebp - 0x268]
mov eax, ebx
call fcn.005a26bc
mov eax, dword [ebp - 0x268]
pop edx
call fcn.005a28cc
test eax, eax
jne 0x5e97b9
lea edx, [ebp - 4]
mov eax, edi
call fcn.005a2c18
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5e98f8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
push eax
lea edx, [ebp - 0x26c]
mov eax, ebx
call fcn.005a26bc
lea eax, [ebp - 0x26c]
mov edx, 0x5e9944
call fcn.004099bc
mov eax, dword [ebp - 0x26c]
call fcn.004097c0
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x5e98e1
xor eax, eax
push ebp
push 0x5e98da
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
call fcn.005e7aa0
test al, al
je 0x5e98ab
lea eax, [ebp - 8]
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.00409864
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.005a28cc
test eax, eax
je 0x5e98ab
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.005e8d8c
test eax, eax
jne 0x5e98ab
lea edx, [ebp - 0x274]
mov eax, ebx
call fcn.005a26bc
lea eax, [ebp - 0x274]
mov edx, dword [ebp - 8]
call fcn.004099bc
mov eax, dword [ebp - 0x274]
lea edx, [ebp - 0x270]
call fcn.005e7be4
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.005e8c90
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x5e9821
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e98e1
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindClose
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e98ff
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x5e9bfc
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.004219fc
add esp, 0x208
pop ebx
ret
Function at 0x5ed2ec
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, eax
mov byte [ebp - 5], 0
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.004097c0
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jle 0x5ed38a
mov eax, ebx
call fcn.00405490
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5ed383
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
push edi
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x5ed36d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x5ed3ac
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5ed36d
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 4]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ed39f
mov eax, dword [ebp - 0x10]
call fcn.004054ac
ret
call fcn.00427314
dec eax
je 0x5ed39f
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.005ed110
mov byte [ebp - 5], al
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5ed890
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.005ed844
test al, al
jne 0x5ed8b1
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x5ed8ff
xor eax, eax
push ebp
push 0x5ed8ef
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, esi
call fcn.004097c0
push eax
call sub.kernel32.dll_CreateDirectoryW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ed8f6
lea eax, [ebp - 0xc]
call fcn.005ed880
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5ed908
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.005ed844
test al, al
jne 0x5ed92c
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x5ed992
xor eax, eax
push ebp
push 0x5ed982
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x24]
push eax
push edi
push esi
call sub.kernel32.dll_CreateProcessW
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ed989
lea eax, [ebp - 0xc]
call fcn.005ed880
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20