joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50ffec
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov ebx, eax
mov byte [ebp - 1], 0
push ebx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, 0x5dac4c
mov ecx, 0x20
mov dl, 2
call fcn.00411854
test eax, eax
je 0x5101b5
xor eax, eax
push ebp
push 0x5101ae
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x5101c0
push 0x5101ec
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00411b5c
mov ebx, eax
test ebx, ebx
je 0x510070
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call ebx
test eax, eax
je 0x510197
cmp dword [ebp - 0xc], 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
jmp 0x510197
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 0x5100c1
call sub.kernel32.dll_GetLastError
cmp eax, 0x3f0
je 0x5100a2
call fcn.00409028
jmp 0x5101b5
lea eax, [ebp - 0x10]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x5100c1
call fcn.00409028
jmp 0x5101b5
xor eax, eax
push ebp
push 0x510190
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 0x510104
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
je 0x510104
call fcn.00409028
call fcn.00409028
jmp 0x5101b5
mov eax, dword [ebp - 0x14]
call fcn.00406724
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 0x510136
call fcn.00409028
call fcn.00409028
jmp 0x5101b5
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
dec esi
test esi, esi
jl 0x510171
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 0x51016d
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + ebx*8 + 8]
and eax, 0x14
cmp eax, 4
jne 0x51016d
mov byte [ebp - 1], 1
jmp 0x510171
inc ebx
dec esi
jne 0x510143
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x510197
mov eax, dword [ebp - 0x18]
call fcn.00406740
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 0x5101b5
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 0x510808
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5109d3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x510999
mov ecx, 1
mov edx, dword [ebp - 8]
mov eax, 0x5109f0
call fcn.0040adf0
test eax, eax
jne 0x510999
mov eax, dword [ebp - 8]
call fcn.0050ebb4
test al, al
je 0x510999
lea eax, [ebp - 0x25c]
push eax
lea edx, [ebp - 0x260]
mov eax, dword [ebp - 8]
call fcn.0050cf4c
lea eax, [ebp - 0x260]
mov edx, 0x510a00
call fcn.0040aa74
mov eax, dword [ebp - 0x260]
call fcn.0040a87c
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x510999
xor eax, eax
push ebp
push 0x510992
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x510a04
lea eax, [ebp - 0x230]
call fcn.0041dfa0
test eax, eax
je 0x510963
mov edx, 0x510a08
lea eax, [ebp - 0x230]
call fcn.0041dfa0
test eax, eax
je 0x510963
lea edx, [ebp - 0x264]
mov eax, dword [ebp - 8]
call fcn.0050cf4c
mov eax, dword [ebp - 0x264]
push eax
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x230]
mov ecx, 0x104
call fcn.0040a91c
mov ecx, dword [ebp - 0x268]
lea eax, [ebp - 4]
pop edx
call fcn.0040aacc
mov ebx, dword [ebp - 0x25c]
test bl, 1
je 0x510942
and ebx, 0xfffffffe
push ebx
mov eax, dword [ebp - 4]
call fcn.0040a87c
push eax
call sub.kernel32.dll_SetFileAttributesW
test byte [ebp - 0x25c], 0x10
jne 0x51095b
mov eax, dword [ebp - 4]
call fcn.0040a87c
push eax
call sub.kernel32.dll_DeleteFileW
jmp 0x510963
mov eax, dword [ebp - 4]
call fcn.00510808
lea eax, [ebp - 0x25c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x5108bf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x510999
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindClose
ret
mov eax, dword [ebp - 8]
call fcn.0040a87c
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5109da
lea eax, [ebp - 0x268]
mov edx, 3
call fcn.004098a0
lea eax, [ebp - 4]
call fcn.00409840
ret
Function at 0x510fa4
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
test dl, dl
je 0x510fb7
add esp, 0xfffffff0
call fcn.0040809c
mov byte [ebp - 1], dl
mov ebx, eax
test ecx, ecx
jne 0x510fd6
mov ecx, 0x5110fc
mov dl, 1
mov eax, dword [0x419708]
call fcn.00422c04
call fcn.00408f34
mov dword [ebx + 0x1c], ecx
mov byte [ebx + 0x28], 1
mov eax, dword [ebp + 8]
mov dword [ebx + 0x20], eax
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x10], 0xffffffff
xor eax, eax
mov dword [ebp - 0x14], eax
push 0
push 0
push 3
lea eax, [ebp - 0x18]
push eax
push 3
push 0x80000000
push 0x511128
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
jne 0x511035
push 0
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea ecx, [ebp - 0x20]
mov edx, 0x511144
mov eax, ebx
call fcn.0051125c
jmp 0x511038
mov dword [ebx + 0x10], eax
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
jne 0x51106e
push 0
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea ecx, [ebp - 0x20]
mov edx, 0x511180
mov eax, ebx
call fcn.0051125c
jmp 0x5110a8
mov eax, dword [ebp - 8]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x18], eax
push 0
push 1
mov eax, dword [ebx + 0x14]
push eax
call sub.kernel32.dll_SetHandleInformation
test eax, eax
jne 0x5110a8
push 0
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
lea ecx, [ebp - 0x20]
mov edx, 0x5111bc
mov eax, ebx
call fcn.0051125c
cmp dword [ebx + 0x10], 0
je 0x5110ba
cmp dword [ebx + 0x14], 0
je 0x5110ba
cmp dword [ebx + 0x18], 0
jne 0x5110be
xor eax, eax
jmp 0x5110c0
mov al, 1
mov byte [ebx + 4], al
mov byte [ebx + 5], al
mov dword [ebx + 8], 0xa00000
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5110e4
call fcn.004080f4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5124a4
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 0x515878
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x5e3804
mov eax, esi
mov edx, 8
test al, 1
je 0x515894
shr eax, 1
xor eax, 0xedb88320
jmp 0x515896
shr eax, 1
dec edx
jne 0x515887
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x515880
pop esi
ret

Function at 0x5158c3
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x5e3800], 0
jne 0x5158cf
call fcn.00515878
push 1
push 0x5e3800
call fcn.00411a50
mov eax, edi
test esi, esi
je 0x5158f9
mov edx, 0xff
and edx, ebx
movzx ecx, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x5e3804]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x5158d5
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x522424
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 0x5225d4
inc esi

Function at 0x52d4a0
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 0x52d51d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0051a210
mov eax, dword [ebp - 4]
call fcn.00519b8c
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x30]
mov ebx, dword [eax + 0xc]
dec ebx
cmp ebx, 0
jl 0x52d504
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 0x52d4fe
mov eax, dword [esi]
mov edx, dword [ebp - 4]
call fcn.0040a26c
je 0x52d507
dec ebx
cmp ebx, 0xffffffff
jne 0x52d4e1
or ebx, 0xffffffff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52d524
lea eax, [ebp - 4]
call fcn.00409864
ret
Function at 0x53eab0
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.0041e174
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x540f80
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.0041e174
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x545820
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 0x5458f2
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.0050cf4c
lea eax, [ebp - 0x25c]
mov edx, 0x545910
call fcn.0040aa74
mov eax, dword [ebp - 0x25c]
call fcn.0040a87c
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x5458d9
xor eax, eax
push ebp
push 0x5458d2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x258]
call fcn.005457d0
test al, al
je 0x5458a7
mov byte [ebp - 1], 1
jmp 0x5458bb
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x545892
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5458d9
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 0x5458f9
lea eax, [ebp - 0x25c]
call fcn.00409840
ret

Function at 0x545914
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.0040a87c
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x545954
mov eax, ebx
lea edx, [esp + 0xc]
mov ecx, 0x104
call fcn.0040a91c
jmp 0x54595b
mov eax, ebx
call fcn.00409840
add esp, 0x2b4
pop esi
pop ebx
ret

Function at 0x545964
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 + 0x5daebc]
or eax, 0x4001
push eax
push 0x2b4
lea eax, [esp + 8]
push eax
push 0
mov eax, esi
call fcn.0040a87c
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x5459a3
mov eax, dword [esp + 4]
jmp 0x5459a5
xor eax, eax
add esp, 0x2b4
pop esi
pop ebx
ret

Function at 0x5459b0
Capabilities:
Get file system object information

Disassembly:
push ebx
add esp, 0xfffffd4c
mov ebx, eax
movzx eax, bl
mov eax, dword [eax*4 + 0x5daec4]
or eax, 0x4011
push eax
push 0x2b4
lea eax, [esp + 8]
push eax
push 0x10
push 0x5459f4
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x5459e9
mov eax, dword [esp + 4]
jmp 0x5459eb
xor eax, eax
add esp, 0x2b4
pop ebx
ret
Function at 0x5459d3
Capabilities:
Get file system object information

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

Function at 0x546cbc
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 0x546e84
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x546e57
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00409d60
cmp eax, 3
jne 0x546d53
mov eax, ebx
call fcn.00545c50
test al, al
jne 0x546d33
mov byte [ebp - 5], 0
call fcn.00409028
jmp 0x546e5e
lea edx, [ebp - 0x264]
mov eax, ebx
call fcn.00545914
mov ecx, dword [ebp - 0x264]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.005470d0
mov byte [ebp - 5], 1
lea eax, [ebp - 0x260]
push eax
lea edx, [ebp - 0x268]
mov eax, ebx
call fcn.0050cf4c
lea eax, [ebp - 0x268]
mov edx, 0x546ea4
call fcn.0040aa74
mov eax, dword [ebp - 0x268]
call fcn.0040a87c
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x546e40
xor eax, eax
push ebp
push 0x546e39
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
call fcn.005457d0
test al, al
je 0x546e0e
lea eax, [ebp - 4]
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.0040a91c
lea edx, [ebp - 0x270]
mov eax, ebx
call fcn.0050cf4c
lea eax, [ebp - 0x270]
mov edx, dword [ebp - 4]
call fcn.0040aa74
mov eax, dword [ebp - 0x270]
lea edx, [ebp - 0x26c]
call fcn.00545914
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.00546718
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x546da7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x546e40
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 0x546e5e
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 0x546e8b
lea eax, [ebp - 0x270]
mov edx, 4
call fcn.004098a0
lea eax, [ebp - 4]
call fcn.00409840
ret
Function at 0x547154
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 0x54734a
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x5471d9
lea edx, [ebp - 0x264]
mov eax, edi
call fcn.0050d4b4
mov eax, dword [ebp - 0x264]
push eax
lea edx, [ebp - 0x268]
mov eax, ebx
call fcn.0050cf4c
mov eax, dword [ebp - 0x268]
pop edx
call fcn.0050d150
test eax, eax
jne 0x5471d9
lea edx, [ebp - 4]
mov eax, edi
call fcn.0050d48c
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x547318
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
push eax
lea edx, [ebp - 0x26c]
mov eax, ebx
call fcn.0050cf4c
lea eax, [ebp - 0x26c]
mov edx, 0x547364
call fcn.0040aa74
mov eax, dword [ebp - 0x26c]
call fcn.0040a87c
push eax
call sub.kernel32.dll_FindFirstFileW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x547301
xor eax, eax
push ebp
push 0x5472fa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x260]
call fcn.005457d0
test al, al
je 0x5472cb
lea eax, [ebp - 8]
lea edx, [ebp - 0x234]
mov ecx, 0x104
call fcn.0040a91c
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0050d150
test eax, eax
je 0x5472cb
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [ebp - 8]
mov edx, esi
call fcn.00546804
test eax, eax
jne 0x5472cb
lea edx, [ebp - 0x274]
mov eax, ebx
call fcn.0050cf4c
lea eax, [ebp - 0x274]
mov edx, dword [ebp - 8]
call fcn.0040aa74
mov eax, dword [ebp - 0x274]
lea edx, [ebp - 0x270]
call fcn.00545914
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.00546718
lea eax, [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x547241
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x547301
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 0x54731f
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x547610
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.0041e174
add esp, 0x208
pop ebx
ret

Function at 0x54a8ec
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 0x54b3fc
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.0040a87c
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
jle 0x54b49a
mov eax, ebx
call fcn.00406724
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x54b493
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 0x54b47d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x54b4a8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x54b47d
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 0x54b49a
mov eax, dword [ebp - 0x10]
call fcn.00406740
ret
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x54bb14
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.0054bac8
test al, al
jne 0x54bb35
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x54bb83
xor eax, eax
push ebp
push 0x54bb73
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, esi
call fcn.0040a87c
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 0x54bb7a
lea eax, [ebp - 0xc]
call fcn.0054bb04
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x54bb8c
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.0054bac8
test al, al
jne 0x54bbb0
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x54bc16
xor eax, eax
push ebp
push 0x54bc06
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 0x54bc0d
lea eax, [ebp - 0xc]
call fcn.0054bb04
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x54bc24
Capabilities:
Copy file

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.0054bac8
test al, al
jne 0x54bc48
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x54bca0
xor eax, eax
push ebp
push 0x54bc90
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov eax, edi
call fcn.0040a87c
push eax
mov eax, esi
call fcn.0040a87c
push eax
call sub.kernel32.dll_CopyFileW
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 0x54bc97
lea eax, [ebp - 0xc]
call fcn.0054bb04
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x54bcac
Capabilities:
Delete file

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.0054bac8
test al, al
jne 0x54bccd
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x54bd19
xor eax, eax
push ebp
push 0x54bd09
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040a87c
push eax
call sub.kernel32.dll_DeleteFileW
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 0x54bd10
lea eax, [ebp - 0xc]
call fcn.0054bb04
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x54be84
Capabilities:
Get file attributes

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.0054bac8
test al, al
jne 0x54bea7
mov dword [ebp - 4], 0xffffffff
jmp 0x54bef3
xor eax, eax
push ebp
push 0x54bee3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040a87c
push eax
call sub.kernel32.dll_GetFileAttributesW
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 0x54beea
lea eax, [ebp - 0xc]
call fcn.0054bb04
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x54c028
Capabilities:
Move file

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.0054bac8
test al, al
jne 0x54c04c
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x54c0a0
xor eax, eax
push ebp
push 0x54c090
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.0040a87c
push eax
mov eax, esi
call fcn.0040a87c
push eax
call sub.kernel32.dll_MoveFileW
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 0x54c097
lea eax, [ebp - 0xc]
call fcn.0054bb04
ret
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret