joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ecfd0
Capabilities:
Create pipe
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56fe88
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x5bda40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x18]
call fcn.00410610
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x3c], 0xc
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x38], 0
push 0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x4ed04c
jmp 0x4ed12f
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoW]
mov dword [ebp - 0x60], 0x101
xor ecx, ecx
mov word [ebp - 0x5c], cx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x54], ecx
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x8c]
push eax
push 0
push 0
push 0x20
push 1
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x4ed0a9
jmp 0x4ed12f
cmp dword [ebp + 0xc], 0
je 0x4ed0b1
jmp 0x4ed12f
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x90]
call fcn.00406900
push 0x3e8
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4ed0f7
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
test eax, eax
jne 0x4ed0f7
lea ecx, [ebp - 0x90]
call fcn.004072c0
jmp 0x4ed12f
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x90]
call fcn.004072c0
xor eax, eax
jne 0x4ed015
cmp dword [ebp - 0x14], 0
je 0x4ed146
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x10], 0
je 0x4ed15d
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004072c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4ed2a0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], 0x288
mov dword [ebp - 0x10], 0x288
mov eax, dword [ebp - 0x10]
push eax
call fcn.00519a8e
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4ed2e6
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x14]
push edx
call fcn.0053f680
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
jmp 0x4ed2ed
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x4ed2fe
jmp 0x4ed3ee
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x4ed32e
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00519abd
add esp, 4
mov dword [ebp - 4], 0
jmp 0x4ed3ee
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4ed3cf
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
jmp 0x4ed353
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
je 0x4ed3cf
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x1a0], 6
je 0x4ed367
jmp 0x4ed34b
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x190], 6
je 0x4ed375
jmp 0x4ed34b
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x199]
push edx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x198]
push ecx
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x197]
push eax
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x196]
push edx
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + 0x195]
push ecx
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x194]
push eax
push 0x5890a8
mov ecx, dword [ebp + 8]
push ecx
call fcn.004089d0
add esp, 0x20
jmp 0x4ed3cf
cmp dword [ebp - 4], 0
je 0x4ed3ee
mov edx, dword [ebp - 4]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00519abd
add esp, 4
mov dword [ebp - 4], 0
mov esp, ebp
pop ebp
ret 4
Function at 0x4ed400
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], 0x170
mov dword [ebp - 0x10], 0x170
mov eax, dword [ebp - 0x10]
push eax
call fcn.00519a8e
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4ed446
mov ecx, dword [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x14]
push edx
call fcn.0053f680
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
jmp 0x4ed44d
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x4ed45e
jmp 0x4ed531
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
push 0
push 0
push 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
cmp eax, 0x6f
jne 0x4ed494
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00519abd
add esp, 4
mov dword [ebp - 4], 0
jmp 0x4ed531
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0
push 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
test eax, eax
jne 0x4ed512
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
jmp 0x4ed4bc
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
je 0x4ed512
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x34], 6
je 0x4ed4cd
jmp 0x4ed4b3
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x31]
push ecx
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 0x30]
push eax
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 0x2f]
push edx
mov eax, dword [ebp - 0xc]
movzx ecx, byte [eax + 0x2e]
push ecx
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 0x2d]
push eax
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx + 0x2c]
push edx
push 0x5890e4
mov eax, dword [ebp + 8]
push eax
call fcn.004089d0
add esp, 0x20
jmp 0x4ed512
cmp dword [ebp - 4], 0
je 0x4ed531
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00519abd
add esp, 4
mov dword [ebp - 4], 0
mov esp, ebp
pop ebp
ret 4
Function at 0x4f2380
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x4f2390
xor eax, eax
jmp 0x4f252d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x4f24ee
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x5882c0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x5882c0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x5882c0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x5882c0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x5882c0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x5882c0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x5882c0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x5882c0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x4f2399
cmp dword [ebp + 0x10], 0
je 0x4f2527
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x5882c0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x4f24f4
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x4f2530
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor eax, dword [ecx]
and eax, 0xff
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
shr ecx, 8
xor ecx, dword [eax*4 + 0x5882c0]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, 0xff
mov edx, dword [ebp + 8]
add ecx, dword [edx + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
imul edx, edx, 0x8088405
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0x18
mov eax, dword [ebp + 8]
xor edx, dword [eax + 8]
and edx, 0xff
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x5882c0]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
pop ebp
ret

Function at 0x4f34f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x4f353f
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4f3535
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x4f3599
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x18]
jbe 0x4f355f
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x18]
sub edx, dword [ecx + 0x1c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x1c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.00543950
add esp, 0xc
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4f4d80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jne 0x4f4d9b
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 4], 0xffffffff
je 0x4f4da5
mov eax, 0x1000000
jmp 0x4f4ebb
mov edx, dword [ebp - 0x18]
add edx, 0x244
push edx
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
mov eax, dword [ebp - 0x18]
add eax, 0x244
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 2
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x1c]
mov ax, word [edx]
mov word [ebp - 0x22], ax
add dword [ebp - 0x1c], 2
cmp word [ebp - 0x22], 0
jne 0x4f4dce
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x20]
sar ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov cx, word [eax + edx*2 + 0x242]
mov word [ebp - 8], cx
movzx edx, word [ebp - 8]
cmp edx, 0x5c
je 0x4f4e3f
movzx eax, word [ebp - 8]
cmp eax, 0x2f
je 0x4f4e3f
mov ecx, dword [ebp - 0x18]
add ecx, 0x242
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov ax, word [edx + 2]
mov word [ebp - 0x2e], ax
add dword [ebp - 0x2c], 2
cmp word [ebp - 0x2e], 0
jne 0x4f4e1e
mov edi, dword [ebp - 0x2c]
mov ecx, dword [0x588758]
mov dword [edi], ecx
cmp dword [ebp + 0x10], 1
jne 0x4f4e73
push 1
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov dword [ebp - 0x10], eax
xor eax, eax
cmp dword [ebp - 0x10], 0xffffffff
setne al
mov byte [ebp - 0x11], al
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
jne 0x4f4e73
mov eax, 0x2000000
jmp 0x4f4ebb
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004f31d0
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4f4e99
mov eax, dword [ebp - 0xc]
jmp 0x4f4ebb
mov eax, dword [ebp - 4]
push eax
call fcn.004f38a0
add esp, 4
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx], 0
jne 0x4f4eb9
mov eax, 0x200
jmp 0x4f4ebb
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4f6ee0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor eax, dword [ecx]
and eax, 0xff
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
shr ecx, 8
xor ecx, dword [eax*4 + 0x5864b0]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, 0xff
mov edx, dword [ebp + 8]
add ecx, dword [edx + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
imul edx, edx, 0x8088405
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0x18
mov eax, dword [ebp + 8]
xor edx, dword [eax + 8]
and edx, 0xff
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x5864b0]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
pop ebp
ret
Function at 0x4f7060
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x2d]
test edx, edx
je 0x4f7142
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x3c], 0
je 0x4f70b1
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x40]
cmp edx, dword [ebp + 0xc]
jae 0x4f70b1
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.00519abd
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x3c], 0
jne 0x4f70dd
mov edx, dword [ebp + 0xc]
shl edx, 1
push edx
call fcn.00519ac8
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x3c], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0x40], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x3c]
push ecx
call fcn.00543950
add esp, 0xc
mov dword [ebp - 8], 0
jmp 0x4f7106
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jae 0x4f7139
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 8]
movzx ecx, byte [edx + eax]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x30
push edx
call fcn.004f6f60
add esp, 8
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x3c]
mov ecx, dword [ebp - 8]
mov byte [edx + ecx], al
jmp 0x4f70fd
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x20], 0
je 0x4f719d
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x24]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
cmp eax, dword [ecx + 0x28]
jb 0x4f716a
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], 0x30000
xor eax, eax
jmp 0x4f71d2
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0x18]
add eax, dword [ecx + 0x24]
push eax
call fcn.00543950
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x24]
add eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x24], eax
mov eax, dword [ebp + 0xc]
jmp 0x4f71d2
mov edx, dword [ebp - 0x18]
cmp dword [edx + 4], 0
je 0x4f71c6
push 0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
mov eax, dword [ebp - 0xc]
jmp 0x4f71d2
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x14], 0x1000000
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x4f7a30
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56fd98
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x5bda40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x90], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x6c]
call fcn.004020a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x6c]
call fcn.0042bf40
sub eax, 1
push eax
lea ecx, [ebp - 0x6c]
call fcn.004f7c70
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x4f7a9c
push 0x5c
push 1
lea ecx, [ebp - 0x6c]
call fcn.004f7bf0
lea ecx, [ebp - 0x44]
call fcn.00411210
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00402070
mov byte [ebp - 4], 2
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x70], 0
jmp 0x4f7acd
mov edx, dword [ebp - 0x70]
add edx, 1
mov dword [ebp - 0x70], edx
lea ecx, [ebp - 0x6c]
call fcn.0042bf40
cmp dword [ebp - 0x70], eax
jae 0x4f7b24
mov eax, dword [ebp - 0x70]
push eax
lea ecx, [ebp - 0x6c]
call fcn.004f7c70
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x4f7b0a
mov edx, dword [ebp - 0x70]
push edx
lea ecx, [ebp - 0x6c]
call fcn.004f7c70
movzx eax, word [eax]
push eax
push 1
lea ecx, [ebp - 0x2c]
call fcn.004f7bf0
jmp 0x4f7b22
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x44]
call fcn.004113f0
push 0x5c
push 1
lea ecx, [ebp - 0x2c]
call fcn.004f7bf0
jmp 0x4f7ac4
lea ecx, [ebp - 0x4c]
call fcn.004316d0
lea edx, [ebp - 0x78]
push edx
lea ecx, [ebp - 0x44]
call fcn.0041d680
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], edx
jmp 0x4f7b53
push 0
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004f7cc0
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00445a90
push eax
lea ecx, [ebp - 0x4c]
call fcn.00420000
movzx edx, al
test edx, edx
je 0x4f7b95
push 0
lea ecx, [ebp - 0x4c]
call fcn.004f7ca0
mov ecx, eax
call fcn.00402100
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x50], eax
jmp 0x4f7b45
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004020e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00411380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x6c]
call fcn.004020e0
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00538a54
mov esp, ebp
pop ebp
ret 4
Function at 0x4f8090
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x5bda40]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x88], ecx
mov byte [ebp - 0x48], 0
push 0x3f
push 0
lea eax, [ebp - 0x47]
push eax
call fcn.0053f680
add esp, 0xc
push 0x40
lea ecx, [ebp - 0x48]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x88]
call fcn.004f89a0
mov byte [ebp - 0x80], 0
push 0x37
push 0
lea eax, [ebp - 0x7f]
push eax
call fcn.0053f680
add esp, 0xc
mov dword [ebp - 0x84], 0
jmp 0x4f8101
mov ecx, dword [ebp - 0x84]
add ecx, 1
mov dword [ebp - 0x84], ecx
cmp dword [ebp - 0x84], 0x38
jge 0x4f8127
mov edx, dword [ebp - 0x84]
movsx eax, byte [edx + str.91__]
mov ecx, dword [ebp - 0x84]
mov dl, byte [ebp + eax - 0x49]
mov byte [ebp + ecx - 0x80], dl
jmp 0x4f80f2
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [ebp - 0x88]
call fcn.004f8150
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00538a54
mov esp, ebp
pop ebp
ret 8
Function at 0x4f8390
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x5bda40]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x114], ecx
mov byte [ebp - 0x68], 0
push 0x3f
push 0
lea eax, [ebp - 0x67]
push eax
call fcn.0053f680
add esp, 0xc
mov byte [ebp - 0xc8], 0
push 0x3f
push 0
lea ecx, [ebp - 0xc7]
push ecx
call fcn.0053f680
add esp, 0xc
mov byte [ebp - 0x24], 0
xor edx, edx
mov dword [ebp - 0x23], edx
mov dword [ebp - 0x1f], edx
mov dword [ebp - 0x1b], edx
mov dword [ebp - 0x17], edx
mov dword [ebp - 0x13], edx
mov dword [ebp - 0xf], edx
mov dword [ebp - 0xb], edx
mov word [ebp - 7], dx
mov byte [ebp - 5], dl
mov byte [ebp - 0x88], 0
xor eax, eax
mov dword [ebp - 0x87], eax
mov dword [ebp - 0x83], eax
mov dword [ebp - 0x7f], eax
mov dword [ebp - 0x7b], eax
mov dword [ebp - 0x77], eax
mov dword [ebp - 0x73], eax
mov dword [ebp - 0x6f], eax
mov word [ebp - 0x6b], ax
mov byte [ebp - 0x69], al
mov byte [ebp - 0x108], 0
push 0x3f
push 0
lea ecx, [ebp - 0x107]
push ecx
call fcn.0053f680
add esp, 0xc
push 0x40
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x114]
call fcn.004f89a0
lea ecx, [ebp - 0xc8]
push ecx
lea edx, [ebp - 0x68]
push edx
mov ecx, dword [ebp - 0x114]
call fcn.004f8740
mov ecx, 8
lea esi, [ebp - 0xc8]
lea edi, [ebp - 0x88]
rep movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0xa8]
mov ecx, 8
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10c], 0
jmp 0x4f84a9
mov eax, dword [ebp - 0x10c]
add eax, 1
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0x10
jge 0x4f84da
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, 0xf
sub edx, dword [ebp - 0x10c]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [ebp - 0x114]
call fcn.004f8590
jmp 0x4f849a
mov ecx, 8
lea esi, [ebp - 0x24]
lea edi, [ebp - 0x108]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [ebp - 0x88]
lea edi, [ebp - 0xe8]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x110], 0
jmp 0x4f8518
mov edx, dword [ebp - 0x110]
add edx, 1
mov dword [ebp - 0x110], edx
cmp dword [ebp - 0x110], 0x40
jge 0x4f8549
mov eax, dword [ebp - 0x110]
movsx ecx, byte [eax + 0x584a30]
mov edx, dword [ebp - 0x114]
add edx, dword [ebp - 0x110]
mov al, byte [ebp + ecx - 0x109]
mov byte [edx + 0x640], al
jmp 0x4f8509
push 0x40
mov ecx, dword [ebp - 0x114]
add ecx, 0x640
push ecx
mov edx, dword [ebp - 0x114]
add edx, 0x688
push edx
mov ecx, dword [ebp - 0x114]
call fcn.004f8a00
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00538a54
mov esp, ebp
pop ebp
ret 8

Function at 0x4f8740
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0x4f875b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x40
jge 0x4f877c
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx + str.:2_]
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + edx - 1]
mov byte [eax], dl
jmp 0x4f8752
mov esp, ebp
pop ebp
ret 8