joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a3fe4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov edx, dword [ebp - 4]
mov eax, 0x4a404c
call fcn.00404d3c
test eax, eax
jne 0x4a403d
mov edx, dword [ebp - 4]
mov eax, 0x4a4058
call fcn.00404d3c
test eax, eax
jne 0x4a403d
lea eax, [ebp - 0x10c]
mov edx, dword [ebp - 4]
call fcn.00409c04
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x4a403d
test byte [ebp - 0xc], 0x10
je 0x4a403d
mov byte [ebp - 5], 1
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
movzx eax, word [ebp - 0xa]
dec eax
test eax, eax
jl 0x4a4fc5
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
xor al, byte [ebp - 0x14]
and eax, 0xff
mov eax, dword [eax*4 + 0x4cdf08]
mov edx, dword [ebp - 0x14]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ebp - 0x14], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x4a4f94
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
mov esp, ebp
pop ebp
ret

Function at 0x4a4fd4
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov al, byte [ebp - 8]
xor al, byte [ebp - 1]
and eax, 0xff
mov eax, dword [eax*4 + 0x4cdf08]
mov edx, dword [ebp - 8]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x4a7140
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
sub eax, 1
jno 0x4a716a
call fcn.00403908
test eax, eax
jl 0x4a71a6
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x14]
mov edx, dword [ebp - 0x18]
xor al, byte [edx]
and eax, 0xff
mov edx, dword [0x4ce74c]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 0x14]
shr edx, 8
xor eax, edx
mov dword [ebp - 0x14], eax
add dword [ebp - 0x18], 1
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x4a7179
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [eax], edx
mov esp, ebp
pop ebp
ret
Function at 0x4a92a8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a92f9
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004a8438
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9300
lea eax, [ebp - 0x10]
call fcn.00404738
ret

Function at 0x4b1a7c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 8]
call fcn.004a85f4
mov dword [ebp - 0x14], eax
push 0xffff
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x419504]
call fcn.0041d3b4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4b1b43
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4b1af6
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1afd
mov eax, dword [ebp - 0x10]
call fcn.004039c8
ret
Function at 0x4b668c
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 4], 0
jne 0x4b66b8
mov ecx, 0xc4
mov edx, 0x4b677c
mov eax, 0x4b67c8
call fcn.00404718
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4b6755
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x20]
and eax, 0xffff
or eax, 2
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov al, byte [eax]
mov edx, dword [ebp - 0x14]
xor edx, 1
imul edx, dword [ebp - 0x14]
shr edx, 8
xor al, dl
mov edx, dword [ebp - 0x18]
mov byte [edx], al
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov al, byte [eax]
call fcn.004a4fd4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
and eax, 0xff
add dword [ebp - 0x24], eax
imul eax, dword [ebp - 0x24], 0x8088405
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
shr eax, 0x18
mov edx, dword [ebp - 0x20]
call fcn.004a4fd4
mov dword [ebp - 0x20], eax
inc dword [ebp - 0x18]
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x4b66ec
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x28]
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x10], edx
mov esp, ebp
pop ebp
ret
Function at 0x4b6810
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 0
jne 0x4b6839
mov ecx, 0xf4
mov edx, 0x4b68fc
mov eax, 0x4b6948
call fcn.00404718
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004b697c
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
and eax, 0xffff
or eax, 2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor eax, 1
imul dword [ebp - 0x18]
shr eax, 8
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
xor al, byte [edx + ecx]
mov edx, dword [ebp - 0x14]
mov byte [ebp + edx - 0x24], al
mov eax, dword [ebp - 0x14]
mov al, byte [ebp + eax - 0x24]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
call fcn.004a4fd4
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
and eax, 0xff
mov edx, dword [ebp - 4]
add dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
imul eax, dword [eax + 0xc], 0x8088405
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
shr eax, 0x18
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
call fcn.004a4fd4
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xc
jne 0x4b6849
mov al, byte [ebp + 0xb]
cmp al, byte [ebp - 0x19]
sete byte [ebp - 0xd]
mov al, byte [ebp - 0xd]
mov edx, dword [ebp - 4]
mov byte [edx + 4], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret 4

Function at 0x4b697c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x12345678
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x23456789
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0x34567890
mov eax, dword [ebp - 8]
call fcn.004049f8
test eax, eax
jle 0x4b6a1b
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov al, byte [eax + edx - 1]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
call fcn.004a4fd4
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
and eax, 0xff
mov edx, dword [ebp - 4]
add dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
imul eax, dword [eax + 0xc], 0x8088405
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
shr eax, 0x18
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
call fcn.004a4fd4
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x4b69bc
mov esp, ebp
pop ebp
ret
Function at 0x4b7074
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 4], 0
jne 0x4b70a0
mov ecx, 0x1f3
mov edx, 0x4b7168
mov eax, 0x4b71b4
call fcn.00404718
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4b7141
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x24]
and eax, 0xffff
or eax, 2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov al, byte [eax]
mov byte [ebp - 0xd], al
mov al, byte [ebp - 0xd]
mov edx, dword [ebp - 0x18]
xor edx, 1
imul edx, dword [ebp - 0x18]
shr edx, 8
xor al, dl
mov edx, dword [ebp - 0x1c]
mov byte [edx], al
mov edx, dword [ebp - 0x2c]
mov al, byte [ebp - 0xd]
call fcn.004a4fd4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
and eax, 0xff
add dword [ebp - 0x28], eax
imul eax, dword [ebp - 0x28], 0x8088405
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
shr eax, 0x18
mov edx, dword [ebp - 0x24]
call fcn.004a4fd4
mov dword [ebp - 0x24], eax
inc dword [ebp - 0x1c]
inc dword [ebp - 0x14]
dec dword [ebp - 0x20]
jne 0x4b70d4
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x2c]
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x28]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x10], edx
mov esp, ebp
pop ebp
ret

Function at 0x4b71f4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x12345678
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x23456789
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0x34567890
mov eax, dword [ebp - 8]
call fcn.004049f8
test eax, eax
jle 0x4b7293
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov al, byte [eax + edx - 1]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
call fcn.004a4fd4
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
and eax, 0xff
mov edx, dword [ebp - 4]
add dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
imul eax, dword [eax + 0xc], 0x8088405
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
shr eax, 0x18
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
call fcn.004a4fd4
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x4b7234
mov esp, ebp
pop ebp
ret
Function at 0x4bd134
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4bd202
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov ax, word [eax + 0xc]
or ax, 2
mov word [ebp - 0x12], ax
movzx eax, word [ebp - 0x12]
mov dx, word [ebp - 0x12]
xor dx, 1
movzx edx, dx
imul edx
shr eax, 8
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor byte [edx + ecx], al
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
call fcn.004a4fd4
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
and eax, 0xff
mov edx, dword [ebp - 4]
add dword [edx + 8], eax
mov eax, dword [ebp - 4]
imul eax, dword [eax + 8], 0x8088405
inc eax
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
shr eax, 0x18
mov edx, dword [ebp - 4]
xor al, byte [edx + 0xc]
and eax, 0xff
mov edx, dword [0x4ce74c]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x4bd15a
mov esp, ebp
pop ebp
ret
Function at 0x4bd2e4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
call fcn.0041cf00
mov dword [ebp - 0x14], eax
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xe], 0
jmp 0x4bd3c2
mov eax, dword [ebp - 4]
call fcn.004bd280
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0x14]
mov eax, dword [ebp - 4]
lea edx, [eax + 0x10]
mov ecx, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0xc]
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.004bd208
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
xor byte [ecx + edx + 0x10], al
mov eax, dword [ebp - 4]
lea edx, [eax + 4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov al, byte [ecx + eax + 0x10]
call fcn.004bd3fc
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xc
jne 0x4bd33c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x20], 0
je 0x4bd387
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x1b]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x1f]
sete byte [ebp - 0xd]
jmp 0x4bd3ac
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x1b]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x1f]
jne 0x4bd3a3
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x1a]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x1e]
je 0x4bd3a7
xor eax, eax
jmp 0x4bd3a9
mov al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x4bd3bf
mov eax, dword [ebp - 4]
lea edx, [eax + 0x30]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
inc byte [ebp - 0xe]
cmp byte [ebp - 0xd], 0
jne 0x4bd3d7
mov al, byte [ebp - 0xe]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x34]
jb 0x4bd309
cmp byte [ebp - 0xd], 0
jne 0x4bd3ee
mov dl, 1
mov eax, dword [0x4a0eb8]
call fcn.004a220c
call fcn.00404154
mov al, byte [ebp - 0xd]
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4bd3fc
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], edx
mov byte [ebp - 1], al
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov al, byte [ebp - 1]
call fcn.004a4fd4
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 0xff
mov edx, dword [ebp - 8]
add dword [edx + 4], eax
mov eax, dword [ebp - 8]
imul eax, dword [eax + 4], 0x8088405
inc eax
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
shr eax, 0x18
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
call fcn.004a4fd4
mov edx, dword [ebp - 8]
mov dword [edx + 8], eax
pop ecx
pop ecx
pop ebp
ret
Function at 0x4c0bf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9ec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404be8
mov eax, dword [ebp - 0xc]
call fcn.00404be8
xor eax, eax
push ebp
push 0x4c0c81
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x613]
mov edx, dword [ebp - 0xc]
call fcn.00409c04
push eax
lea eax, [ebp - 0x412]
mov edx, dword [ebp - 8]
call fcn.00409c04
push eax
lea eax, [ebp - 0x211]
mov edx, dword [ebp - 4]
call fcn.00409c04
push eax
push 0
mov eax, dword [0x4cead8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0c88
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0040475c
ret

Function at 0x4c0c94
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff9f0
xor edx, edx
mov dword [ebp - 0x610], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c0d09
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
push 0x4c0d18
lea eax, [ebp - 0x610]
mov ecx, dword [ebp - 4]
mov edx, 0x4c0d24
call fcn.00404a44
mov eax, dword [ebp - 0x610]
call fcn.00404bf8
push eax
push 0x4c0d30
push 0x4c0d3c
push 0
call sub.shell32.dll_ShellExecuteA
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0d10
lea eax, [ebp - 0x610]
call fcn.00404738
ret

Function at 0x4c12b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
call fcn.004093c0
test al, al
je 0x4c1329
xor eax, eax
push ebp
push 0x4c1322
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00409584
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x4c12ef
call fcn.00404200
jmp 0x4c1336
test dword [ebp - 0xc], 1
jle 0x4c1306
mov edx, dword [ebp - 0xc]
and edx, 0xfffffffe
mov eax, dword [ebp - 4]
call fcn.00409598
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c1329
mov eax, dword [ebp - 4]
call fcn.00404bf8
push eax
call sub.kernel32.dll_DeleteFileA
ret
mov eax, dword [ebp - 4]
call fcn.004093c0
xor al, 1
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x4c1340
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x96
add esp, 0xfffff004
push eax
dec eax
jne 0x4c1349
mov eax, dword [ebp - 4]
add esp, 0xfffffea0
push ebx
push esi
push edi
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov byte [ebp - 6], 0
mov eax, dword [ebp - 4]
call fcn.00409584
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x4c1491
test dword [ebp - 0x14], 1
jle 0x4c1395
mov edx, dword [ebp - 0x14]
and edx, 0xfffffffe
mov eax, dword [ebp - 4]
call fcn.00409598
xor eax, eax
push ebp
push 0x4c1480
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x96018]
mov cl, byte [ebp - 5]
mov edx, 0x96000
call fcn.00403294
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x96164]
call fcn.00402f34
mov edx, 1
lea eax, [ebp - 0x96164]
call fcn.004033d8
call fcn.0040290c
lea eax, [ebp - 0x96164]
call fcn.00403248
call fcn.0040290c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, 0x96000
cdq
idiv ecx
test eax, eax
jle 0x4c142a
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 1
push 0
lea edx, [ebp - 0x96018]
mov ecx, 0x96000
lea eax, [ebp - 0x96164]
call fcn.00403084
call fcn.0040290c
inc dword [ebp - 0xc]
dec dword [ebp - 0x18]
jne 0x4c1405
push 0
mov eax, dword [ebp - 0x10]
mov ecx, 0x96000
cdq
idiv ecx
mov ecx, edx
lea edx, [ebp - 0x96018]
lea eax, [ebp - 0x96164]
call fcn.00403084
call fcn.0040290c
lea eax, [ebp - 0x96164]
call fcn.004030a4
call fcn.0040290c
mov eax, dword [ebp - 4]
call fcn.00404bf8
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 6], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c1491
mov al, byte [ebp - 6]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c149c
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd38
xor edx, edx
mov dword [ebp - 0x2c8], edx
mov dword [ebp - 0x2c4], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404be8
lea eax, [ebp - 0x168]
mov edx, dword [0x407d14]
call fcn.00405118
lea eax, [ebp - 0x2c0]
mov edx, dword [0x407d14]
call fcn.00405118
xor eax, eax
push ebp
push 0x4c16b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
cmp byte [eax - 1], 0
jne 0x4c1669
lea eax, [ebp - 0x10]
mov ecx, 0x4c16c8
mov edx, dword [ebp - 4]
call fcn.00404a44
lea ecx, [ebp - 0x168]
mov edx, 0x27
mov eax, dword [ebp - 0x10]
call fcn.00409624
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4c15a2
mov eax, dword [ebp + 8]
cmp byte [eax - 2], 0
je 0x4c1564
lea eax, [ebp - 0x2c4]
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ebp - 4]
call fcn.00404a44
mov eax, dword [ebp - 0x2c4]
mov dl, 0x78
call fcn.004c1340
test al, al
jne 0x4c158e
mov eax, dword [ebp + 8]
mov byte [eax - 3], 0
jmp 0x4c158e
lea eax, [ebp - 0x2c8]
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ebp - 4]
call fcn.00404a44
mov eax, dword [ebp - 0x2c8]
call fcn.004c12b0
test al, al
jne 0x4c158e
mov eax, dword [ebp + 8]
mov byte [eax - 3], 0
lea eax, [ebp - 0x168]
call fcn.00409674
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4c152d
lea eax, [ebp - 0x168]
call fcn.00409698
lea eax, [ebp - 0x10]
mov ecx, 0x4c16c8
mov edx, dword [ebp - 4]
call fcn.00404a44
lea ecx, [ebp - 0x2c0]
mov edx, 0x16
mov eax, dword [ebp - 0x10]
call fcn.00409624
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4c1629
test byte [ebp - 0x2b8], 0x10
je 0x4c1615
mov eax, dword [ebp - 0x2b4]
cmp byte [eax], 0x2e
je 0x4c1615
push dword [ebp - 4]
push dword [ebp - 0x2b4]
push 0x4c16d4
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404ab8
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x10]
call fcn.004c149c
pop ecx
lea eax, [ebp - 0x2c0]
call fcn.00409674
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4c15d9
lea eax, [ebp - 0x2c0]
call fcn.00409698
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004049f8
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404c58
mov eax, dword [ebp - 0xc]
call fcn.00404bf8
push eax
call sub.kernel32.dll_RemoveDirectoryA
test eax, eax
jne 0x4c1669
mov eax, dword [ebp + 8]
mov byte [eax - 3], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c16b9
lea eax, [ebp - 0x2c8]
mov edx, 2
call fcn.0040475c
lea eax, [ebp - 0x2c0]
mov edx, dword [0x407d14]
mov ecx, 2
call fcn.00405234
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0040475c
lea eax, [ebp - 4]
call fcn.00404738
ret
Function at 0x4c1c00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 9
mov eax, dword [0x4cead8]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.004544a0
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, dword [ebp - 8]
push eax
call sub.ole32.dll_CoTaskMemFree
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.004049a8
mov esp, ebp
pop ebp
ret

Function at 0x4c1c58
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [0x4cead8]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.004544a0
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, dword [ebp - 8]
push eax
call sub.ole32.dll_CoTaskMemFree
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.004049a8
mov esp, ebp
pop ebp
ret