joyce8/EMBER2024-capa huggingface dataset:
Function at 0x60d000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x60d131
push esi
call fcn.00610145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.005ff080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x60d131
push 0
push ebp
call fcn.005ff3a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.005ff260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x60d08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.005ff2f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x60d121
push 0x625918
push edi
call fcn.0060e3f0
push eax
push ebx
push esi
call fcn.0060cf60
push 0x6258f8
push edi
call fcn.0060e3f0
push eax
push ebx
push esi
call fcn.0060cf60
push 0x6258d8
push edi
call fcn.0060e3f0
push eax
push ebx
push esi
call fcn.0060cf60
push 0x6258c0
push edi
call fcn.0060e3f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.0060cf60
push 0x6258a0
push edi
call fcn.0060e3f0
push eax
push ebx
push esi
call fcn.0060cf60
push 0x625888
push edi
call fcn.0060e3f0
push eax
push ebx
push esi
call fcn.0060cf60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x60e1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0060e140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0060e140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0060e140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0060e140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x60ebfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x60ec50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x62087c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x60ec43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x60ec52
xor eax, eax
pop esi
leave
ret 4
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x8f8008], 0x8088405
inc edx
mov dword [ebx + 0x8f8008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41d2ec
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41d31d
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d305
add dl, dl
jne 0x41d328
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d379
xor eax, eax
add dl, dl
jne 0x41d335
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d416
add dl, dl
jne 0x41d344
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d34f
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d35a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d365
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41d36f
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41d314
mov eax, 1
add dl, dl
jne 0x41d387
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41d392
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d37e
sub eax, ebx
mov ebx, 1
jne 0x41d3c5
mov ecx, 1
add dl, dl
jne 0x41d3ab
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d3b6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d3a2
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41d314
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41d3dc
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41d3e7
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41d3d3
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41d314
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d437
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41d314
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f504
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x8db9f2
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f553
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f572
mov ecx, edx
add ecx, ebx
jmp 0x41f572
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f572
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f5e4
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f5cd
test esi, esi
jbe 0x41f5e4
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088f4
test eax, eax
jne 0x41f5bf
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f5e4
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f59c
jmp 0x41f5e4
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f5e4
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8db9f9
ret
Function at 0x420750
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x8dcd6b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x42078b
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4207a4
lea eax, [ebp - 0x10]
mov edx, dword [0x8fa73c]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.00404d30
jmp 0x4207b7
lea eax, [ebp - 0x10]
mov edx, dword [0x8fa73c]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x4207c3
adc edx, 0
mov edx, dword [edx*4 + 0x8f9538]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x42093d
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420930
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420930
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406dec
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420930
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420930
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x4208ce
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x4208ce
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x4208ce
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4208ce
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420930
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420930
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420930
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d8c
test eax, eax
je 0x420930
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420930
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420955
inc ebx
cmp ebx, 0x19
jne 0x42077d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8dcd72
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x6d442121
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x4d3e0244
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x11df3c6c
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x369728a7
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x438cab
Capabilities:
Encode data using xor

Disassembly:
push 0x438a14
pop ecx
and edi, edx
sub edx, edx
and edx, edi
call fcn.00438cfb
push edx
mov edx, dword [esp]
add esp, 4
mov edi, 0x9da731a7
xor dword [ebx], ecx
add edx, 0xb8c3e703
add edi, edx
add ebx, 1
or edi, edx
or edx, edi
cmp ebx, esi
jne fcn.00438cab
add edi, 0x5cea91ed
sub edi, 0xe91f339a
ret
Function at 0x40d780
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40d7a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040f1fc
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x40d7c1
test byte [esp + 8], 2
je 0x40d7c1
mov dword [0xf1fee8], 0xd
mov dword [0xf1feec], 5
jmp 0x40d79c
xor eax, eax
ret

Function at 0x40f035
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4158e0
cmp edx, dword [eax]
je 0x40f057
add eax, 8
inc ecx
cmp eax, 0x415970
jl 0x40f048
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4158e0]
jne 0x40f185
mov eax, dword [0xf1ff44]
cmp eax, 1
je 0x40f15f
test eax, eax
jne 0x40f088
cmp dword [0x415358], 1
je 0x40f15f
cmp edx, 0xfc
je 0x40f185
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40f0bf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004105b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040d220
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40f102
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040d220
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x414500
push edi
call fcn.0040c710
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004105b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004105c0
lea eax, [ebp - 0xa0]
push 0x415234
push eax
call fcn.004105c0
push dword [esi + 0x4158e4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004105c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00411bda
add esp, 0x2c
pop edi
jmp 0x40f185
lea eax, [ebp + 8]
lea esi, [esi + 0x4158e4]
push 0
push eax
push dword [esi]
call fcn.0040d220
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x51962f35
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x5930546b
nop
nop
nop
nop
test eax, eax
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x5ecf84
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5ecfb2
mov eax, ebx
call fcn.005eda40
cmp dword [ebx + 0x40], 0
je 0x5ecfab
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5ed023
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5ed015
cmp dword [ebx + 8], 0
je 0x5ecfd4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x5ecfe6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5ed015
cmp dword [ebx + 8], 0
je 0x5ecfc7
cmp eax, 3
je 0x5ecff9
dec eax
jne 0x5ecfc7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x5ecfc7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5ecfc7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5ed041
cmp dword [ebx + 0x14], 0xcc
je 0x5ed041
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.005ed04c
pop ebx
ret

Function at 0x5ff3a0
Capabilities:
Enumerate gui resources

Disassembly:
add esp, 0xfffffff8
mov dword [esp], eax
mov byte [esp + 4], dl
mov byte [esp + 5], 0
mov eax, esp
push eax
push 0x5ff340
call sub.user32.dll_EnumWindows
movzx eax, byte [esp + 5]
pop ecx
pop edx
ret

Function at 0x5ff3c4
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
setne al
call fcn.005e95e4
push 0
push esi
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_CloseHandle_1
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x5ff520
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x5ff5ae
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
lea ecx, [ebp - 4]
mov dl, 1
mov eax, esi
call fcn.005ff434
mov eax, dword [ebp - 4]
call fcn.0040b95c
mov edi, eax
dec edi
cmp edi, 0
jl 0x5ff592
test bl, bl
je 0x5ff58c
mov eax, dword [ebp - 4]
mov eax, dword [eax + edi*4]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
je 0x5ff586
push 0
push esi
call sub.kernel32.dll_TerminateProcess
test eax, eax
je 0x5ff586
push esi
call sub.kernel32.dll_CloseHandle_1
test eax, eax
jne 0x5ff58a
xor ebx, ebx
jmp 0x5ff58c
mov bl, 1
dec edi
cmp edi, 0xffffffff
jne 0x5ff556
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ff5b5
lea eax, [ebp - 4]
mov edx, dword [0x5ff3f8]
call fcn.0040bc98
ret
Function at 0x5ff848
Capabilities:
Create pipe

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffd8
mov ebx, ecx
mov edi, edx
mov esi, eax
lea eax, [esp + 8]
xor ecx, ecx
mov edx, 0xc
call fcn.0040740c
mov dword [esp + 8], 0xc
mov eax, dword [0x6950d8]
cmp dword [eax], 2
jne 0x5ff89c
push 1
lea eax, [esp + 0x18]
push eax
call sub.advapi32.dll_InitializeSecurityDescriptor
push 0
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x20]
push eax
call sub.advapi32.dll_SetSecurityDescriptorDacl
lea eax, [esp + 0x14]
mov dword [esp + 0xc], eax
jmp 0x5ff8a2
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0xffffffff
mov edx, 1
mov eax, edi
call fcn.0060106c
test eax, eax
jne 0x5ff900
push 0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_CreatePipe
cmp eax, 1
sbb eax, eax
inc eax
call fcn.005e95e4
mov ecx, dword [esp + 4]
mov edx, 1
mov eax, edi
call fcn.00601074
mov dl, 1
mov eax, dword [esp]
call fcn.005ff7fc
mov ecx, eax
xor edx, edx
mov eax, esi
call fcn.00601074
mov edx, 2
mov eax, edi
call fcn.0060106c
test eax, eax
jne 0x5ff980
test bl, bl
je 0x5ff95f
push 0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_CreatePipe
cmp eax, 1
sbb eax, eax
inc eax
call fcn.005e95e4
mov ecx, dword [esp + 4]
mov edx, 2
mov eax, edi
call fcn.00601074
mov dl, 1
mov eax, dword [esp]
call fcn.005ff7fc
mov ecx, eax
mov edx, 2
mov eax, esi
call fcn.00601074
jmp 0x5ff980
mov edx, 1
mov eax, edi
call fcn.0060106c
xor edx, edx
call fcn.005ff7fc
mov ecx, eax
mov edx, 2
mov eax, edi
call fcn.00601074
xor edx, edx
mov eax, edi
call fcn.0060106c
test eax, eax
jne 0x5ff9d3
push 0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_CreatePipe
cmp eax, 1
sbb eax, eax
inc eax
call fcn.005e95e4
mov ecx, dword [esp]
xor edx, edx
mov eax, edi
call fcn.00601074
mov dl, 1
mov eax, dword [esp + 4]
call fcn.005ff7fc
mov ecx, eax
mov edx, 1
mov eax, esi
call fcn.00601074
add esp, 0x28
pop edi
pop esi
pop ebx
ret
Function at 0x60017c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], eax
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x60]
mov edx, dword [eax]
call dword [edx]
xor edx, edx
push ebp
push 0x6002c1
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x6002a1
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x58]
test esi, esi
jne 0x6001ca
call fcn.00408fec
call fcn.00408fec
jmp 0x6002c8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x464]
test eax, eax
ja 0x6001e6
call fcn.00408fec
call fcn.00408fec
jmp 0x6002c8
mov ebx, eax
push 0
lea eax, [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 4]
add eax, 0x64
push eax
push esi
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x600230
call sub.kernel32.dll_GetLastError_2
cmp eax, 0xe8
je 0x600216
call sub.kernel32.dll_GetLastError_2
cmp eax, 0x6d
jne 0x600221
mov eax, dword [ebp - 4]
add eax, 0x58
call fcn.005ff5c0
call fcn.00408fec
call fcn.00408fec
jmp 0x6002c8
cmp dword [ebp - 0xc], 0
ja 0x600245
call fcn.00408fec
call fcn.00408fec
jmp 0x6002c8
cmp ebx, dword [ebp - 0xc]
jbe 0x600264
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
lea eax, [eax + edx + 0x64]
mov ecx, ebx
sub ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
add edx, 0x64
call fcn.00406c10
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
sub dword [eax + 0x464], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6002a8
mov eax, dword [ebp - 4]
cmp dword [eax + 0x58], 0
setne byte [ebp - 5]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x464], 0
jne 0x6002a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x5c]
push eax
call sub.kernel32.dll_ResetEvent
ret
movzx eax, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret