joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cc370
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push str.Global360connect_mutex
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
jne 0x4cc394
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x4cc39b
mov al, 1
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
ret

Function at 0x4cc3a0
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push str.Global360connect_mutex
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
jne 0x4cc3cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x4cc3d3
call fcn.00449920
neg eax
sbb eax, eax
inc eax
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
ret

Function at 0x4ce390
Capabilities:
Create thread

Disassembly:
mov al, 1
cmp byte [esi + 0x271], al
je 0x4ce3ce
push 0
push 0
mov byte [esi + 0x271], al
mov eax, dword [esi + 4]
push eax
push 0x4cd6c0
push 0
push 0
call fcn.004f434e
add esp, 0x18
test eax, eax
je 0x4ce3c7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
ret
mov byte [esi + 0x271], 0
xor eax, eax
ret

Function at 0x4dcad0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
test eax, eax
jne 0x4dcade
xor al, al
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [ebp - 4]
push ecx
push 0
push eax
push 0x4dcab0
push 0
push 0
mov dword [ebp - 4], 0
call fcn.004f434e
mov esi, eax
add esp, 0x18
cmp esi, 0xffffffff
je 0x4dcb09
test esi, esi
jne 0x4dcb10
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push 0xfa0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4e4170
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x569638]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.004fb000
add esp, 0xc
lea edx, [ebp - 0x20c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4e41c0
sub eax, edx
push esi
sar eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
lea esi, [edi + 0xc]
call fcn.0042b220
push 0
push 0
push 0
push 0
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push edi
push 0x4e43d0
push 0
push 0
mov dword [edi + 8], eax
call fcn.004f434e
add esp, 0x18
mov dword [edi + 4], eax
pop esi
test eax, eax
je 0x4e422b
cmp dword [edi + 8], 0
je 0x4e422b
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f398f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.004f398f
mov esp, ebp
pop ebp
ret
Function at 0x4e4860
Capabilities:
Get common file path
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51c079
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x569638]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x23c], eax
cmp dword [edi + 0x14], ebx
je 0x4e49f7
cmp eax, ebx
je 0x4e49f7
cmp dword [ebp + 0xc], ebx
je 0x4e49f7
test byte [0x575b6c], 1
jne 0x4e48df
or dword [0x575b6c], 1
mov dword [ebp - 4], ebx
call fcn.004e4710
push 0x52dfe0
call fcn.004f3ac5
add esp, 4
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], ebx
mov word [ebp - 0x230], ax
push 0x206
lea edx, [ebp - 0x216]
xor ecx, ecx
push ebx
mov dword [ebp - 4], 1
push edx
mov word [ebp - 0x218], cx
call fcn.004fb000
mov eax, dword [0x575b54]
mov ecx, 8
add esp, 0xc
cmp dword [0x575b68], ecx
jae 0x4e4934
mov eax, 0x575b54
cmp dword [edi + 0x18], ecx
jb 0x4e493e
mov edi, dword [edi + 4]
jmp 0x4e4941
add edi, 4
lea ecx, [ebp - 0x218]
push ecx
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4e49c3
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4e49c9
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x23c]
push ebx
lea eax, [ebp - 0x238]
push eax
push ecx
push edx
push edi
mov dword [ebp - 0x238], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4e49ba
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x238]
jne 0x4e49ba
lea ecx, [ebp - 0x234]
push ecx
lea edx, [ebp - 0x218]
call fcn.00428ca0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4e49c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x234]
xor edx, edx
push eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov eax, esi
mov word [esi + 4], dx
call fcn.0042aee0
lea ecx, [ebp - 0x234]
call fcn.0042b820
jmp 0x4e4a07
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov word [esi + 4], cx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f398f
mov esp, ebp
pop ebp
ret
Function at 0x4e52f0
Capabilities:
Check if file exists
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x569638]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004fb000
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x208
lea edx, [ebp - 0x20c]
push 0
push edx
call fcn.004fb000
add esp, 0xc
push str.System32wlanapi.dll
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4e5379
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f398f
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.00428370
mov edi, eax
test edi, edi
jne 0x4e539b
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f398f
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WlanOpenHandle
push edi
call ebx
mov dword [ebp - 0x424], eax
test eax, eax
je 0x4e53f6
push str.WlanCloseHandle
push edi
call ebx
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x4e53f6
push str.WlanEnumInterfaces
push edi
call ebx
mov dword [ebp - 0x418], eax
test eax, eax
je 0x4e53f6
push str.WlanFreeMemory
push edi
call ebx
mov dword [ebp - 0x420], eax
test eax, eax
je 0x4e53f6
push str.WlanGetAvailableNetworkList
push edi
call ebx
test eax, eax
jne 0x4e5408
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004f398f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x424]
mov edx, dword [ebp - 0x41c]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x418]
mov dword [esi + 0x14], ecx
mov ecx, dword [ebp - 0x420]
push str.WlanScan
push edi
mov dword [esi + 0x10], edx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], eax
mov dword [0x5730cc], edx
mov dword [0x5730d0], ecx
call ebx
push str.WlanRegisterNotification
push edi
mov dword [esi + 0x24], eax
call ebx
mov ecx, dword [ebp - 4]
mov dword [esi + 0x20], eax
mov eax, 1
pop ebx
mov dword [esi + 8], edi
xor ecx, ebp
mov dword [esi + 4], eax
pop edi
call fcn.004f398f
mov esp, ebp
pop ebp
ret

Function at 0x4e8810
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or eax, 0xffffffff
test ecx, ecx
je 0x4e883c
push esi
jmp 0x4e8820
movsx esi, byte [edx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x56b170]
dec ecx
inc edx
test ecx, ecx
jne 0x4e8820
pop esi
not eax
ret
Function at 0x4ea0e0
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
push esi
mov esi, ecx
test esi, esi
je 0x4ea27e
test eax, eax
je 0x4ea27e
mov dword [eax + 0xf0], 0xa
mov ecx, dword [esi]
push edi
mov edx, ecx
ror edx, 8
and edx, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or edx, ecx
mov dword [eax], edx
mov edx, dword [esi + 4]
mov edi, edx
ror edi, 8
and edi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or edi, edx
mov dword [eax + 4], edi
mov edx, dword [esi + 8]
mov edi, edx
ror edi, 8
and edi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or edi, edx
mov dword [eax + 8], edi
mov edx, dword [esi + 0xc]
lea ecx, [eax + 4]
mov esi, edx
ror esi, 8
and esi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or esi, edx
mov dword [eax + 0xc], esi
mov edx, esi
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x534fc8]
xor edx, 0x1000000
mov edi, esi
shr edi, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x5353c8]
and edi, 0xff0000
and edx, 0xff000000
xor edx, edi
mov edi, esi
shr edi, 0x18
movzx edi, byte [edi*4 + 0x534bc8]
xor edx, edi
mov edi, esi
and edi, 0xff
mov edi, dword [edi*4 + 0x5347c8]
and edi, 0xff00
xor edx, edi
xor edx, dword [eax]
mov edi, dword [ecx]
xor edi, edx
mov dword [eax + 0x10], edx
mov edx, dword [eax + 8]
xor edx, edi
mov dword [eax + 0x18], edx
xor edx, esi
mov dword [eax + 0x14], edi
mov dword [eax + 0x1c], edx
mov esi, 0x5368cc
jmp 0x4ea1f0
mov edx, dword [ecx + 0x18]
add ecx, 0x10
mov eax, edx
shr eax, 8
mov edi, edx
and eax, 0xff
mov eax, dword [eax*4 + 0x5353c8]
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x534fc8]
and eax, 0xff0000
and edi, 0xff000000
xor eax, edi
mov edi, edx
and edx, 0xff
mov edx, dword [edx*4 + 0x5347c8]
shr edi, 0x18
movzx edi, byte [edi*4 + 0x534bc8]
xor eax, edi
and edx, 0xff00
xor eax, edx
xor eax, dword [ecx - 4]
add esi, 4
xor eax, dword [esi - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ecx]
xor edx, eax
mov dword [ecx + 0x10], edx
mov eax, dword [ecx + 4]
xor eax, edx
mov dword [ecx + 0x14], eax
mov edx, dword [ecx + 8]
xor edx, eax
mov dword [ecx + 0x18], edx
cmp esi, 0x5368f0
jne 0x4ea1f0
pop edi
xor eax, eax
pop esi
ret
or eax, 0xffffffff
pop esi
ret
Function at 0x4ea290
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
mov ebx, dword [esp + 8]
mov eax, ebx
call fcn.004ea0e0
test eax, eax
jl 0x4ea4c8
mov edx, dword [ebx + 0xf0]
add edx, edx
push esi
add edx, edx
xor esi, esi
push edi
test edx, edx
jle 0x4ea2fd
lea ecx, [ebx + edx*4 + 8]
lea eax, [ebx + 8]
push ebp
mov edi, edi
mov ebp, dword [ecx - 8]
mov edi, dword [eax - 8]
mov dword [eax - 8], ebp
mov ebp, dword [ecx - 4]
mov dword [ecx - 8], edi
mov edi, dword [eax - 4]
mov dword [eax - 4], ebp
mov ebp, dword [ecx]
mov dword [ecx - 4], edi
mov edi, dword [eax]
mov dword [eax], ebp
mov ebp, dword [ecx + 4]
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [eax + 4], ebp
mov dword [ecx + 4], edi
add esi, 4
sub edx, 4
add eax, 0x10
sub ecx, 0x10
cmp esi, edx
jl 0x4ea2c0
pop ebp
mov edx, 1
cmp dword [ebx + 0xf0], edx
jle 0x4ea4c4
lea eax, [ebx + 2]
mov ecx, dword [eax + 0xe]
movzx edi, byte [eax + 0xf]
mov edi, dword [edi*4 + 0x534bc8]
add eax, 0x10
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x534bc8]
and esi, 0xff
mov esi, dword [esi*4 + 0x5357c8]
and edi, 0xff
xor esi, dword [edi*4 + 0x535fc8]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x534bc8]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x5363c8]
movzx ecx, byte [eax]
mov ecx, dword [ecx*4 + 0x534bc8]
movzx edi, byte [eax + 3]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x535bc8]
mov ecx, dword [eax + 2]
mov dword [eax - 2], esi
mov edi, dword [edi*4 + 0x534bc8]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x534bc8]
and esi, 0xff
mov esi, dword [esi*4 + 0x5357c8]
and edi, 0xff
xor esi, dword [edi*4 + 0x535fc8]
movzx edi, byte [eax + 4]
mov edi, dword [edi*4 + 0x534bc8]
and edi, 0xff
xor esi, dword [edi*4 + 0x535bc8]
movzx edi, byte [eax + 7]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x534bc8]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x5363c8]
mov ecx, dword [eax + 6]
mov dword [eax + 2], esi
mov edi, dword [edi*4 + 0x534bc8]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x534bc8]
and esi, 0xff
mov esi, dword [esi*4 + 0x5357c8]
and edi, 0xff
xor esi, dword [edi*4 + 0x535fc8]
movzx edi, byte [eax + 8]
mov edi, dword [edi*4 + 0x534bc8]
and edi, 0xff
xor esi, dword [edi*4 + 0x535bc8]
movzx edi, byte [eax + 0xb]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x534bc8]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x5363c8]
mov ecx, dword [eax + 0xa]
mov dword [eax + 6], esi
mov edi, dword [edi*4 + 0x534bc8]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x534bc8]
and esi, 0xff
mov esi, dword [esi*4 + 0x5357c8]
and edi, 0xff
xor esi, dword [edi*4 + 0x535fc8]
movzx edi, byte [eax + 0xc]
mov edi, dword [edi*4 + 0x534bc8]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x534bc8]
and edi, 0xff
xor esi, dword [edi*4 + 0x535bc8]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x5363c8]
inc edx
mov dword [eax + 0xa], esi
cmp edx, dword [ebx + 0xf0]
jl 0x4ea311
pop edi
xor eax, eax
pop esi
pop ebx
ret
Function at 0x4eb950
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x569638]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.004ef4f0
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.004ef590
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.004f398f
add esp, 0x68
ret
Function at 0x4ebac0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
push edi
mov esi, eax
lea eax, [esp + 0x1c]
push eax
push 0x20119
xor edi, edi
push edi
push str.SOFTWARE360MachineSignature
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x34], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4ebc53
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esi + 0x10], eax
push ebx
mov dword [esi + 0x14], eax
lea edx, [esp + 0x20]
push edx
mov dword [esi + 0x18], eax
push eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x2c]
push str.Operator
mov edi, 0x400
push eax
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4ebb55
cmp dword [esp + 0x18], 1
jne 0x4ebc3a
mov eax, dword [esp + 0x14]
sub edi, eax
mov dword [esi], ebx
lea ebx, [eax + ebx]
je 0x4ebc3a
mov eax, dword [esp + 0x1c]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x14]
push ecx
push ebx
lea edx, [esp + 0x20]
push edx
push 0
push str.IssueDate
push eax
mov dword [esp + 0x2c], edi
call ebp
test eax, eax
jne 0x4ebb9a
cmp dword [esp + 0x18], 1
jne 0x4ebc3a
mov eax, dword [esp + 0x14]
mov dword [esi + 4], ebx
sub edi, eax
add ebx, eax
test edi, edi
je 0x4ebc3a
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
push ebx
lea edx, [esp + 0x20]
push edx
push 0
push str.ExpirationDate
push eax
mov dword [esp + 0x2c], edi
call ebp
test eax, eax
jne 0x4ebbd1
cmp dword [esp + 0x18], 1
jne 0x4ebc3a
mov eax, dword [esp + 0x14]
mov dword [esi + 8], ebx
sub edi, eax
add ebx, eax
test edi, edi
je 0x4ebc3a
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x14]
push ecx
push ebx
lea edx, [esp + 0x20]
push edx
push 0
push str.SignData
push eax
mov dword [esp + 0x2c], edi
call ebp
test eax, eax
jne 0x4ebc3a
cmp dword [esp + 0x18], 3
jne 0x4ebc3a
mov eax, dword [esp + 0x14]
sub edi, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
je 0x4ebc3a
lea eax, [esi + 0xc]
call fcn.004eb9c0
test eax, eax
je 0x4ebc3a
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x2c]
mov ecx, 0x400
sub ecx, edi
push eax
mov dword [edx], ecx
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x4ec050
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x6c
mov eax, dword [0x569638]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
mov ebx, dword [esp + 0x78]
push esi
lea eax, [esp + 8]
mov esi, edx
push eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.004ee020
add esp, 8
test eax, eax
jne 0x4ec0c1
pop esi
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004f398f
add esp, 0x6c
ret
mov eax, dword [esp + 0x78]
test eax, eax
jbe 0x4ec0d6
push esi
lea ecx, [esp + 0x14]
call fcn.004ef4f0
add esp, 4
lea esi, [esp + 0x10]
mov ecx, ebx
call fcn.004ef590
test edi, edi
je 0x4ec0f4
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, dword [esp + 8]
sete al
mov dword [edi], eax
mov ecx, dword [esp + 0x6c]
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004f398f
add esp, 0x6c
ret

Function at 0x4ec130
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
mov eax, dword [0x569638]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
mov ebx, dword [esp + 0x6c]
xor eax, eax
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
push edi
lea eax, [esp + 0x10]
mov edi, ecx
push eax
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
call fcn.004ee210
add esp, 4
test eax, eax
jne 0x4ec194
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004f398f
add esp, 0x64
ret
lea esi, [esp + 0x10]
mov ecx, ebx
call fcn.004ef590
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004f398f
add esp, 0x64
ret

Function at 0x4ec1c0
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0x74
mov eax, dword [0x569638]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
push edi
lea ecx, [esp + 8]
push ecx
push eax
mov dword [esp + 0x10], 0x6a09e667
mov dword [esp + 0x14], 0xbb67ae85
mov dword [esp + 0x18], 0x3c6ef372
mov dword [esp + 0x1c], 0xa54ff53a
mov dword [esp + 0x20], 0x510e527f
mov dword [esp + 0x24], 0x9b05688c
mov dword [esp + 0x28], 0x1f83d9ab
mov dword [esp + 0x2c], 0x5be0cd19
call fcn.004ee2f0
add esp, 8
test eax, eax
jne 0x4ec23f
pop edi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.004f398f
add esp, 0x74
ret
mov eax, esi
lea edi, [esp + 8]
call fcn.004ef0f0
mov ecx, dword [esp + 0x74]
pop edi
xor ecx, esp
mov eax, 1
call fcn.004f398f
add esp, 0x74
ret

Function at 0x4ecb80
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4ecbab
push 0x5334f8
mov eax, 0x5334f8
call fcn.004efff0
add esp, 4
xor eax, eax
pop ecx
ret
mov eax, 1
cmp esi, dword [esp]
je 0x4ecbc4
push 0x5334f8
call fcn.004f0060
add esp, 4
xor eax, eax
pop ecx
ret
Function at 0x4ed470
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x569638]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
push ebx
push ebp
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ebx
cmp eax, ebx
jne 0x4ed4a3
mov dword [esp + 0x10], 0xffffffff
jmp 0x4ed4a9
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push ebx
push ebx
push ebp
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x4ed4d7
push 0x5334f8
mov eax, 0x5334f8
call fcn.004efff0
add esp, 4
jmp 0x4ed5b7
push 0
lea edx, [esp + 0x1c]
push edx
push 8
lea eax, [esp + 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4ed507
push 0x5334f8
mov eax, 0x5334f8
call fcn.004efff0
add esp, 4
jmp 0x4ed5b7
mov eax, 8
cmp dword [esp + 0x18], eax
je 0x4ed529
mov eax, 1
push 0x5334f8
call fcn.004f0060
add esp, 4
jmp 0x4ed5b7
cmp dword [esp + 0x40], ebx
je 0x4ed565
mov ebx, eax
cmp dword [esp + 0x10], eax
jae 0x4ed54b
mov eax, 5
push 0x5334f8
call fcn.004f0060
add esp, 4
jmp 0x4ed5b7
mov ecx, dword [esp + 0x24]
mov dx, word [esp + 0x28]
mov dword [esi], ecx
mov cx, word [esp + 0x2a]
mov word [esi + 4], dx
mov word [esi + 6], cx
jmp 0x4ed5af
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x10]
jbe 0x4ed573
mov ebx, esi
jmp 0x4ed537
mov edx, dword [esp + 0x38]
xor ebx, ebx
push ebx
push ebx
push ebp
push edx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x4ed59c
push 0x5334f8
mov eax, 0x5334f8
call fcn.004efff0
add esp, 4
jmp 0x4ed5b7
mov ecx, dword [esp + 0x20]
mov edx, edi
call fcn.004ecb80
test eax, eax
je 0x4ed5b7
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4ed5c1
mov dword [eax], ebx
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004f398f
add esp, 0x28
ret
Function at 0x4edea0
Capabilities:
Get file size

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, eax
mov eax, dword [esi]
mov edi, dword [esi + 0x18]
lea ecx, [esp + 0x10]
push ecx
xor ebp, ebp
push eax
xor ebx, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x4edee6
push 0x5334f8
mov eax, 0x5334f8
call fcn.004efff0
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ebx, dword [esp + 0x10]
mov ecx, dword [esi + 0xb4]
xor edx, edx
sub ebx, edi
mov edi, dword [esp + 0x14]
sbb edi, edx
sub ebx, 0x298
sbb edi, ebp
xor eax, eax
cmp edi, eax
jl 0x4edf78
jg 0x4edf0e
cmp ebx, ecx
jb 0x4edf78
mov ebp, dword [esi]
push 0
push 0
push edi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x4edf3d
push 0x5334f8
mov eax, 0x5334f8
call fcn.004efff0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x1c]
mov esi, 0x298
mov edx, ebp
call fcn.004ecb80
test eax, eax
je 0x4edf33
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4edf5e
mov dword [eax], ebx
mov dword [eax + 4], edi
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4edf85
mov ecx, 1
mov word [eax], cx
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x24]
cmp eax, ebp
je 0x4edf85
xor edx, edx
mov word [eax], dx
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret