joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006b30
Capabilities:
Terminate thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x10006b44
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 8]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 8]
push 0
push ecx
push 2
mov dword [esp + 0x18], edx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10006b90
mov ecx, dword [esi + 8]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 0x10]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push edx
call edi
mov eax, dword [esi + 0x14]
push eax
call edi
mov dword [esi + 0xc], 0
pop edi
mov eax, 1
pop esi
add esp, 8
ret

Function at 0x10006cc0
Capabilities:
Check os version
Get system information on windows

Disassembly:
mov eax, dword [0x1002b0ec]
test eax, eax
jne 0x10006dac
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x1002ae88
mov dword [0x1002b0ec], 1
mov dword [0x1002ae88], 0x114
call esi
mov edx, dword [0x1002ae98]
xor eax, eax
cmp edx, 2
sete al
test eax, eax
mov dword [0x10027050], eax
je 0x10006d8e
push edi
push 0x1002afa0
mov dword [0x1002afa0], 0x11c
call esi
push 0x10027e98
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.GetNativeSystemInfo
push esi
call edi
push str.GetProductInfo
push esi
mov dword [0x1002b0e4], eax
call edi
mov dword [0x1002b0e8], eax
mov eax, dword [0x1002b0e4]
pop edi
test eax, eax
push 0x1002b0c0
je 0x10006d5c
call eax
jmp 0x10006d62
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x1002afa4]
cmp eax, 6
jae 0x10006d7a
cmp eax, 5
jne 0x10006d8e
cmp dword [0x1002afa8], 2
jb 0x10006d8e
cmp word [0x1002b0c0], 9
jne 0x10006d8e
mov dword [0x1002ae7c], 1
push 0x1002ae90
push 0x1002ae8c
call fcn.100070e0
add esp, 8
call fcn.10006dc0
mov eax, 1
pop esi
ret
mov eax, 1
ret
Function at 0x100079c0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
push ebx
push esi
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x10007a80
lea ecx, [esp + 0xc]
push 0x5c
push ecx
call fcn.10007b09
add esp, 8
test eax, eax
je 0x10007a0f
mov word [eax], 0
mov edi, dword [esp + 0x218]
test edi, edi
je 0x10007a79
mov ebx, dword [esp + 0x21c]
test ebx, ebx
je 0x10007a79
lea edx, [esp + 0xc]
test edx, edx
je 0x10007a79
mov eax, dword [esp + 0x220]
mov esi, 0x7a
test eax, eax
je 0x10007a56
push eax
lea eax, [esp + 0x10]
push eax
push str._s_s
push ebx
push edi
call fcn.100081a0
add esp, 0x14
xor esi, esi
jmp 0x10007a88
lea ecx, [esp + 0xc]
push ecx
call fcn.10009366
add esp, 4
cmp ebx, eax
jbe 0x10007a88
lea edx, [esp + 0xc]
push edx
push edi
call fcn.10009745
add esp, 8
xor esi, esi
jmp 0x10007a88
mov esi, 0x57
jmp 0x10007a88
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
mov dword [0x1002b164], esi
je 0x10007a99
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
test esi, esi
pop esi
pop ebx
sete al
add esp, 0x208
ret

Function at 0x10007ab0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10028100]
jne 0x10007aba
repz ret
jmp fcn.10009a55
Function at 0x10013dc5
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1000ab59
and dword [ebp - 4], 0
cmp dword [0x1002bbd8], 0
mov ebx, eax
jne 0x10013e76
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10013f27
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10013f27
push eax
call fcn.1000aae7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1002bbd8], eax
call esi
push eax
call fcn.1000aae7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1002bbdc], eax
call esi
push eax
call fcn.1000aae7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1002bbe0], eax
call esi
push eax
call fcn.1000aae7
pop ecx
mov dword [0x1002bbe8], eax
test eax, eax
je 0x10013e76
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000aae7
pop ecx
mov dword [0x1002bbe4], eax
mov eax, dword [0x1002bbe4]
cmp eax, ebx
je 0x10013ece
cmp dword [0x1002bbe8], ebx
je 0x10013ece
push eax
call fcn.1000ab62
push dword [0x1002bbe8]
mov esi, eax
call fcn.1000ab62
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10013ece
test edi, edi
je 0x10013ece
call esi
test eax, eax
je 0x10013ec5
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10013ec5
test byte [ebp - 0xc], 1
jne 0x10013ece
or dword [ebp + 0x10], 0x200000
jmp 0x10013f07
mov eax, dword [0x1002bbdc]
cmp eax, ebx
je 0x10013f07
push eax
call fcn.1000ab62
pop ecx
test eax, eax
je 0x10013f07
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10013f07
mov eax, dword [0x1002bbe0]
cmp eax, ebx
je 0x10013f07
push eax
call fcn.1000ab62
pop ecx
test eax, eax
je 0x10013f07
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1002bbd8]
call fcn.1000ab62
pop ecx
test eax, eax
je 0x10013f27
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10013f29
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001ebc0
Capabilities:
Get disk information

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1001ff40
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x34]
push edi
push 0xffffffffffffffff
push 0
mov ecx, esi
call fcn.10005680
mov edi, dword [esp + 0x3c]
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.10005680
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebp, eax
mov eax, dword [0x1002c2d8]
test eax, eax
je 0x1001ec78
cmp ebp, eax
jne 0x1001ec78
mov eax, dword [0x1002c2dc]
test eax, eax
je 0x1001ec78
cmp ebx, eax
jb 0x1001ec78
add eax, 0x493e0
cmp eax, ebx
jb 0x1001ec78
mov ebp, dword [0x1002c2e0]
push 1
inc ebp
push 0x1002c1f8
lea ecx, [esp + 0x18]
mov dword [0x1002c2e0], ebp
call fcn.10005db0
push 0x1002c228
mov ecx, esi
mov dword [esp + 0x34], 0
call fcn.10005860
push 0x1002c218
mov ecx, edi
call fcn.10005860
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
jmp 0x1001ecee
push edi
push esi
mov dword [0x1002c2e0], 0
call fcn.1001ed10
add esp, 8
lea ecx, [esp + 0x1c]
push 1
push 0x1002c1f8
call fcn.10005db0
push 0xffffffffffffffff
push 0
mov ecx, 0x1002c228
mov dword [esp + 0x38], 1
mov dword [0x1002c2d8], ebp
mov dword [0x1002c2dc], ebx
call fcn.10005680
push esi
mov ecx, 0x1002c228
call fcn.10005860
push 0xffffffffffffffff
push 0
mov ecx, 0x1002c218
call fcn.10005680
push edi
mov ecx, 0x1002c218
call fcn.10005860
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.10005de0
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x1001ed10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x1001ff66
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push ebp
push esi
mov esi, dword [esp + 0x240]
push edi
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.10005680
mov ebp, dword [esp + 0x248]
push 0xffffffffffffffff
push ebx
mov ecx, ebp
call fcn.10005680
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
test ecx, edx
je 0x1001ee49
mov edx, dword [0x1002aaa8]
mov cx, word [0x1002aaac]
mov dword [esp + 0x18], edx
add word [esp + 0x18], ax
lea edx, [esp + 0x18]
mov word [esp + 0x1c], cx
push edx
lea ecx, [esp + 0x28]
mov word [esp + 0x22], bx
call fcn.10004c00
mov eax, dword [esi + 4]
lea ecx, [esp + 0x24]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x244], ebx
call fcn.10005a90
mov edx, dword [0x10021310]
mov dword [esp + 0x14], edx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x2c]
push 0x104
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x248], 1
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x14]
push edx
mov word [esp + 0x236], bx
call fcn.10005180
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, ebp
call fcn.10005a90
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], bl
call fcn.10004f90
lea ecx, [esp + 0x24]
mov dword [esp + 0x23c], 0xffffffff
call fcn.10004f90
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
inc eax
shl edx, 1
cmp eax, 0x1a
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edx
jb 0x1001ed6b
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x230
ret
Function at 0x49e9e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1c
mov edx, dword [0xd3f044]
mov dword [esp + 0xc], edx
xor edx, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
sub edx, dword [0xd3f044]
jne 0x49ea0b
mov dword [esp + 0x20], eax
add esp, 0x1c
jmp 0x49e810
call fcn.00401690
Function at 0x4a0260
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ecx, 0x43ec70
vmovd xmm0, ecx
mov ebp, esp
push ebx
and esp, 0xffffffe0
sub esp, 0xf0
mov eax, dword [ebp + 8]
lea edx, [esp + 0x64]
lea ecx, [esp + 0x5c]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 0xc]
lea ebx, [esp + 0x54]
vmovd xmm2, edx
vmovd xmm1, ecx
lea edx, [esp + 0x60]
lea ecx, [esp + 0x58]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x10]
vmovd xmm3, ebx
lea ebx, [esp + 0x50]
vpinsrd xmm3, xmm3, ebx, 1
vpinsrd xmm2, xmm2, edx, 1
vpinsrd xmm1, xmm1, ecx, 1
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x14]
vpunpcklqdq xmm1, xmm1, xmm3
lea edx, [esp + 0x44]
lea ecx, [esp + 0x3c]
lea ebx, [esp + 0x34]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x18]
vmovd xmm3, ebx
lea ebx, [esp + 0x30]
vpinsrd xmm3, xmm3, ebx, 1
lea ebx, [esp + 0x70]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x24]
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x34]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x40]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x44]
mov dword [esp + 0xc8], 0
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x48]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x4c]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x50]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x58]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x5c]
mov dword [esp + 0x18], eax
mov eax, dword [0xd3f044]
mov dword [esp + 0xec], eax
mov eax, 0x43ed70
vpinsrd xmm0, xmm0, eax, 1
lea eax, [esp + 0x6c]
vmovq qword [esp + 0xe0], xmm0
vmovd xmm0, eax
lea eax, [esp + 0x68]
vpinsrd xmm0, xmm0, eax, 1
lea eax, [esp + 0x4c]
vpunpcklqdq xmm0, xmm0, xmm2
vmovd xmm2, edx
lea edx, [esp + 0x40]
vinserti128 ymm0, ymm0, xmm1, 1
vmovd xmm1, ecx
lea ecx, [esp + 0x38]
vmovdqu ymmword [esp + 0x70], ymm0
vmovd xmm0, eax
lea eax, [esp + 0x48]
vpinsrd xmm2, xmm2, edx, 1
vpinsrd xmm1, xmm1, ecx, 1
vpinsrd xmm0, xmm0, eax, 1
lea edx, [esp + 0x24]
vpunpcklqdq xmm1, xmm1, xmm3
vpunpcklqdq xmm0, xmm0, xmm2
lea eax, [esp + 0x2c]
vinserti128 ymm0, ymm0, xmm1, 1
vmovd xmm1, edx
lea edx, [esp + 0x20]
vmovdqu ymmword [esp + 0x90], ymm0
vmovd xmm0, eax
lea eax, [esp + 0x28]
vpinsrd xmm1, xmm1, edx, 1
vpinsrd xmm0, xmm0, eax, 1
lea eax, [esp + 0x1c]
vpunpcklqdq xmm0, xmm0, xmm1
vmovdqu xmmword [esp + 0xb0], xmm0
vmovd xmm0, eax
lea eax, [esp + 0x18]
vpinsrd xmm0, xmm0, eax, 1
mov eax, 0x43ec70
vmovq qword [esp + 0xc0], xmm0
vzeroupper
jmp 0x4a0457
mov eax, dword [esp + eax*4 + 0xe0]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 0xc8]
cmp eax, 1
jbe 0x4a0450
mov eax, dword [esp + 0xec]
sub eax, dword [0xd3f044]
jne 0x4a047c
Function at 0x508b40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebp, dword [0xd3f044]
mov dword [esp + 0x1c], ebp
xor ebp, ebp
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x60]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x1c]
sub ebp, dword [0xd3f044]
jne 0x508bcb
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], edi
mov dword [esp + 0x48], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x44], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x40], eax
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00508910
call fcn.00401690
Function at 0x52ea40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xa8]
mov ebp, dword [0xd3f044]
mov dword [esp + 0x4c], ebp
xor ebp, ebp
mov edx, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xac]
mov ebx, dword [esp + 0xbc]
mov esi, dword [esp + 0xc0]
mov dword [esp + 0x3c], eax
mov edi, dword [esp + 0xc4]
mov eax, dword [esp + 0xb0]
mov ebp, dword [esp + 0x4c]
sub ebp, dword [0xd3f044]
jne 0x52ec09
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc4], edi
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc0], esi
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xb4], edx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x74], eax
mov eax, dword [esp]
mov dword [esp + 0x70], eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0052e260
call fcn.00401690
nop
nop
Function at 0x555aa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0xa8]
mov ebp, dword [0xd3f044]
mov dword [esp + 0x4c], ebp
xor ebp, ebp
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x3c], eax
mov ebx, dword [esp + 0xb8]
mov eax, dword [esp + 0xac]
mov esi, dword [esp + 0xbc]
mov edi, dword [esp + 0xc0]
mov ebp, dword [esp + 0x4c]
sub ebp, dword [0xd3f044]
jne 0x555c55
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc0], edi
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xbc], esi
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xb0], edx
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.005555a0
call fcn.00401690
nop
nop
nop
nop
nop
nop
Function at 0x58a420
Capabilities:
Encode data using xor

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [0xd3f044]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
not eax
cmp esi, 3
jbe 0x58a500
lea edx, [esi - 4]
shr edx, 2
lea ebx, [ecx + edx*4 + 4]
nop
mov edx, eax
xor al, byte [ecx]
add ecx, 4
movzx eax, al
shr edx, 8
xor edx, dword [eax*4 + 0xa862c0]
mov eax, edx
xor dl, byte [ecx - 3]
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0xa862c0]
mov edx, eax
xor al, byte [ecx - 2]
movzx eax, al
shr edx, 8
xor edx, dword [eax*4 + 0xa862c0]
mov eax, edx
xor dl, byte [ecx - 1]
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0xa862c0]
cmp ecx, ebx
jne 0x58a450
and esi, 3
test esi, esi
je 0x58a4e6
mov edx, eax
xor al, byte [ebx]
movzx eax, al
shr edx, 8
xor edx, dword [eax*4 + 0xa862c0]
mov eax, edx
cmp esi, 1
je 0x58a4e6
xor al, byte [ebx + 1]
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0xa862c0]
mov eax, edx
cmp esi, 2
je 0x58a4e6
xor al, byte [ebx + 2]
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0xa862c0]
mov eax, edx
not eax
mov edx, dword [esp + 0xc]
sub edx, dword [0xd3f044]
jne 0x58a504
add esp, 0x14
pop ebx
pop esi
ret
mov ebx, ecx
jmp 0x58a4a1
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
Function at 0x5aa1a0
Capabilities:
Create directory

Disassembly:
push ebp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x22c
movzx ebx, byte [esi]
mov eax, dword [0xd3f044]
mov dword [esp + 0x21c], eax
xor eax, eax
lea ebp, [esp + 0x1b]
cmp bl, 0x40
jg 0x5aa270
lea edi, [esp + 0x1c]
mov ecx, ebp
xor eax, eax
mov dword [esp + 0x1b], 0
mov dword [esp + 0x218], 0
sub ecx, edi
add ecx, 0x201
shr ecx, 2
rep stosd dword es:[edi], eax
test bl, bl
je 0x5aa250
xor edi, edi
jmp 0x5aa22c
cmp bl, 0x5c
je 0x5aa231
mov dword [esp], edi
add esi, 1
mov dword [esp + 4], 1
call fcn.00402690
mov byte [esp + eax + 0x1a], bl
mov edi, eax
movzx ebx, byte [esi]
cmp eax, 0x200
je 0x5aa250
test bl, bl
je 0x5aa250
cmp bl, 0x2f
jne 0x5aa200
test edi, edi
je 0x5aa205
mov dword [esp], ebp
call dword [sym.imp.msvcrt.dll__mkdir]
cmp eax, 0xffffffff
je 0x5aa370
movzx ebx, byte [esi]
jmp 0x5aa205
xor eax, eax
mov edx, dword [esp + 0x21c]
sub edx, dword [0xd3f044]
jne 0x5aa39d
add esp, 0x22c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp bl, 0x5a
jg 0x5aa2b0
cmp byte [esi + 1], 0x3a
lea edi, [esp + 0x1c]
mov ecx, ebp
mov dword [esp + 0x1b], 0
mov dword [esp + 0x218], 0
je 0x5aa2d8
sub ecx, edi
xor eax, eax
add ecx, 0x201
shr ecx, 2
rep stosd dword es:[edi], eax
jmp 0x5aa1f6
lea eax, [ebx - 0x61]
cmp al, 0x19
jbe 0x5aa275
mov dword [esp + 0x1b], 0
lea edi, [esp + 0x1c]
mov ecx, ebp
mov dword [esp + 0x218], 0
jmp 0x5aa294
sub ecx, edi
xor eax, eax
add ecx, 0x201
shr ecx, 2
rep stosd dword es:[edi], eax
lea edi, [esi + 2]
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1c], 0x3a
movzx esi, byte [esi + 2]
mov eax, esi
test al, al
je 0x5aa250
mov ebx, 2
jmp 0x5aa348
cmp al, 0x5c
je 0x5aa34e
mov dword [esp], ebx
add edi, 1
mov dword [esp + 4], 1
call fcn.00402690
mov ebx, eax
mov eax, esi
movzx esi, byte [edi]
mov byte [esp + ebx + 0x1a], al
mov eax, esi
test al, al
je 0x5aa250
cmp ebx, 0x200
je 0x5aa250
mov eax, esi
cmp al, 0x2f
jne 0x5aa310
cmp ebx, 2
je 0x5aa314
mov dword [esp], ebp
call dword [sym.imp.msvcrt.dll__mkdir]
cmp eax, 0xffffffff
je 0x5aa390
movzx esi, byte [edi]
jmp 0x5aa314
call dword [sym.imp.msvcrt.dll__errno]
cmp dword [eax], 0x11
je 0x5aa247
mov eax, 0xffffffe9
jmp 0x5aa252
call dword [sym.imp.msvcrt.dll__errno]
cmp dword [eax], 0x11
je 0x5aa361
jmp 0x5aa37f
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop