joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a41d0
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.004272d4
cmp eax, 2
je 0x5a41ed
mov byte [ebp - 1], 1
jmp 0x5a43c2
mov byte [ebp - 1], 0
mov eax, 0x652800
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 0x5a43c2
xor eax, eax
push ebp
push 0x5a43bb
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp ax, 5
jb 0x5a4256
push 0x5a43cc
push 0x5a43f8
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00412174
mov ebx, eax
test ebx, ebx
je 0x5a427d
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call ebx
test eax, eax
je 0x5a43a4
cmp dword [ebp - 0xc], 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
jmp 0x5a43a4
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 0x5a42ce
call sub.kernel32.dll_GetLastError
cmp eax, 0x3f0
je 0x5a42af
call fcn.00407efc
jmp 0x5a43c2
lea eax, [ebp - 0x10]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x5a42ce
call fcn.00407efc
jmp 0x5a43c2
xor eax, eax
push ebp
push 0x5a439d
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 0x5a4311
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
je 0x5a4311
call fcn.00407efc
call fcn.00407efc
jmp 0x5a43c2
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 0x5a4343
call fcn.00407efc
call fcn.00407efc
jmp 0x5a43c2
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
dec esi
test esi, esi
jl 0x5a437e
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 0x5a437a
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ebx*8 + 8]
and eax, 0x14
cmp eax, 4
jne 0x5a437a
mov byte [ebp - 1], 1
jmp 0x5a437e
inc ebx
dec esi
jne 0x5a4350
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a43a4
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 0x5a43c2
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 0x5a4e94
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 0x5a4f31
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004272d4
cmp eax, 2
jne 0x5a4ed7
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 0x5a4f1b
mov eax, esi
call fcn.004097c0
mov edx, eax
lea eax, [ebp - 4]
call fcn.00409828
mov eax, dword [ebp - 4]
call fcn.004210cc
mov ebx, eax
test bl, bl
jne 0x5a4f00
call sub.kernel32.dll_GetLastError
cmp eax, 2
jne 0x5a4f1b
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 0x5a4f38
lea eax, [ebp - 4]
call fcn.0040870c
ret

Function at 0x5a73f4
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 0x5aa854
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x65a1e4
mov eax, esi
mov edx, 8
test al, 1
je 0x5aa870
shr eax, 1
xor eax, 0xedb88320
jmp 0x5aa872
shr eax, 1
dec edx
jne 0x5aa863
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x5aa85c
pop esi
ret

Function at 0x5aa888
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 [0x65a1e0], 0
jne 0x5aa8b2
call fcn.005aa854
mov dword [esp], 0x65a1e0
mov edx, dword [esp]
mov eax, 1
lock xchg dword [edx], eax
mov eax, edi
test esi, esi
je 0x5aa8dc
mov edx, 0xff
and edx, ebx
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x65a1e4]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x5aa8b8
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5bd83c
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 0x5bd9ec
inc esi
mov eax, dword [ebp + 8]
push eax
mov eax, edi
mov edx, 5
call fcn.005bc478
pop ecx
test al, al
jne 0x5bd883
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.005bdb20
xor ebx, ebx
jmp 0x5bd9ec
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
cmp eax, dword [edi]
ja 0x5bd8a1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 2
call fcn.005bdb20
xor ebx, ebx
jmp 0x5bd9ec
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.005d4d54
test eax, eax
jne 0x5bd8d8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 2
call fcn.005bdb20
xor ebx, ebx
jmp 0x5bd9ec
test byte [edi + 4], 1
je 0x5bd9e5
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 4]
mov edx, 4
call fcn.005bc478
pop ecx
test al, al
jne 0x5bd90c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.005bdb20
xor ebx, ebx
jmp 0x5bd9ec
mov edx, dword [0x5b9818]
mov eax, 0xc
call fcn.0040ace8
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5bd9b7
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.005bc478
pop ecx
test al, al
jne 0x5bd97a
mov edx, dword [0x5b9818]
mov eax, dword [ebp - 8]
call fcn.0040acfc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dl, 0xd
call fcn.005bdb20
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5bd9ec
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.005b4d9c
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.005b51b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5bd9e5
dec esi
jne 0x5bd85a
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5c8884
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 0x5c8901
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.005b5424
mov eax, dword [ebp - 4]
call fcn.005b4d9c
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x30]
mov ebx, dword [eax + 0xc]
dec ebx
cmp ebx, 0
jl 0x5c88e8
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 0x5c88e2
mov eax, dword [esi]
mov edx, dword [ebp - 4]
call fcn.00409134
je 0x5c88eb
dec ebx
cmp ebx, 0xffffffff
jne 0x5c88c5
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c8908
lea eax, [ebp - 4]
call fcn.00408730
ret
Function at 0x5da7dc
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 0x5da828
cmp dword [ebp - 0x104], 2
jne 0x5da828
cmp dword [ebp - 0x110], 5
ja 0x5da826
cmp dword [ebp - 0x110], 5
jne 0x5da828
cmp dword [ebp - 0x10c], 1
jb 0x5da828
mov bl, 1
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

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

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

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

Function at 0x5e2f48
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 0x5e301a
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.005a2474
lea eax, [ebp - 0x25c]
mov edx, 0x5e3038
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 0x5e3001
xor eax, eax
push ebp
push 0x5e2ffa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x258]
call fcn.005e2ef8
test al, al
je 0x5e2fcf
mov byte [ebp - 1], 1
jmp 0x5e2fe3
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x5e2fba
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e3001
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 0x5e3021
lea eax, [ebp - 0x25c]
call fcn.0040870c
ret

Function at 0x5e303c
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 0x5e307c
mov eax, ebx
lea edx, [esp + 0xc]
mov ecx, 0x104
call fcn.00409864
jmp 0x5e3083
mov eax, ebx
call fcn.0040870c
add esp, 0x2b4
pop esi
pop ebx
ret
Function at 0x5e308c
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 + 0x652a74]
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 0x5e30cb
mov eax, dword [esp + 4]
jmp 0x5e30cd
xor eax, eax
add esp, 0x2b4
pop esi
pop ebx
ret

Function at 0x5e30d8
Capabilities:
Get file system object information

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

Function at 0x5e30fb
Capabilities:
Get file system object information

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

Function at 0x5e35b8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
test dl, dl
je 0x5e35cc
add esp, 0xfffffff0
call fcn.00406f84
mov ebx, edx
mov esi, eax
xor edx, edx
mov eax, esi
call fcn.004f3090
mov eax, dword [0x5e366c]
not eax
and dword [esi + 0x60], eax
mov edx, 0x79
mov eax, esi
call fcn.004ef2b4
mov edx, 0x61
mov eax, esi
call fcn.004ef2e8
xor edx, edx
mov eax, esi
call fcn.004f0048
mov dl, 1
mov eax, esi
call fcn.004f9298
call sub.kernel32.dll_GetVersion
and eax, 0xff
cmp ax, 6
jae 0x5e3628
mov dx, 0xfffe
mov eax, esi
call fcn.004f0090
push 0
lea eax, [ebp - 0x5c]
push eax
push 0x5c
push 0x1f
call sub.user32.dll_SystemParametersInfoW
test eax, eax
je 0x5e364e
lea eax, [ebp - 0x5c]
push eax
call sub.gdi32.dll_CreateFontIndirectW
mov edx, eax
mov eax, dword [esi + 0x74]
call fcn.004d0930
mov eax, esi
test bl, bl
je 0x5e3663
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 0x5e4708
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 0x5e48d4
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 0x5e48a7
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, ebx
test eax, eax
je 0x5e4765
sub eax, 4
mov eax, dword [eax]
cmp eax, 3
jne 0x5e47a3
mov eax, ebx
call fcn.005e3378
test al, al
jne 0x5e4783
mov byte [ebp - 5], 0
call fcn.00407efc
jmp 0x5e48ae
lea edx, [ebp - 0x264]
mov eax, ebx
call fcn.005e303c
mov ecx, dword [ebp - 0x264]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.005e4b2c
mov byte [ebp - 5], 1
lea eax, [ebp - 0x260]
push eax
lea edx, [ebp - 0x268]
mov eax, ebx
call fcn.005a2474
lea eax, [ebp - 0x268]
mov edx, 0x5e48f4
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 0x5e4890
xor eax, eax
push ebp
push 0x5e4889
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
call fcn.005e2ef8
test al, al
je 0x5e485e
lea eax, [ebp - 4]
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.00409864
lea edx, [ebp - 0x270]
mov eax, ebx
call fcn.005a2474
lea eax, [ebp - 0x270]
mov edx, dword [ebp - 4]
call fcn.004099bc
mov eax, dword [ebp - 0x270]
lea edx, [ebp - 0x26c]
call fcn.005e303c
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.005e4120
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x5e47f7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e4890
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 0x5e48ae
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 0x5e48db
lea eax, [ebp - 0x270]
mov edx, 4
call fcn.0040876c
lea eax, [ebp - 4]
call fcn.0040870c
ret
Function at 0x5e4bc4
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 0x5e4dba
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x5e4c49
lea edx, [ebp - 0x264]
mov eax, edi
call fcn.005a29f8
mov eax, dword [ebp - 0x264]
push eax
lea edx, [ebp - 0x268]
mov eax, ebx
call fcn.005a2474
mov eax, dword [ebp - 0x268]
pop edx
call fcn.005a2684
test eax, eax
jne 0x5e4c49
lea edx, [ebp - 4]
mov eax, edi
call fcn.005a29d0
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5e4d88
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
push eax
lea edx, [ebp - 0x26c]
mov eax, ebx
call fcn.005a2474
lea eax, [ebp - 0x26c]
mov edx, 0x5e4dd4
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 0x5e4d71
xor eax, eax
push ebp
push 0x5e4d6a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
call fcn.005e2ef8
test al, al
je 0x5e4d3b
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.005a2684
test eax, eax
je 0x5e4d3b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.005e421c
test eax, eax
jne 0x5e4d3b
lea edx, [ebp - 0x274]
mov eax, ebx
call fcn.005a2474
lea eax, [ebp - 0x274]
mov edx, dword [ebp - 8]
call fcn.004099bc
mov eax, dword [ebp - 0x274]
lea edx, [ebp - 0x270]
call fcn.005e303c
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.005e4120
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x5e4cb1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e4d71
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 0x5e4d8f
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x5e508c
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.004219bc
add esp, 0x208
pop ebx
ret

Function at 0x5e85a4
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
ret
Function at 0x5e9290
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 0x5e932e
mov eax, ebx
call fcn.00405490
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x5e9327
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 0x5e9311
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x5e9350
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x5e9311
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 0x5e9343
mov eax, dword [ebp - 0x10]
call fcn.004054ac
ret
call fcn.004272d4
dec eax
je 0x5e9343
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.005e90b4
mov byte [ebp - 5], al
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5e9834
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.005e97e8
test al, al
jne 0x5e9855
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x5e98a3
xor eax, eax
push ebp
push 0x5e9893
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 0x5e989a
lea eax, [ebp - 0xc]
call fcn.005e9824
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5e98ac
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.005e97e8
test al, al
jne 0x5e98d0
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x5e9936
xor eax, eax
push ebp
push 0x5e9926
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 0x5e992d
lea eax, [ebp - 0xc]
call fcn.005e9824
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20