joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100522e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
push eax
call fcn.10051ea0
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.1002799a
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x10052317
xor eax, eax
jmp 0x100523bc
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
push 0
push 0x40
push 0x8000
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.1003d863
add esp, 0x14
test eax, eax
jne 0x100523a7
push 0x10075c00
mov edx, dword [ebp - 0x10]
push edx
call fcn.1003d883
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1005239b
mov eax, dword [ebp - 0x14]
push eax
push 1
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.1003cd19
add esp, 0x10
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.10052250
add esp, 0xc
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0x14]
push eax
call fcn.1003c354
add esp, 4
jmp 0x100523a7
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1003dab3
add esp, 4
mov edx, dword [ebp - 4]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.100279a5
add esp, 4
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x100524a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b825
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1008acc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10001e70
mov byte [ebp - 4], 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.100523c0
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x1005257a
lea ecx, [ebp - 0x18]
call fcn.1001ad60
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x1c], 0
push 0x10075934
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.1003bdb1
add esp, 0xc
test eax, eax
jne 0x1005257a
mov byte [ebp - 0x20], 0xff
mov byte [ebp - 0x1f], 0xfe
mov ecx, dword [ebp - 0x1c]
push ecx
push 1
push 2
lea edx, [ebp - 0x20]
push edx
call fcn.1003bf66
add esp, 0x10
mov eax, dword [ebp - 0x1c]
push eax
push 1
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10038668
add esp, 4
shl eax, 1
push eax
mov edx, dword [ebp + 0xc]
push edx
call fcn.1003bf66
add esp, 0x10
mov eax, dword [ebp - 0x1c]
push eax
call fcn.1003c354
add esp, 4
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10001fa0
jmp 0x10052595
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10052950
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006bd0f
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x1008acc0]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10052aac
mov dword [ebp - 0x18], 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x10052aa2
mov dword [ebp - 0x1c], 0
jmp 0x100529ed
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x18]
jae 0x10052a9b
xor ecx, ecx
mov word [ebp - 0x22c], cx
push 0x206
push 0
lea edx, [ebp - 0x22a]
push edx
call fcn.10038c10
add esp, 0xc
mov dword [ebp - 0x230], 0x104
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x22c]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10052a96
lea ecx, [ebp - 0x22c]
push ecx
lea ecx, [ebp - 0x234]
call fcn.10001d60
mov dword [ebp - 0x238], eax
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x23c], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x23c]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.100073c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call fcn.10001fa0
jmp 0x100529e4
mov dword [ebp - 0x14], 1
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.10038659
mov esp, ebp
pop ebp
ret
Function at 0x10052d80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006bd42
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x1008acc0]
xor eax, ebp
mov dword [ebp - 0x30], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x838]
call fcn.10001d60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x838]
push ecx
call fcn.100525c0
add esp, 4
push 0x10075ce8
lea ecx, [ebp - 0x838]
call fcn.10019780
push 0x400
push 0
lea edx, [ebp - 0x834]
push edx
call fcn.10038c10
add esp, 0xc
lea ecx, [ebp - 0x838]
call fcn.1001ad60
push eax
push 0x400
lea eax, [ebp - 0x834]
push eax
call fcn.1003b987
add esp, 0xc
lea ecx, [ebp - 0x838]
call fcn.10007360
xor ecx, ecx
mov word [ebp + eax*2 - 0x832], cx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 3
lea edx, [ebp - 0x834]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], 0
mov eax, 0x14
mov word [ebp - 0x1c], ax
mov dword [ebp - 0x1a], 0
mov dword [ebp - 0x16], 0
mov dword [ebp - 0x12], 0
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x838]
call fcn.10001fa0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x30]
xor ecx, ebp
call fcn.10038659
mov esp, ebp
pop ebp
ret

Function at 0x10052ea0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1008acc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.10038c10
add esp, 0xc
mov dword [ebp - 0x214], 0x104
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp + 8]
call fcn.10001d60
mov edx, dword [ebp - 0x218]
or edx, 1
mov dword [ebp - 0x218], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10038659
mov esp, ebp
pop ebp
ret

Function at 0x10052f30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006bd75
mov eax, dword fs:[0]
push eax
sub esp, 0x810
mov eax, dword [0x1008acc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x81c], 0
xor eax, eax
mov word [ebp - 0x814], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x812]
push ecx
call fcn.10038c10
add esp, 0xc
lea edx, [ebp - 0x814]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x818]
call fcn.10001d60
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x818]
push ecx
call fcn.100525c0
add esp, 4
lea edx, [ebp - 0x818]
push edx
mov ecx, dword [ebp + 8]
call fcn.100020f0
mov eax, dword [ebp - 0x81c]
or eax, 1
mov dword [ebp - 0x81c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x818]
call fcn.10001fa0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10038659
mov esp, ebp
pop ebp
ret
Function at 0x10054e60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006c743
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x1008acc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x224], 0
mov eax, dword [0x10092f84]
and eax, 1
jne 0x10054ec5
mov ecx, dword [0x10092f84]
or ecx, 1
mov dword [0x10092f84], ecx
mov ecx, 0x10092f80
call fcn.10001e70
push 0x1006fcf0
call fcn.100391a5
add esp, 4
mov ecx, 0x10092f80
call fcn.100071f0
movzx edx, al
test edx, edx
je 0x10054f97
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x206
push 0
lea ecx, [ebp - 0x21a]
push ecx
call fcn.10038c10
add esp, 0xc
lea edx, [ebp - 0x21c]
push edx
push 0
push 0
push 0x8005
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x10054f4c
movzx eax, word [ebp - 0x21c]
push eax
call fcn.1003de92
add esp, 4
mov word [ebp - 0x21c], ax
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea edx, [ebp - 0x21c]
push edx
mov ecx, 0x10092f80
call fcn.10002690
jmp 0x10054f97
lea eax, [ebp - 0x220]
push eax
call fcn.10054ab0
add esp, 4
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x22c]
push edx
mov ecx, 0x10092f80
call fcn.1000a240
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.10001fa0
push 0x10092f80
mov ecx, dword [ebp + 8]
call fcn.100020f0
mov eax, dword [ebp - 0x224]
or eax, 1
mov dword [ebp - 0x224], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10038659
mov esp, ebp
pop ebp
ret
Function at 0x10055750
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006cbf5
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x1008acc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
call fcn.10051ea0
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 0
push 0
push 0x40
push 0x8000
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.1003d863
add esp, 0x14
test eax, eax
jne 0x10055878
push 0x1007588c
mov eax, dword [ebp - 0x20]
push eax
call fcn.1003d883
add esp, 8
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x1005586c
mov ecx, dword [ebp - 0x1c]
add ecx, 4
push ecx
call fcn.1002799a
add esp, 4
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1005585e
mov ecx, dword [ebp - 0x1c]
add ecx, 4
push ecx
push 0
mov edx, dword [ebp - 0x14]
push edx
call fcn.10038c10
add esp, 0xc
mov eax, dword [ebp - 0x24]
push eax
push 1
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.1003cd19
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.100550a0
add esp, 0x18
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.1003c354
add esp, 4
jmp 0x10055878
mov edx, dword [ebp - 0x20]
push edx
call fcn.1003dab3
add esp, 4
jmp 0x10055887
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.100279a5
add esp, 4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10057f60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006bf86
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1008acc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
cmp dword [ebp + 8], 0
jne 0x10057f9c
mov ecx, dword [ebp - 0x1c]
add ecx, 0x64
call fcn.1001ad60
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], 0
push 0x3a
mov eax, dword [ebp + 8]
push eax
call fcn.10039567
add esp, 8
test eax, eax
jne 0x10058039
push 0x40
mov ecx, dword [ebp + 8]
push ecx
call fcn.10039567
add esp, 8
test eax, eax
je 0x10058039
push str.mailto:
lea ecx, [ebp - 0x14]
call fcn.10001d60
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.100070c0
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x28]
call fcn.1001ad60
push eax
push 0x10075ee4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x18]
call fcn.10001fa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10001fa0
jmp 0x10058055
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0x10075ef0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x10], eax
xor eax, eax
cmp dword [ebp - 0x10], 0x20
setg al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x10059930
Capabilities:
Enumerate pe sections
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movzx edx, word [eax + 0x14]
lea eax, [ecx + edx + 0x18]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x10059966
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
add edx, 0x28
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
movzx edx, word [ecx + 6]
cmp dword [ebp - 4], edx
jge 0x10059a7b
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
and ecx, 0x20000000
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x24]
and eax, 0x40000000
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x24]
and edx, 0x80000000
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
and ecx, 0x2000000
je 0x100599e2
push 0x4000
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x10059954
mov eax, dword [ebp - 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x1c]
lea edx, [eax + ecx*8 + 0x1008c0d4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + eax*4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x24]
and eax, 0x4000000
je 0x10059a14
mov ecx, dword [ebp - 0x18]
or ecx, 0x200
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10059a54
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x24]
and edx, 0x40
je 0x10059a3b
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x20], edx
jmp 0x10059a54
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
and ecx, 0x80
je 0x10059a54
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
jbe 0x10059a76
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x10059954
mov esp, ebp
pop ebp
ret
Function at 0x10059a80
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
movzx ecx, word [edx + 0x14]
lea edx, [eax + ecx + 0x18]
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
jmp 0x10059abf
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
movzx ecx, word [eax + 6]
cmp dword [ebp - 4], ecx
jge 0x10059b70
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x10], 0
jne 0x10059b24
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
jle 0x10059b22
push 4
push 0x1000
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.10038c10
add esp, 0xc
jmp 0x10059aad
push 4
push 0x1000
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.100391c0
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov dword [eax + 8], ecx
jmp 0x10059aad
mov esp, ebp
pop ebp
ret
Function at 0x10060040
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d5ee
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1008acc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.1005f4f0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.100133c0
movzx ecx, al
test ecx, ecx
je 0x1006009e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1001a7a0
jmp 0x100601f4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea edx, [ebp - 0x18]
push edx
call fcn.10054290
add esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
push ecx
call fcn.10011a20
add esp, 4
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.10007010
add esp, 0xc
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 3
push 0x10076420
mov ecx, dword [ebp - 0x44]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.100070c0
add esp, 0xc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call fcn.10001fa0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call fcn.10001fa0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x18]
call fcn.10001fa0
lea ecx, [ebp - 0x10]
call fcn.1001ad60
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0x14]
call fcn.1001ad60
push eax
lea ecx, [ebp - 0x28]
call fcn.1000a140
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x50]
call fcn.1001ad60
push eax
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx]
mov ecx, dword [eax + 0x40]
call ecx
xor edx, edx
test eax, eax
setl dl
mov byte [ebp - 0x21], dl
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.1000a190
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x100601bd
push 0
push 0
push 0x23bb
call fcn.100558c0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10001fa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1001a7a0
jmp 0x100601f4
push 5
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.1001ad60
push eax
push 0x1007642c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10001fa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1001a7a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10063dd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006b902
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1008acc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x10]
call fcn.10001e70
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x78
call fcn.1002c70f
lea ecx, [ebp - 0x10]
push ecx
call fcn.100525c0
add esp, 4
push 0x100775cc
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x14]
push eax
call fcn.100070c0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.100071f0
movzx ecx, al
test ecx, ecx
jne 0x10063e66
lea ecx, [ebp - 0x14]
call fcn.1001ad60
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10063e66
mov dword [ebp - 0x1c], 1
jmp 0x10063e6d
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 0xcc
call fcn.1002e2e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10001fa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10001fa0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10067460
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d1b7
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1008acc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x44]
add ecx, 4
call fcn.100133c0
movzx eax, al
test eax, eax
je 0x100674a1
xor eax, eax
jmp 0x100675b3
mov ecx, dword [ebp + 8]
push ecx
call fcn.10051ea0
add esp, 4
cmp eax, 0xa
jae 0x100674bc
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100674d1
xor eax, eax
jmp 0x100675b3
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x20]
call fcn.1000a140
mov dword [ebp - 4], 0
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x1c]
call fcn.10027800
mov byte [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x24], ax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x44]
add ecx, 4
call fcn.1001ad60
mov dword [ebp - 0x48], eax
lea edx, [ebp - 0x24]
push edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x38]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x34]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x30]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx]
mov eax, dword [edx + 0xe8]
call eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x10067562
movsx ecx, word [ebp - 0x24]
test ecx, ecx
jne 0x10067570
cmp dword [ebp + 0xc], 0
je 0x10067570
mov ecx, dword [ebp - 0x44]
call fcn.100671c0
cmp dword [ebp - 0x28], 0
jl 0x10067588
movsx edx, word [ebp - 0x24]
cmp edx, 0xffffffff
jne 0x10067588
mov dword [ebp - 0x4c], 1
jmp 0x1006758f
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.1001b5d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.1000a190
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8