joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10061b70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x100f2040]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
cmp dword [eax + 0x14], 0xf
mov esi, eax
push edi
mov edi, dword [eax + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
jbe 0x10061ba2
mov esi, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x10061bc1
nop dword [eax]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10061bb0
cmp dword [ebx + 4], 0
mov dword [esp + 0x5c], edx
mov dword [esp + 0xc], 0
jle 0x10061d18
xor ecx, ecx
mov dword [esp + 0x10], ecx
nop dword [eax]
mov ebx, dword [ebx]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x10061c07
cmp dword [ecx + 4], 0
jle 0x10061c07
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp + 0x10]
push eax
push ecx
push dword [esp + 0x1c]
mov ecx, 0x1020ae90
call fcn.10061b70
mov edi, dword [ebx]
mov esi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [edi + eax], 0
jne 0x10061c10
xor edx, edx
test eax, eax
je 0x10061c31
nop dword [eax]
movsx ecx, byte [edi + edx]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, eax
jb 0x10061c20
lea eax, [esp + 0x5c]
mov dword [esp + 0x60], esi
push eax
lea eax, [esp + 0x20]
mov ecx, 0x1020aeb0
push eax
call fcn.100521f0
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x28]
add ecx, 0xc
push eax
call fcn.10051f50
mov eax, dword [eax]
cmp dword [eax + 0x14], 0
jne 0x10061cf7
lea eax, [esp + 0x5c]
mov ecx, 0x1020aeb0
push eax
lea eax, [esp + 0x30]
push eax
call fcn.100521f0
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x38]
add ecx, 0xc
push eax
call fcn.10051f50
mov ecx, 0x1020aeb0
mov eax, dword [eax]
mov byte [eax + 0xc], 0
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x40]
push eax
call fcn.100521f0
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x48]
add ecx, 0xc
push eax
call fcn.10051f50
mov ecx, 0x1020aeb0
mov eax, dword [eax]
mov dword [eax + 0x10], ebx
lea eax, [esp + 0x5c]
mov esi, dword [ebx + 0x2c]
add esi, dword [ebp + 0x10]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.100521f0
mov ecx, dword [eax]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x58]
add ecx, 0xc
push eax
call fcn.10051f50
mov eax, dword [eax]
mov dword [eax + 0x14], esi
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
inc eax
mov ecx, dword [esp + 0x10]
add ecx, 0x3c
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
cmp eax, dword [ebx + 4]
jl 0x10061be0
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100cee06
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10061f70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100f2040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x100620e0
push ebx
mov ebx, dword [eax + 2]
mov dword [ebp - 0x10], ebx
test ebx, ebx
je 0x100620df
lea eax, [ebx - 4]
test eax, eax
je 0x100620df
mov ecx, dword [ebx]
test ecx, ecx
je 0x100620df
cmp ecx, 0xc8
jg 0x100620df
cmp dword [eax], 0
je 0x100620df
push esi
mov esi, dword [eax + 8]
test esi, esi
je 0x100620de
push edi
mov edi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [esi + ecx], 0
jne 0x10061fd8
xor edx, edx
test ecx, ecx
je 0x10061ff6
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10061fe5
mov dword [ebp - 8], edi
cmp dword [ebx], 0
mov dword [ebp - 0x18], 0
jle 0x100620dd
xor esi, esi
mov eax, ebx
mov dword [ebp - 0x14], esi
mov ebx, dword [eax - 4]
add ebx, esi
mov esi, dword [ebx + 4]
test esi, esi
je 0x100620c5
mov edi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [esi + eax], 0
jne 0x10062027
xor edx, edx
test eax, eax
je 0x10062045
movsx ecx, byte [esi + edx]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x10062034
lea eax, [ebp - 8]
mov dword [ebp - 0xc], edi
push eax
mov ecx, 0x1020aeb0
call fcn.10051d00
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10051ce0
cmp dword [eax + 8], 0
jne 0x100620c2
lea eax, [ebp - 8]
mov ecx, 0x1020aeb0
push eax
call fcn.10051d00
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10051ce0
mov ecx, 0x1020aeb0
mov byte [eax], 1
lea eax, [ebp - 8]
mov esi, dword [ebx + 8]
push eax
call fcn.10051d00
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10051ce0
mov ecx, 0x1020aeb0
mov dword [eax + 8], esi
lea eax, [ebp - 8]
push eax
call fcn.10051d00
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10051ce0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
inc ebx
add esi, 0x3c
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], esi
cmp ebx, dword [eax]
jl 0x10062010
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100cee06
mov esp, ebp
pop ebp
ret 4
Function at 0x1009d3f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d21fd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100f2040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
xor edx, edx
mov edi, 0xf
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], edx
mov esi, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x38], eax
cmp esi, eax
je 0x1009d4fc
nop
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x1009d473
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x1009d461
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.10034e50
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
lea ecx, [edx - 3]
cmp ecx, edx
ja 0x1009d48d
cmp edi, 0xf
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x1009d49a
sub ecx, edx
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.10045d50
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov edi, 0x811c9dc5
cmova eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
xor eax, eax
test edx, edx
je 0x1009d4d4
mov esi, dword [ebp - 0x34]
nop dword [eax]
movzx ecx, byte [eax + esi]
inc eax
xor ecx, edi
imul edi, ecx, 0x1000193
cmp eax, edx
jb 0x1009d4c0
mov esi, dword [ebp - 0x30]
cmp edi, dword [ebp + 8]
jne 0x1009d4e4
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1009d4f7
dec eax
mov dword [ebp - 0x2c], eax
add esi, 0x1c
mov dword [ebp - 0x30], esi
cmp esi, dword [ebp - 0x38]
je 0x1009d4fc
mov edi, dword [ebp - 0x14]
jmp 0x1009d450
mov esi, dword [esi + 0x18]
jmp 0x1009d4fe
xor esi, esi
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x1009d536
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1009d52c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009d52c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100cf286
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100cee06
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1009d560
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d21fd
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100f2040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 1
xor edx, edx
mov edi, 0xf
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x28], dl
mov dword [ebp - 4], edx
mov esi, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x38], eax
cmp esi, eax
je 0x1009d66c
nop
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x1009d5e3
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x1009d5d1
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.10034e50
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
lea ecx, [edx - 3]
cmp ecx, edx
ja 0x1009d5fd
cmp edi, 0xf
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
mov byte [eax + ecx], 0
jmp 0x1009d60a
sub ecx, edx
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.10045d50
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov edi, 0x811c9dc5
cmova eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
xor eax, eax
test edx, edx
je 0x1009d644
mov esi, dword [ebp - 0x34]
nop dword [eax]
movzx ecx, byte [eax + esi]
inc eax
xor ecx, edi
imul edi, ecx, 0x1000193
cmp eax, edx
jb 0x1009d630
mov esi, dword [ebp - 0x30]
cmp edi, dword [ebp + 8]
jne 0x1009d654
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x1009d667
dec eax
mov dword [ebp - 0x2c], eax
add esi, 0x1c
mov dword [ebp - 0x30], esi
cmp esi, dword [ebp - 0x38]
je 0x1009d66c
mov edi, dword [ebp - 0x14]
jmp 0x1009d5c0
mov esi, dword [esi + 0x18]
jmp 0x1009d66e
xor esi, esi
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x1009d6a6
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1009d69c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009d69c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100cf286
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100cee06
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100b7160
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov ebx, ecx
or eax, 0xffffffff
push esi
push edi
mov edi, 4
lea esi, [ebx + 4]
jmp dword [edi*4 + 0x100b83a8]
Function at 0x100cbc50
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 8
movzx eax, byte [edx]
push ebx
push esi
xor eax, 0x811c9dc5
push edi
mov edi, ecx
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 8]
imul ebx, ecx, 0x1000193
mov ecx, edi
push ebx
push edx
push eax
call fcn.100cc640
mov esi, dword [eax + 4]
test esi, esi
je 0x100cbd05
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 0xc]
and ecx, ebx
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x100cbccc
cmp eax, esi
jne 0x100cbcc4
mov eax, dword [edi + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x100cbcd4
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x100cbcd4
cmp eax, esi
jne 0x100cbcd4
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
dec dword [edi + 8]
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea ecx, [esi + 0x50]
call fcn.10034c80
push 0x5c
push esi
call fcn.100cf286
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100cbe50
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
cmp ebx, eax
je 0x100cbfbf
mov eax, dword [edx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 8], eax
movzx eax, byte [ebx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 9]
push esi
push edi
mov edi, dword [edx + 0xc]
mov esi, ebx
xor ecx, eax
mov dword [ebp - 0x1c], edi
movzx eax, byte [ebx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 4], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
nop word [eax + eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0x50]
call fcn.10034c80
push 0x5c
push edi
call fcn.100cf286
mov edx, dword [ebp - 0x14]
add esp, 8
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x10]
je 0x100cbf1d
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x100cbed0
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x100cbfb5
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [edi], esi
mov dword [ecx], esi
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x100cbf31
mov eax, dword [ebp - 0x18]
mov ecx, eax
mov dword [edi], eax
jmp 0x100cbf34
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], ecx
cmp esi, eax
je 0x100cbfb5
nop
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebp - 0x1c]
and eax, dword [edx + 0x18]
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0x50]
call fcn.10034c80
push 0x5c
push edi
call fcn.100cf286
mov edx, dword [ebp - 0x14]
add esp, 8
mov eax, dword [ebp + 0xc]
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x10]
je 0x100cbfc6
cmp esi, eax
jne 0x100cbf85
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0x18]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
cmp esi, eax
jne 0x100cbf40
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4011c0
Capabilities:
Access peb ldr_data
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x40f9a8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x414210]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x414210]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push esi
push str.Delete_file__s.
call fcn.00403020
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.00401540
add esp, 0xc
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0xc]
mov esi, 8
cmp dword [esp + 0x20], esi
jae 0x401226
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x401252
push str.This_file_didnt_exists__delete_file_function_exit.
call fcn.00403020
add esp, 4
cmp dword [esp + 0x20], esi
jb 0x4012e3
mov ecx, dword [esp + 0xc]
push ecx
jmp 0x4012db
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x20], esi
jae 0x401260
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 1
je 0x401284
mov ecx, dword [esp + 0xc]
cmp dword [esp + 0x20], esi
jae 0x401279
lea ecx, [esp + 0xc]
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0xc]
cmp dword [esp + 0x20], esi
jae 0x40129a
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4012d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.DeleteFile_error__d
call fcn.00403080
add esp, 8
cmp dword [esp + 0x20], esi
jb 0x4012cc
mov edx, dword [esp + 0xc]
push edx
call fcn.00403454
add esp, 4
xor al, al
jmp 0x4012e5
cmp dword [esp + 0x20], esi
jb 0x4012e3
mov eax, dword [esp + 0xc]
push eax
call fcn.00403454
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0040345f
add esp, 0x2c
ret
Function at 0x401310
Capabilities:
Enumerate processes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x40f8db
mov eax, dword fs:[0]
push eax
sub esp, 0x1ec
mov eax, dword [0x414210]
xor eax, esp
mov dword [esp + 0x1e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x414210]
xor eax, esp
push eax
lea eax, [esp + 0x200]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [esp + 0x54]
push ecx
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x5c], 0x128
call sub.KERNEL32.dll_Process32First
push 0x7f
lea edx, [esp + 0x181]
push ebx
push edx
mov edi, eax
mov byte [esp + 0x188], bl
call fcn.00404b20
lea edx, [esp + 0x188]
add esp, 0xc
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x401395
lea eax, [esp + 0x17c]
push eax
call fcn.0040f75b
mov ecx, eax
add esp, 4
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x4013c4
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x40]
call fcn.00402040
mov dword [esp + 0x208], ebx
mov ebp, 0x10
cmp edi, ebx
je 0x4014b0
lea esp, [esp]
push 0x80
lea ecx, [esp + 0x180]
push ebx
push ecx
call fcn.00404b20
add esp, 0xc
xor eax, eax
jmp 0x401410
mov cl, byte [esp + eax + 0x78]
mov byte [esp + eax + 0x17c], cl
inc eax
cmp cl, bl
jne 0x401410
lea edx, [esp + 0x17c]
push edx
call fcn.0040f75b
mov edi, 0xf
mov ecx, eax
add esp, 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x401446
sub ecx, esi
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00402040
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x34], ebp
jae 0x401468
lea ecx, [esp + 0x20]
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], ebp
jae 0x401476
lea eax, [esp + 0x3c]
push ecx
push eax
call fcn.0040f2e7
add esp, 8
test eax, eax
je 0x4014f8
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x54]
push eax
push ecx
call sub.KERNEL32.dll_Process32Next
mov esi, eax
cmp dword [esp + 0x34], ebp
jb 0x4014a8
mov edx, dword [esp + 0x20]
push edx
call fcn.00403454
add esp, 4
cmp esi, ebx
jne 0x4013f0
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x50], ebp
jb 0x4014ce
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00403454
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x200]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1e8]
xor ecx, esp
call fcn.0040345f
add esp, 0x1f8
ret
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x34], ebp
jb 0x401516
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00403454
add esp, 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
cmp dword [esp + 0x50], ebp
jb 0x401535
mov edx, dword [esp + 0x3c]
push edx
call fcn.00403454
add esp, 4
mov eax, 1
jmp 0x4014d0
Function at 0x4016d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x40f971
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x414210]
xor eax, esp
mov dword [esp + 0x168], eax
push ebx
push esi
push edi
mov eax, dword [0x414210]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov dword [esp + 0x14], eax
xor edi, edi
mov eax, ebx
mov dword [esp + 0x68], 0xf
mov dword [esp + 0x64], edi
mov byte [esp + 0x54], 0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401731
sub eax, esi
push eax
push ebx
lea ecx, [esp + 0x58]
call fcn.00402040
push 1
mov dword [esp + 0x18c], edi
push 0x411cf8
lea edi, [esp + 0x58]
call fcn.00401c80
mov edi, eax
push edi
xor ecx, ecx
lea esi, [esp + 0x1c]
lea edx, [esp + 0x54]
call fcn.00401a50
push 0x103
lea ecx, [esp + 0x71]
push 0
mov byte [esp + 0x190], 1
push ecx
mov byte [esp + 0x78], 0
call fcn.00404b20
mov ecx, dword [esp + 0x28]
add esp, 0xc
cmp dword [esp + 0x30], 0x10
jae 0x40179e
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x6c]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4017a2
push 0xffffffffffffffff
lea ecx, [edi + 1]
lea esi, [esp + 0x38]
lea edx, [esp + 0x54]
call fcn.00401a50
mov eax, dword [esp + 0x14]
xor edi, edi
push edi
lea edx, [esp + 0x70]
push edx
push eax
push ebx
push str.open
push edi
mov byte [esp + 0x1a0], 2
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jge 0x401858
push eax
push ebx
push str.shell___s__failed__return__d
call fcn.00403080
mov esi, 0x10
add esp, 0xc
cmp dword [esp + 0x4c], esi
jb 0x40180c
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00403454
add esp, 4
mov ebx, 0xf
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], edi
mov byte [esp + 0x38], 0
cmp dword [esp + 0x30], esi
jb 0x401831
mov edx, dword [esp + 0x1c]
push edx
call fcn.00403454
add esp, 4
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
mov byte [esp + 0x1c], 0
cmp dword [esp + 0x68], esi
jb 0x401851
mov eax, dword [esp + 0x54]
push eax
call fcn.00403454
add esp, 4
xor eax, eax
jmp 0x4018fa
push ebx
push str.shell___s__success
call fcn.00403020
add esp, 8
cmp dword [ebp + 0xc], 1
jne 0x401898
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x38]
mov ebx, 0x10
cmp dword [esp + 0x4c], ebx
jae 0x401885
lea ecx, [esp + 0x38]
call fcn.00401310
cmp eax, 1
jne 0x40189d
push 0xc8
call esi
jmp 0x401872
mov ebx, 0x10
cmp dword [esp + 0x4c], ebx
jb 0x4018b0
mov ecx, dword [esp + 0x38]
push ecx
call fcn.00403454
add esp, 4
mov esi, 0xf
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], edi
mov byte [esp + 0x38], 0
cmp dword [esp + 0x30], ebx
jb 0x4018d5
mov edx, dword [esp + 0x1c]
push edx
call fcn.00403454
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], edi
mov byte [esp + 0x1c], 0
cmp dword [esp + 0x68], ebx
jb 0x4018f5
mov eax, dword [esp + 0x54]
push eax
call fcn.00403454
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x168]
xor ecx, esp
call fcn.0040345f
mov esp, ebp
pop ebp
ret