joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a460
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x814
lea ebx, [ebp - 0x408]
mov dword [esp + 0xc], eax
mov eax, dword [0x4c4b80]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, 0x400
mov dword [esp + 4], eax
call fcn.0047eb50
mov eax, ebx
call fcn.00448880
test al, al
je 0x44a4d0
mov dword [esp + 8], ebx
mov eax, str.winhelp.exe__s
lea ebx, [ebp - 0x808]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_sprintf
mov dword [esp], ebx
mov eax, 1
mov dword [esp + 4], eax
call sub.KERNEL32.dll_WinExec
sub esp, 8
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp + 4], ebx
mov dword [esp], str.Cannot_find_help_file:__s
call fcn.00495470
mov dword [esp], str.Use_the_online_help_files_instead.
call fcn.004981e0
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x46f380
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 4
mov ebx, eax
movzx eax, byte [ebx]
test al, al
je 0x46f3a0
movzx eax, al
inc ebx
call fcn.0046f2e0
movzx eax, byte [ebx]
test al, al
jne 0x46f390
pop ebx
movzx eax, al
pop ebx
pop ebp
jmp fcn.0046f2e0
Function at 0x47ee10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x414
lea ebx, [ebp - 0x408]
mov dword [esp], ebx
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, 0x400
mov dword [esp + 4], eax
call fcn.0047eb20
test eax, eax
mov edx, 0xffffffff
jne 0x47ee4b
mov dword [esp], ebx
call sub.msvcrt.dll_remove
xor edx, edx
add esp, 0x414
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x47ee60
Capabilities:
Move file

Disassembly:
push ebp
mov edx, 0x400
mov ebp, esp
push esi
lea esi, [ebp - 0x408]
push ebx
sub esp, 0x810
mov eax, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], esi
mov dword [esp + 8], eax
call fcn.0047eb20
test eax, eax
mov edx, 0xffffffff
jne 0x47eec7
mov eax, dword [ebp + 0xc]
lea ebx, [ebp - 0x808]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, 0x400
mov dword [esp + 4], eax
call fcn.0047eb20
test eax, eax
mov edx, 0xffffffff
jne 0x47eec7
mov dword [esp + 4], ebx
mov dword [esp], esi
call sub.msvcrt.dll_rename
xor edx, edx
add esp, 0x810
mov eax, edx
pop ebx
pop esi
pop ebp
ret

Function at 0x47f050
Capabilities:
Read file on windows

Disassembly:
push ebp
mov edx, 0xffffffff
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
test edi, edi
js 0x47f0c9
cmp esi, 0x3fff
jbe 0x47f0b0
lea esi, [esi]
lea edi, [edi]
mov dword [esp + 4], ebx
mov ecx, 0x4000
mov dword [esp + 8], ecx
mov dword [esp], edi
call sub.msvcrt.dll__read
cmp eax, 0x4000
jne 0x47f0df
add ebx, 0x4000
sub esi, 0x4000
cmp esi, 0x3fff
ja 0x47f080
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], edi
call sub.msvcrt.dll__read
cmp eax, esi
mov edx, 1
je 0x47f0d3
add esp, 0xc
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0xc
xor edx, edx
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 0xc
mov edx, 1
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x49c0b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], ebx
mov ebx, dword [sym.imp.msvcrt.dll__iob]
mov dword [ebp - 4], esi
lea esi, [ebp + 0xc]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
add ebx, 0x40
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov eax, dword [ebp + 8]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort

Function at 0x49c100
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
test ecx, ecx
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
mov esi, edx
mov dword [ebp - 4], edi
mov edi, ecx
jne 0x49c126
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x49c201
mov eax, dword [ebp - 0x24]
cmp eax, 4
jne 0x49c170
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
cmp eax, 0x40
je 0x49c150
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x1c]
mov dword [esp + 0xc], edx
mov dword [ebp - 0x40], edx
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 0x24]
sub esp, 0x10
cmp eax, 0x40
setne byte [ebp - 0x39]
cmp eax, 4
setne byte [ebp - 0x3a]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebp - 0x40]
cmp byte [ebp - 0x3a], 0
je 0x49c119
cmp byte [ebp - 0x39], 0
je 0x49c119
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
sub esp, 0x10
mov esp, ebp
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.0049c0b0
lea esi, [esi]
Function at 0x49c4b0
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push esi
push ebx
push ecx
sub esp, 0x6c
call fcn.0049c490
call sub.KERNEL32.dll_GetCommandLineA
mov ebx, eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call sub.KERNEL32.dll_GetStartupInfoA
sub esp, 4
test ebx, ebx
jne 0x49c4e6
jmp 0x49c536
add ebx, 1
movzx edx, byte [ebx]
cmp dl, 9
je 0x49c4e3
cmp dl, 0x20
je 0x49c4e3
cmp dl, 0x22
je 0x49c584
cmp dl, 9
mov eax, edx
je 0x49c524
cmp dl, 0x20
je 0x49c524
test dl, dl
jne 0x49c51a
lea esi, [esi]
jmp 0x49c536
cmp al, 0x20
je 0x49c524
test al, al
je 0x49c536
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
jne 0x49c512
cmp al, 0x20
jne 0x49c59a
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
je 0x49c528
cmp al, 0x20
je 0x49c528
movzx eax, word [ebp - 0x2c]
mov esi, 0xa
test byte [ebp - 0x30], 1
mov dword [esp], 0
cmovne esi, eax
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.0044c8e0
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop esi
pop ebp
lea esp, [ecx - 4]
ret
cmp al, 0x22
je 0x49c58e
add ebx, 1
movzx eax, byte [ebx]
test al, al
jne 0x49c580
cmp al, 0x22
jne 0x49c524
add ebx, 1
movzx eax, byte [ebx]
jmp 0x49c524
cmp al, 9
je 0x49c528
nop
jmp 0x49c536
Function at 0x40f3f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x5e9470], eax
xor eax, eax
nop
add eax, 1
mov ecx, dword [eax*4 + 0x5e946c]
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul edx, edx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x5e9470], edx
cmp eax, 0x26f
jl 0x40f3f8
mov dword [0x561fc0], 0x270
ret

Function at 0x40f430
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov eax, 0xffffffff
mov esi, esi
add eax, 1
mov ecx, dword [eax*4 + 0x5e9474]
mov ebx, dword [eax*4 + 0x5e9470]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x5e9aa4]
mov dword [eax*4 + 0x5e9470], edx
cmp eax, 0xe2
jl 0x40f438
mov eax, 0xe2
lea esi, [esi]
add eax, 1
mov ecx, dword [eax*4 + 0x5e9474]
mov ebx, dword [eax*4 + 0x5e9470]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x5e90e4]
mov dword [eax*4 + 0x5e9470], edx
cmp eax, 0x26e
jl 0x40f488
mov edx, dword [0x5e9470]
mov ecx, dword [0x5e9e2c]
mov eax, edx
and eax, 1
neg eax
and eax, 0x9908b0df
and ecx, 0x80000000
and edx, 0x7fffffff
or ecx, edx
shr ecx, 1
xor eax, ecx
xor eax, dword [0x5e9aa0]
mov dword [0x5e9e2c], eax
mov dword [0x561fc0], 0
pop ebx
ret

Function at 0x40f510
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, dword [0x561fc0]
add dword [0x561fc0], 1
mov eax, dword [0x5e8020]
cmp eax, dword [0x561710]
jne 0x40f533
cmp ebx, 0x271
jb 0x40f554
mov eax, dword [0x5e8020]
call fcn.0040f3f0
not dword [0x5e8020]
mov eax, dword [0x5e8020]
mov dword [0x561710], eax
mov ebx, 0x270
mov esi, esi
cmp ebx, 0x270
jne 0x40f570
call fcn.0040f430
xor ebx, ebx
mov dword [0x561fc0], 1
lea esi, [esi]
mov edx, dword [ebx*4 + 0x5e9470]
mov eax, edx
shr eax, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor edx, eax
mov ecx, edx
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop ebx
ret
Function at 0x4110f0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x561460]
cmp ax, 0xcb
je 0x4111fc
cmp ax, 0xcc
je 0x4111fc
lea esi, [esi]
mov edx, dword [0x5ea070]
test edx, edx
je 0x411125
mov eax, dword [0x5e9f20]
call edx
mov ebx, eax
jmp 0x41112a
mov ebx, 0x5e9f24
cmp word [0x5e9f10], 0
jle 0x411150
mov eax, 0x5e9ef0
call fcn.004113b0
mov eax, ebx
call fcn.00410cb0
mov eax, ebx
call fcn.00410d20
lea esi, [esi]
mov edi, dword [ebx]
jmp 0x411172
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x41116d
mov edx, edi
mov eax, ebx
call fcn.00410120
jmp 0x411170
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x411158
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x5e9f10], 0
jle 0x4111fc
mov edx, 0x5e9e30
mov eax, ebx
call fcn.00410260
mov edi, eax
test edi, edi
je 0x4111cc
mov eax, dword [0x5e9ec4]
mov dword [edi + 0xc], eax
cmp dword [0x5e9ec4], 0
je 0x4111c0
mov eax, dword [0x5e9ec4]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x5e9ec4], eax
nop
sub word [0x5e9f10], 1
cmp word [0x5e9f10], 0
sete bl
mov eax, 0x5e9ef0
call fcn.004113d0
test bl, bl
je 0x4111fc
mov eax, 0x5e9ef0
call fcn.004113a0
lea esi, [esi]
pop edi
pop esi
pop ebx
ret
Function at 0x413400
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x20]
push ebx
push esi
push edi
mov byte [ebp - 0x20], al
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.004133e0
push ebp
push 0x414810
push dword fs:[eax]
mov dword fs:[eax], esp
test byte [ebp - 0x20], 0xff
je 0x41352a
movzx eax, byte [ebp - 0x20]
sub eax, 0xffffffc0
mov word [ebp - 8], ax
mov word [ebp - 6], 0x3a
mov word [ebp - 4], 0
mov word [ebp - 2], 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov esi, eax
lea edx, [esi - 1]
mov eax, dword [ebp - 0x1c]
call fcn.0040b9e0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
test edx, edx
jne 0x41348f
mov edx, 0x5e92f0
push edx
push esi
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetFullPathNameW
mov ebx, eax
test ebx, ebx
jne 0x4134e1
call sub.kernel32.dll_GetLastError
call fcn.004042c0
lea eax, [ebp - 0x10]
call fcn.0040a3f0
movzx eax, byte [ebp - 0x20]
sub eax, 0xffffffc0
lea edx, [ebp - 0x14]
call fcn.0040a890
mov edx, dword [ebp - 0x14]
mov ecx, 0x58a344
lea eax, [ebp - 0x10]
call fcn.0040a720
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
call fcn.0040b190
jmp 0x413578
mov eax, esi
mov edx, 0
sub eax, 1
sbb edx, 0
mov ecx, ebx
xor edi, edi
cmp edx, edi
jne 0x4134fa
cmp eax, ecx
je 0x413504
mov eax, dword [ebp - 0x1c]
mov edx, ebx
call fcn.0040b9e0
cmp byte [0x5616e0], 0
jne 0x413578
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
lea edx, [ebp - 0x18]
call fcn.0040bf80
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040b2a0
lea esi, [esi]
jmp 0x413578
push 0
push 0
call sub.kernel32.dll_GetCurrentDirectoryW
mov esi, eax
lea edx, [esi - 1]
mov eax, dword [ebp - 0x1c]
call fcn.0040b9e0
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
test eax, eax
jne 0x41354e
mov eax, 0x5e92f0
push eax
push esi
call sub.kernel32.dll_GetCurrentDirectoryW
cmp byte [0x5616e0], 0
jne 0x413578
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
lea edx, [ebp - 0x18]
call fcn.0040bf80
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
call fcn.0040b2a0
mov esi, esi
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.004133e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x413990
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x114]
push ebx
push esi
push edi
mov dword [ebp - 0x10c], 0
mov dword [0x5e9260], 0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp + eax - 0x108], 0
mov dword [ebp - 0x110], eax
mov ecx, eax
xor edx, edx
mov eax, ebp
call fcn.00413b70
mov eax, dword [ebp - 0x110]
lea ecx, [eax + 1]
mov eax, dword [0x5e9260]
mov edx, dword [eax]
lea eax, [ebp - 0x108]
call fcn.004037c0
call sub.kernel32.dll_GetCommandLineA
mov dword [0x5614e0], eax
mov ebx, eax
jmp 0x413b33
add ebx, 1
movzx eax, byte [ebx]
sub eax, 1
cmp eax, 0x20
jb 0x413a18
cmp byte [ebx], 0
je 0x413b3c
nop
mov byte [ebp - 0x114], 0
mov edi, ebx
mov dword [ebp - 0x110], 0
jmp 0x413a93
mov al, byte [ebx]
cmp al, 1
jb 0x413a88
sub al, 0x20
jbe 0x413a58
sub al, 2
je 0x413a6c
jmp 0x413a88
mov al, byte [ebp - 0x114]
test al, al
je 0x413a98
add dword [ebp - 0x110], 1
jmp 0x413a90
cmp byte [ebx + 1], 0x22
je 0x413a83
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x413a90
add ebx, 1
jmp 0x413a90
add dword [ebp - 0x110], 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x413a48
test dword [ebp - 0x10c], 0xffffffff
je 0x413b2c
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x10c]
mov eax, ebp
call fcn.00413b70
mov byte [ebp - 0x114], 0
mov ebx, edi
mov eax, dword [0x5e9260]
mov edx, dword [ebp - 0x10c]
mov esi, dword [eax + edx*4]
jmp 0x413b23
mov al, byte [ebx]
cmp al, 1
jb 0x413b18
sub al, 0x20
jbe 0x413ae8
sub al, 2
je 0x413afc
jmp 0x413b18
mov al, byte [ebp - 0x114]
test al, al
je 0x413b28
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
jmp 0x413b20
cmp byte [ebx + 1], 0x22
je 0x413b13
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x413b20
add ebx, 1
jmp 0x413b20
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x413ad8
mov byte [esi], 0
nop
add dword [ebp - 0x10c], 1
cmp byte [ebx], 0
jne 0x413a1b
mov ebx, dword [ebp - 0x10c]
mov dword [0x5e9250], ebx
lea edx, [ebx + 1]
shl edx, 2
mov eax, 0x5e9260
call fcn.00410f30
mov eax, dword [0x5e9260]
mov dword [eax + ebx*4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4279e0
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
xor cl, cl
mov edx, 0x58
call fcn.00403800
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x4293d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 8]
push ebx
push esi
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0040cde0
mov eax, dword [ebp - 8]
call fcn.0040cde0
xor eax, eax
push fcn.004293b0
push ebp
push 0x414810
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [esi - 1]
mov esi, 0xffffffff
add esi, 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov al, byte [eax + esi]
mov dl, byte [edx + esi]
xor dl, al
mov eax, dword [ebx]
mov byte [eax + esi], dl
cmp ecx, esi
ja 0x429410
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.004293b0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42b370
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x1c]
push ebx
push esi
push edi
mov esi, eax
mov edi, edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
xor eax, eax
push fcn.0042b340
push ebp
push 0x414810
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x18], 1
xor bl, bl
mov byte [ebp - 0x1c], 0
call sub.kernel32.dll_GetCommandLineW
lea ecx, [ebp - 4]
xor dx, dx
call fcn.0040b220
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x568860]
call fcn.0040cd20
mov ecx, eax
mov edx, dword [0x568860]
mov eax, 0x58ed90
call fcn.004237d0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ecx, 1
call fcn.00409aa0
test eax, eax
jbe 0x42b42a
call fcn.00413be0
cmp eax, 2
jb 0x42b440
lea edx, [ebp - 0x14]
mov eax, 2
call fcn.00414f20
mov eax, dword [ebp - 0x14]
mov edx, edi
call fcn.0040a5d0
mov bl, 1
lea esi, [esi]
jmp 0x42b440
mov eax, dword [edi]
test eax, eax
je 0x42b435
mov eax, dword [eax - 4]
shr eax, 1
test eax, eax
jle 0x42b440
mov bl, 1
mov byte [ebp - 0x1c], 1
nop
test bl, bl
jne 0x42b474
lea eax, [ebp - 0x14]
push eax
mov eax, dword [0x569af0]
call fcn.0040cd20
mov ecx, eax
mov edx, dword [0x569af0]
mov eax, 0x58ed90
call fcn.004237d0
mov eax, dword [ebp - 0x14]
mov edx, edi
call fcn.0040a5d0
mov byte [ebp - 0x1c], 1
mov esi, esi
mov al, byte [ebp - 0x1c]
test al, al
je 0x42b4f0
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
xor dx, dx
call fcn.0040a550
mov edx, dword [ebp - 0x14]
mov eax, esi
call fcn.00429700
mov byte [ebp - 0x18], al
lea ecx, [ebp - 0xc]
mov edx, 0x10
mov eax, 0x597c20
call fcn.0042b8a0
push 0
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
xor dx, dx
call fcn.0040a550
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 8]
call fcn.00408cd0
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 8]
mov eax, esi
xor cl, cl
call fcn.0042b2d0
mov edx, edi
mov eax, dword [ebp - 0x10]
call fcn.0040a5d0
mov al, byte [ebp - 0x18]
test al, al
jne 0x42b4f0
xor bl, bl
jmp 0x42b4f2
mov bl, 1
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0042b340
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b520
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x234]
push ebx
push esi
push edi
mov esi, edx
mov dword [ebp - 0x234], 0
xor eax, eax
push fcn.0042b510
push ebp
push 0x414810
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 2
call fcn.00554730
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x42b570
mov eax, esi
mov edx, dword [ebp - 0x234]
call fcn.0040a6a0
jmp 0x42b641
mov dword [ebp - 0x22c], 0x22c
lea eax, [ebp - 0x22c]
push eax
push ebx
call fcn.00554740
test eax, eax
jne 0x42b5a4
push ebx
call sub.kernel32.dll_CloseHandle
mov eax, esi
mov edx, dword [ebp - 0x234]
call fcn.0040a6a0
jmp 0x42b641
xor edi, edi
mov esi, esi
call sub.kernel32.dll_GetCurrentProcessId
cmp eax, dword [ebp - 0x224]
jne 0x42b5c0
mov edi, dword [ebp - 0x214]
jmp 0x42b5d1
lea eax, [ebp - 0x22c]
push eax
push ebx
call fcn.00554750
test eax, eax
jne 0x42b5a8
push ebx
call sub.kernel32.dll_CloseHandle
push edi
push 0
push 0x1000
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
je 0x42b634
mov edx, 0x104
mov dword [ebp - 0x230], edx
lea eax, [ebp - 0x234]
call fcn.0040a9a0
lea eax, [ebp - 0x230]
push eax
mov eax, dword [ebp - 0x234]
test eax, eax
jne 0x42b616
mov eax, 0x5e92f0
push eax
push 0
push ebx
call sub.kernel32.dll_QueryFullProcessImageNameW
test al, al
je 0x42b634
mov edx, dword [ebp - 0x230]
lea eax, [ebp - 0x234]
call fcn.0040a9a0
mov eax, esi
mov edx, dword [ebp - 0x234]
call fcn.0040a6a0
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0042b510
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b6b0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x26c]
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, edx
call fcn.00408ba0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x254], 0
xor eax, eax
push fcn.0042b660
push ebp
push 0x414810
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x26c], 0
push 0
push 2
call fcn.00554730
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x42b730
mov byte [ebp - 0x268], 0
jmp 0x42b85f
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push ebx
call fcn.00554740
test eax, eax
jne 0x42b760
push ebx
call sub.kernel32.dll_CloseHandle
mov byte [ebp - 0x268], 0
jmp 0x42b85f
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x254]
call fcn.00459eb0
mov edx, dword [ebp - 0x254]
lea ecx, [ebp - 0x240]
mov eax, 0x5978a8
call fcn.00427bf0
lea ecx, [ebp - 0x244]
lea edx, [ebp - 0x240]
mov eax, 0x5978a8
call fcn.00427b70
lea esi, [esi]
push 1
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x20c]
xor cx, cx
mov edx, 0x103
call fcn.0040b770
lea ecx, [ebp - 0x24c]
mov eax, dword [ebp - 0x250]
xor edx, edx
call fcn.0043df50
mov edx, dword [ebp - 0x24c]
lea ecx, [ebp - 0x264]
mov eax, 0x5978a8
call fcn.00427bf0
lea edi, [ebp - 0x240]
lea esi, [ebp - 0x264]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x248]
lea edx, [ebp - 0x240]
mov eax, 0x5978a8
call fcn.00427b70
mov edx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x244]
call fcn.00409790
test eax, eax
jne 0x42b838
call sub.kernel32.dll_GetCurrentProcessId
cmp eax, dword [ebp - 0x228]
je 0x42b838
mov byte [ebp - 0x26c], 1
nop
lea eax, [ebp - 0x230]
push eax
push ebx
call fcn.00554750
test eax, eax
jne 0x42b7a0
push ebx
call sub.kernel32.dll_CloseHandle
mov al, byte [ebp - 0x26c]
mov byte [ebp - 0x268], al
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0042b660
mov al, byte [ebp - 0x268]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c460
Capabilities:
Parse pe header

Disassembly:
cmp word [edx], 0x5a4d
je 0x42c46c
xor eax, eax
ret
add edx, dword [edx + 0x3c]
cmp dword [edx], 0x4550
jne 0x42c47c
mov eax, dword [edx + 0x28]
ret
xor eax, eax
ret