joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100f8780
Capabilities:
Encrypt data using rc4 via winapi
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x10226180]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x10229c30], eax
push 0
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push 0
push 0x10229c38
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x100f883c
push 0x10229c2c
push 0
push 0
push 0x8004
mov eax, dword [0x10229c38]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x100f883c
push 1
push 0x1d
movzx ecx, byte [ebp - 0x3d]
push ecx
push str._A_dq1DPVFgVs1Aez_VS3R0hge_NvM_TJvblD44.af1h_r5bUzp
lea ecx, [ebp - 0x3c]
call fcn.100fb3b0
mov ecx, eax
call fcn.10049dc0
push eax
mov edx, dword [0x10229c2c]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x100f883c
push 0x10229c44
push 0x800000
mov eax, dword [0x10229c2c]
push eax
push 0x6801
mov ecx, dword [0x10229c38]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x100f883c
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
push 0x100f86b0
push 0x469170
call fcn.100010f0
mov dword [0x10229c34], eax
push 0x100f8760
push 0x4691c6
call fcn.100010f0
nop
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10150c60
mov esp, ebp
pop ebp
ret

Function at 0x100fcfd0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0x100fce20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
pop ebp
ret

Function at 0x100fd040
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0x100fcff0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
pop ebp
ret
Function at 0x1013beb0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b203d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10226180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x38]
call fcn.10008a60
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x30
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x38]
call fcn.100156a0
nop
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x38]
call fcn.100156a0
nop
mov dword [ebp - 0x1c], 0x5bc
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x38]
call fcn.100156a0
nop
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x38]
call fcn.100156a0
nop
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x28], esp
lea edx, [ebp - 0x38]
push edx
call fcn.10015710
push 0xf51004
mov ecx, dword [0x10229c40]
call fcn.100c37c0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x44], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x3c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x30], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x14], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x24], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x20], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 0x10]
call fcn.1013c040
mov ecx, dword [ebp - 0x10]
call fcn.1013c390
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.100156c0
nop
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10156f30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.10156b40
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10156f62
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x101b53a8]
call dword [ebp - 8]
jmp 0x10156f6c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret
Function at 0x101885a0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.101a85d0
mov eax, dword [0x10226180]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x10228948]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x10188778
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x101886c7
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x101886c7
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x101886a5
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x10188629
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10188731
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x10188798
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x10188773
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x10188798
jmp 0x10188602
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10150c60
mov esp, ebp
pop ebp
ret
Function at 0x101887b0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.101a85d0
mov eax, dword [0x10226180]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x10228948]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x1018899b
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x101888e6
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x101888e6
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x101888c2
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x10188839
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10188954
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x101889bb
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x10188996
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x101889bb
jmp 0x10188812
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10150c60
mov esp, ebp
pop ebp
ret
Function at 0x1018ac20
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.1018a3a0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1018ac54
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x101b53a8]
call dword [ebp - 8]
jmp 0x1018ac5a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esp, ebp
pop ebp
ret 4

Function at 0x1018acb0
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.1018a3e0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1018ace4
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x101b53a8]
call dword [ebp - 8]
jmp 0x1018acee
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret 4

Function at 0x1018ad00
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.1018a400
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1018ad38
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
call dword [0x101b53a8]
call dword [ebp - 8]
jmp 0x1018ad46
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esp, ebp
pop ebp
ret 8

Function at 0x1018ad50
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.1018a480
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1018ad90
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], 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 + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x101b53a8]
call dword [ebp - 8]
jmp 0x1018adae
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.1018afa0
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10191310
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10191337
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10174370
add esp, 4
or eax, 0xffffffff
jmp 0x10191339
xor eax, eax
pop ebp
ret
Function at 0x1019a350
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push eax
lea ecx, [ebp - 4]
call fcn.10157f00
lea ecx, [ebp - 4]
call fcn.1019a320
movzx eax, al
test eax, eax
jne 0x1019a38d
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 4]
call fcn.1019a240
mov eax, dword [ebp - 0x18]
jmp 0x1019a4b5
lea ecx, [ebp - 4]
call fcn.10157fd0
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1019a2e0
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x10]
sar edx, 1
mov dword [ebp - 0x14], edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 4]
call fcn.10157fd0
push eax
push 0
push 0
call fcn.10197d80
add esp, 0x20
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1019a3f3
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 4]
call fcn.1019a240
mov eax, dword [ebp - 0x20]
jmp 0x1019a4b5
push 0x66
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
push 2
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.10170140
add esp, 0x10
push eax
lea ecx, [ebp - 8]
call fcn.10005930
lea ecx, [ebp - 8]
call fcn.10150b50
movzx edx, al
test edx, edx
jne 0x1019a43c
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 8]
call fcn.10150b30
lea ecx, [ebp - 4]
call fcn.1019a240
mov eax, dword [ebp - 0x24]
jmp 0x1019a4b5
lea ecx, [ebp - 8]
call fcn.10005060
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 4]
call fcn.10157fd0
mov dword [ebp - 0x2c], eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x2c]
push eax
push 0
push 0
call fcn.10197d80
add esp, 0x20
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1019a497
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 8]
call fcn.10150b30
lea ecx, [ebp - 4]
call fcn.1019a240
mov eax, dword [ebp - 0x34]
jmp 0x1019a4b5
lea ecx, [ebp - 8]
call fcn.1016d140
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 8]
call fcn.10150b30
lea ecx, [ebp - 4]
call fcn.1019a240
mov eax, dword [ebp - 0x38]
mov esp, ebp
pop ebp
ret
Function at 0x1019a4c0
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push eax
lea ecx, [ebp - 4]
call fcn.10157f00
lea ecx, [ebp - 4]
call fcn.1019a260
movzx eax, al
test eax, eax
jne 0x1019a4fd
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 4]
call fcn.1019a240
mov eax, dword [ebp - 0x14]
jmp 0x1019a5b7
lea ecx, [ebp - 4]
call fcn.10157fd0
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.1019a2e0
add esp, 4
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0xc]
sar edx, 1
mov dword [ebp - 0x10], edx
push 0x40
push str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
push 2
mov eax, dword [ebp - 0x10]
shl eax, 1
push eax
call fcn.10170140
add esp, 0x10
push eax
lea ecx, [ebp - 8]
call fcn.10157f00
lea ecx, [ebp - 8]
call fcn.10177130
movzx ecx, al
test ecx, ecx
jne 0x1019a56d
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 8]
call fcn.1016d120
lea ecx, [ebp - 4]
call fcn.1019a240
mov eax, dword [ebp - 0x1c]
jmp 0x1019a5b7
lea ecx, [ebp - 4]
call fcn.10157fd0
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 8]
call fcn.10157fd0
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x10]
shl edx, 1
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.10153440
add esp, 0xc
lea ecx, [ebp - 8]
call fcn.1016d140
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 8]
call fcn.1016d120
lea ecx, [ebp - 4]
call fcn.1019a240
mov eax, dword [ebp - 0x28]
mov esp, ebp
pop ebp
ret
Function at 0x101a31a0
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x70
lea ecx, [ebp - 0x70]
call fcn.10176270
lea ecx, [ebp - 0x58]
call fcn.10176270
lea ecx, [ebp - 0x40]
call fcn.10176270
call fcn.10176340
push eax
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10176240
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x101a3206
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x40]
call fcn.101762c0
lea ecx, [ebp - 0x58]
call fcn.101762c0
lea ecx, [ebp - 0x70]
call fcn.101762c0
mov eax, dword [ebp - 0xc]
jmp 0x101a3309
call fcn.10176340
push eax
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.10176240
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x101a324c
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x40]
call fcn.101762c0
lea ecx, [ebp - 0x58]
call fcn.101762c0
lea ecx, [ebp - 0x70]
call fcn.101762c0
mov eax, dword [ebp - 0x14]
jmp 0x101a3309
mov dword [ebp - 4], 0
cmp dword [ebp + 0x24], 0
je 0x101a32a7
call fcn.10176340
push eax
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp + 0x24]
push edx
call fcn.10176240
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x101a329c
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x40]
call fcn.101762c0
lea ecx, [ebp - 0x58]
call fcn.101762c0
lea ecx, [ebp - 0x70]
call fcn.101762c0
mov eax, dword [ebp - 0x1c]
jmp 0x101a3309
lea ecx, [ebp - 0x40]
call fcn.101764f0
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x58]
call fcn.101764f0
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x70]
call fcn.101764f0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x2c]
push eax
mov ecx, dword [ebp + 0x28]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x40]
call fcn.101762c0
lea ecx, [ebp - 0x58]
call fcn.101762c0
lea ecx, [ebp - 0x70]
call fcn.101762c0
mov eax, dword [ebp - 0x28]
mov esp, ebp
pop ebp
ret
Function at 0x101a5280
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
lea ecx, [ebp - 0x4c]
call fcn.10176270
lea ecx, [ebp - 0x34]
call fcn.10176270
call fcn.10176340
push eax
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10176240
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x101a52d3
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x34]
call fcn.101762c0
lea ecx, [ebp - 0x4c]
call fcn.101762c0
mov eax, dword [ebp - 8]
jmp 0x101a5348
call fcn.10176340
push eax
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.10176240
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x101a530e
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x34]
call fcn.101762c0
lea ecx, [ebp - 0x4c]
call fcn.101762c0
mov eax, dword [ebp - 0x10]
jmp 0x101a5348
lea ecx, [ebp - 0x34]
call fcn.101764f0
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x4c]
call fcn.101764f0
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x34]
call fcn.101762c0
lea ecx, [ebp - 0x4c]
call fcn.101762c0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x100058c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x14]
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 0x10005902
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 + 0x14]
mov eax, dword [edx]
movzx ecx, word [eax + 6]
cmp dword [ebp - 4], ecx
jge 0x10005a06
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x10], 0
jne 0x10005983
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
jle 0x1000597e
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
cmp dword [ebp - 8], 0
jne 0x10005957
xor eax, eax
jmp 0x10005a0b
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.100056c0
add esp, 0xc
jmp 0x100058f0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx + 0x10]
push eax
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.10005890
test eax, eax
jne 0x100059a4
xor eax, eax
jmp 0x10005a0b
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
cmp dword [ebp - 8], 0
jne 0x100059cf
xor eax, eax
jmp 0x10005a0b
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx + 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.10005710
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov dword [edx + 8], eax
jmp 0x100058f0
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10