joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430240
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c74e0
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x4fd43c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [edi]
call fcn.00430530
mov eax, dword [edi]
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 4], eax
lea eax, [ebp - 0x230]
push eax
push 0
mov dword [edi + 4], 0
mov dword [ebp - 0x230], 0
call esi
test eax, eax
je 0x4302ab
cmp eax, 0x6f
jne 0x4302d4
push dword [ebp - 0x230]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x4302d4
lea eax, [ebp - 0x230]
push eax
push ebx
call esi
test eax, eax
je 0x4302db
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x430425
xorps xmm0, xmm0
mov esi, ebx
movlpd qword [ebp - 0x1c], xmm0
mov eax, dword [esi + 0x194]
lea ecx, [ebp - 0x1c]
cmp eax, dword [ecx]
jne 0x430301
mov eax, dword [esi + 0x198]
cmp eax, dword [ecx + 4]
je 0x43040c
push 0x20a
lea eax, [ebp - 0x22c]
push 0
push eax
call fcn.004a3c10
movzx eax, byte [esi + 0x199]
add esp, 0xc
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02X_02X_02X_02X_02X_02X
push 0xffffffffffffffff
lea eax, [ebp - 0x22c]
push 0x104
push eax
call fcn.00430220
add esp, 0x28
mov dword [ebp - 0x248], 0
xor eax, eax
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x234], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x430392
sub eax, edx
lea ecx, [ebp - 0x248]
sar eax, 1
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.00403dd0
lea eax, [ebp - 0x248]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.00430450
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x43040c
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x430402
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430441
push edx
push ecx
call fcn.004a1afe
add esp, 8
mov esi, dword [esi]
test esi, esi
jne 0x4302e5
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
cmp dword [edi + 4], eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a186f
mov esp, ebp
pop ebp
ret
call fcn.004a670d
int3
Function at 0x431720
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x4fd43c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
test ecx, ecx
je 0x4318b6
test edx, edx
jle 0x4318b6
push edx
xorps xmm0, xmm0
mov byte [ebp - 0x34], 0
push ecx
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x9c], 0x67452301
mov dword [ebp - 0x98], 0xefcdab89
mov dword [ebp - 0x94], 0x98badcfe
mov dword [ebp - 0x90], 0x10325476
movups xmmword [ebp - 0x30], xmm0
mov byte [ebp - 0x10], 0
movups xmmword [ebp - 0x20], xmm0
call fcn.00430ed0
cmp byte [ebp - 0x34], 0
jne 0x431866
xor edx, edx
lea ecx, [ebp - 0x8b]
movzx eax, byte [ecx - 1]
lea ecx, [ecx + 4]
mov byte [ebp + edx - 0xc], al
movzx eax, byte [ecx - 4]
mov byte [ebp + edx - 0xb], al
movzx eax, byte [ecx - 3]
mov byte [ebp + edx - 0xa], al
movzx eax, byte [ecx - 2]
mov byte [ebp + edx - 9], al
add edx, 4
cmp edx, 8
jb 0x4317b5
mov edx, dword [ebp - 0x8c]
mov ecx, 0x78
shr edx, 3
mov eax, 0x38
and edx, 0x3f
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovae eax, ecx
lea ecx, [ebp - 0x9c]
push eax
push 0x4fdec8
call fcn.00430ed0
push 8
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x9c]
call fcn.00430ed0
xor edx, edx
lea ecx, [ebp - 0x9b]
nop word [eax + eax]
movzx eax, byte [ecx - 1]
lea ecx, [ecx + 4]
mov byte [ebp + edx - 0x44], al
movzx eax, byte [ecx - 4]
mov byte [ebp + edx - 0x43], al
movzx eax, byte [ecx - 3]
mov byte [ebp + edx - 0x42], al
movzx eax, byte [ecx - 2]
mov byte [ebp + edx - 0x41], al
add edx, 4
cmp edx, 0x10
jb 0x431830
mov byte [ebp - 0x84], 0
mov byte [ebp - 0x34], 1
push esi
push edi
xor esi, esi
lea edi, [ebp - 0x30]
nop dword [eax]
movzx eax, byte [ebp + esi - 0x44]
push eax
push str._02x
push 3
push edi
call fcn.00407a20
inc esi
add esp, 0x10
add edi, 2
cmp esi, 0x10
jl 0x431870
push 0x20
lea eax, [ebp - 0x30]
mov byte [ebp - 0x10], 0
push eax
mov ecx, ebx
call fcn.00407760
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a186f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop ebx
call fcn.004a186f
mov esp, ebp
pop ebp
ret
Function at 0x433300
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7a05
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4fd43c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.setup_auto_run
push 0x79
push str.registerRunExe
call fcn.00436bb0
add esp, 0xc
mov dword [ebp - 0x28], 0
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 1
push 0x4e6450
call fcn.00403dd0
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 0
push eax
call fcn.0043aec0
add esp, 4
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x433389
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00403ef0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x4333d1
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4333c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4334ad
push edx
push ecx
call fcn.004a1afe
add esp, 8
push 0xb
push str.ldspace.exe
lea ecx, [ebp - 0x28]
call fcn.00403ef0
push 9
push str.__autorun
lea ecx, [ebp - 0x28]
call fcn.00403ef0
lea eax, [ebp - 0x2c]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x43345d
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 8
lea ecx, [eax*2 + 2]
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 1
push 0
push str.LDPlayerX
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x2c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x43345d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.set_reg_error_.__lastError___d
push 0x86
push str.registerRunExe
call fcn.00436bb0
add esp, 0x10
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x433493
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x433489
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4334b2
push edx
push ecx
call fcn.004a1afe
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a186f
mov esp, ebp
pop ebp
ret
call fcn.004a670d
call fcn.004a670d
int3
Function at 0x433cc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7be3
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x4fd43c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebx + 0x2c]
mov esi, dword [ebp + 0xc]
push str.updateVersionLabel
call fcn.00456100
push str.updateContentLabel
lea ecx, [ebx + 0x2c]
mov dword [ebp - 0x2c], eax
call fcn.00456100
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x28]
push 0xc
xor eax, eax
mov dword [ebp - 0x28], 0
push str.S_MRHr_g
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00403dd0
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x433d52
mov edi, dword [edi]
push eax
push edi
lea ecx, [ebp - 0x28]
call fcn.00403ef0
push 1
push 0x4e9338
lea ecx, [ebp - 0x28]
call fcn.00403ef0
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x14], 8
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call edx
cmp dword [esi + 0x14], 8
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx]
jb 0x433d8e
mov esi, dword [esi]
push esi
call dword [eax + 0x3c]
mov al, byte [ebp + 0x10]
mov byte [ebx + 0x550], al
test al, al
je 0x433e2a
push str.cancelBtn
lea ecx, [ebx + 0x2c]
call fcn.00456100
push 0
mov ecx, dword [eax]
mov edx, dword [ecx + 0xe0]
mov ecx, eax
call edx
mov ecx, dword [0x4fe1c4]
push 0
call fcn.0045d3f0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x120
lea eax, [ebp - 0x150]
push 0
push eax
call fcn.004a3c10
add esp, 0xc
lea ecx, [ebp - 0x150]
call fcn.0045cc00
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 1
call fcn.0045cc00
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 2
push eax
mov ecx, ebx
call fcn.00433f00
lea ecx, [ebp - 0xcc]
call fcn.0045ccc0
lea ecx, [ebp - 0x150]
call fcn.0045ccc0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x433e60
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x433e56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433e7e
push edx
push ecx
call fcn.004a1afe
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a186f
mov esp, ebp
pop ebp
ret 0xc
call fcn.004a670d
int3
Function at 0x438f20
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x14]
push eax
movzx ecx, byte [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00403ee0
push eax
mov ecx, dword [ebp + 8]
call fcn.00403ee0
push eax
push str.shell_filename____s___param____s___runas___d__show___d
push 0xc
push 0x4e9924
call fcn.00436bb0
add esp, 0x1c
call fcn.0043f770
movzx edx, al
test edx, edx
je 0x438f73
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x438f73
mov dword [ebp - 8], 0x4e9918
jmp 0x438f7a
mov dword [ebp - 8], 0x4e990c
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0x438f8b
mov dword [ebp - 4], 5
jmp 0x438f92
mov dword [ebp - 4], 0
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00403ee0
push eax
mov ecx, dword [ebp + 8]
call fcn.00403ee0
push eax
mov ecx, dword [ebp - 8]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.shellEx_ret_._lastError___d
push 0x18
push str.utility::process::shell
call fcn.00436bb0
add esp, 0x10
cmp dword [ebp - 0x10], 0x20
jg 0x438fff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4e9a08
push 0x1b
push 0x4e99f0
call fcn.00436bb0
add esp, 0x10
xor al, al
jmp 0x439001
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x439010
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [ebp + 0x18]
push eax
movzx ecx, byte [ebp + 0x14]
push ecx
movzx edx, byte [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00403ee0
push eax
mov ecx, dword [ebp + 8]
call fcn.00403ee0
push eax
push str.shellEx_filename____s___param____s___runas___d__show___d__timeout___d
push 0x24
push 0x4e9ab4
call fcn.00436bb0
add esp, 0x20
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x4c], 0x440
mov dword [ebp - 0x48], 0
call fcn.0043f770
movzx eax, al
test eax, eax
je 0x43907c
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x43907c
mov dword [ebp - 0x44], str.runas
jmp 0x439083
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp + 8]
call fcn.00403ee0
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 0xc]
call fcn.00403ee0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0
movzx edx, byte [ebp + 0x14]
test edx, edx
je 0x4390b1
mov dword [ebp - 0x10], 5
jmp 0x4390b8
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4390ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
push ecx
push 0x4e9a70
push 0x36
push 0x4e9bac
call fcn.00436bb0
add esp, 0x10
xor al, al
jmp 0x4391e1
mov byte [ebp - 1], 1
cmp dword [ebp + 0x18], 0
je 0x4391d4
mov byte [ebp - 1], 0
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x439142
cmp dword [ebp - 8], 0x102
je 0x43918d
cmp dword [ebp - 8], 0xffffffff
je 0x4391ae
jmp 0x4391d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
mov dword [ebp - 0xc], 0xffffffff
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0xc], 0
jne 0x43916c
mov byte [ebp - 1], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0xc]
push edx
push str.shellEx_exitcode___d_lastError___d
push 0x49
push 0x4e9b90
call fcn.00436bb0
add esp, 0x14
jmp 0x4391d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
push str.shellEx_timeout___
push 0x4f
push str.utility::process::shellEx
call fcn.00436bb0
add esp, 0xc
jmp 0x4391d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0x1c]
mov dword [edx], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.shellEx_failed____lastError___d
push 0x55
push 0x4e9c14
call fcn.00436bb0
add esp, 0x10
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x439300
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c814d
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x4fd43c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x88], 0
movzx eax, byte [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00403ee0
push eax
mov ecx, dword [ebp + 8]
call fcn.00403ee0
push eax
push str.createProcess_filename____s___param____s___show___d
push 0xf1
push 0x4ea0c4
call fcn.00436bb0
add esp, 0x18
mov ecx, dword [ebp + 8]
push ecx
push 0x4ea258
lea edx, [ebp - 0x40]
push edx
call fcn.00439c60
add esp, 0xc
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 0
push 0x4ea25c
mov edx, dword [ebp - 0x64]
lea ecx, [ebp - 0x28]
call fcn.0040c5e0
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00403c30
mov ecx, dword [ebp + 0xc]
call fcn.0040bb30
movzx ecx, al
test ecx, ecx
jne 0x4393f0
mov edx, dword [ebp + 0xc]
push edx
push 0x4ea204
lea eax, [ebp - 0x58]
push eax
call fcn.00439c60
add esp, 0xc
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x28]
call fcn.00405110
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.00403c30
push 0x44
push 0
lea eax, [ebp - 0xcc]
push eax
call fcn.004a3c10
add esp, 0xc
mov dword [ebp - 0xcc], 0x44
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xa0], 1
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x439446
mov dword [ebp - 0x5c], 5
jmp 0x43944d
mov dword [ebp - 0x5c], 0
mov dx, word [ebp - 0x5c]
mov word [ebp - 0x9c], dx
xor eax, eax
mov word [ebp - 0x9a], ax
mov dword [ebp - 0x98], 0
xor ecx, ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], ecx
lea edx, [ebp - 0x84]
push edx
lea eax, [ebp - 0xcc]
push eax
push 0
push 0
push 0x10
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00403ee0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4394e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4ea208
push 0x104
push str.utility::process::create
call fcn.00436bb0
add esp, 0x10
mov dword [ebp - 0x70], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403c30
mov eax, dword [ebp - 0x70]
jmp 0x439517
mov ecx, dword [ebp - 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x14], 0
je 0x4394fc
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x7c]
mov dword [edx], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403c30
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a186f
mov esp, ebp
pop ebp
ret
Function at 0x439530
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
push eax
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x439576
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.kill32_h_is_null_pid___d_error___d
push 0x113
push 0x4ea2c0
call fcn.00436bb0
add esp, 0x14
xor al, al
jmp 0x4395ca
push 0xffffffffffffffff
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4395ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp + 8]
push eax
push 0x4ea260
push 0x119
push str.utility::process::kill32
call fcn.00436bb0
add esp, 0x14
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xc], 0
je 0x4395c3
mov byte [ebp - 1], 1
jmp 0x4395c7
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x4395d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c819d
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4fd43c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x58]
call fcn.0043a370
mov dword [ebp - 4], 0
push str.tskill.exe
lea ecx, [ebp - 0x28]
call fcn.00403d70
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.0043a2e0
add esp, 8
mov dword [ebp - 0x48], eax
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.004391f0
add esp, 0x10
mov byte [ebp - 0x41], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00403c30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00403c30
movzx eax, byte [ebp - 0x41]
test eax, eax
jne 0x4396c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.tskill.exe_error_lastError___d
push 0x175
push str.utility::process::kill
call fcn.00436bb0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x4396c3
cmp dword [ebp + 0xc], 0xffffffff
jne 0x4396aa
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4396b4
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp + 8]
push edx
call fcn.00439530
add esp, 4
mov byte [ebp - 0x41], al
mov al, byte [ebp - 0x41]
mov byte [ebp - 0x42], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0043a310
mov al, byte [ebp - 0x42]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a186f
mov esp, ebp
pop ebp
ret
Function at 0x439700
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c81dd
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x4fd43c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0xffffffff
jne 0x439773
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x260]
push eax
push str.create_tool_help_snapshot_failed__err___d
push 0x1dd
push str.utility::process::enumProcess
call fcn.00436bb0
add esp, 0x10
jmp 0x439835
mov dword [ebp - 0x258], 0x22c
lea ecx, [ebp - 0x258]
push ecx
mov edx, dword [ebp - 0x25c]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x4397ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp - 0x264]
push eax
push str.process32First_failed__err___d
push 0x1ea
push 0x4ea910
call fcn.00436bb0
add esp, 0x10
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x439835
lea ecx, [ebp - 0x2c]
call fcn.00439850
mov dword [ebp - 4], 0
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00403c00
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00439a50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00439870
lea edx, [ebp - 0x258]
push edx
mov eax, dword [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4397ce
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a186f
mov esp, ebp
pop ebp
ret
Function at 0x43a370
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0
push str.GetNativeSystemInfo
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x43a3bf
lea eax, [ebp - 0x2c]
push eax
call dword [ebp - 8]
jmp 0x43a3c9
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx edx, word [ebp - 0x2c]
cmp edx, 9
je 0x43a3db
movzx eax, word [ebp - 0x2c]
cmp eax, 6
jne 0x43a42a
push str.Wow64DisableWow64FsRedirection
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
push str.Wow64RevertWow64FsRedirection
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x43a42a
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x43a440
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov ecx, dword [ebp + 8]
call fcn.00403ee0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x43a474
xor al, al
jmp 0x43a4ae
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x43a4a2
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x43a4ae
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov esp, ebp
pop ebp
ret