joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5baf60
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], eax
mov dword [esp + 8], edx
xor esi, esi
xor edi, edi
xor eax, eax
mov ebp, ecx
test ebp, ebp
jns 0x5baf7d
add ebp, 3
sar ebp, 2
test ebp, ebp
jle 0x5bb08f
mov edx, 4
mov eax, esp
mov ecx, dword [esp + 4]
movzx ecx, byte [ecx + esi]
cmp ecx, 0x3d
jg 0x5bafb0
je 0x5baffc
sub ecx, 0x2b
je 0x5baff2
sub ecx, 4
je 0x5baff7
dec ecx
sub ecx, 0xa
jb 0x5bafe1
jmp 0x5bafff
add ecx, 0xffffffbf
sub ecx, 0x1a
jb 0x5bafc2
add ecx, 0xfffffffa
sub ecx, 0x1a
jb 0x5bafd0
jmp 0x5bafff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x41
mov byte [eax], cl
jmp 0x5bafff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x61
add cl, 0x1a
mov byte [eax], cl
jmp 0x5bafff
mov ecx, dword [esp + 4]
mov cl, byte [ecx + esi]
sub cl, 0x30
add cl, 0x34
mov byte [eax], cl
jmp 0x5bafff
mov byte [eax], 0x3e
jmp 0x5bafff
mov byte [eax], 0x3f
jmp 0x5bafff
mov byte [eax], 0xff
inc esi
inc eax
dec edx
jne 0x5baf8f
mov al, byte [esp]
shl eax, 2
xor edx, edx
mov dl, byte [esp + 1]
shr edx, 4
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi], al
lea eax, [edi + 1]
mov dl, byte [esp + 2]
cmp dl, 0xff
je 0x5bb04f
cmp byte [esp + 3], 0xff
jne 0x5bb04f
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
lea eax, [edi + 2]
inc edi
jmp 0x5bb087
cmp dl, 0xff
je 0x5bb087
mov al, byte [esp + 1]
shl eax, 4
and edx, 0xff
shr edx, 2
or al, dl
mov edx, dword [esp + 8]
mov byte [edx + edi + 1], al
mov eax, dword [esp + 8]
mov dl, byte [esp + 2]
shl edx, 6
or dl, byte [esp + 3]
mov byte [eax + edi + 2], dl
lea eax, [edi + 3]
add edi, 2
inc edi
dec ebp
jne 0x5baf88
add esp, 0xc
pop ebp
pop edi
pop esi
ret

Function at 0x5bb11c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
xor ebx, ebx
mov ecx, 0xe317a0
mov eax, ebx
mov edx, 8
test al, 1
je 0x5bb138
shr eax, 1
xor eax, 0xedb88320
jmp 0x5bb13a
shr eax, 1
dec edx
jne 0x5bb12b
mov dword [ecx], eax
inc ebx
add ecx, 4
cmp ebx, 0x100
jne 0x5bb124
pop ebx
ret
Function at 0x5bb150
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x5bb159
mov eax, dword [ebp - 4]
add esp, 0xfffffebc
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.005b2a38
xor eax, eax
push ebp
push 0x5bb239
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.005bb11c
mov eax, dword [0xe30e0c]
mov byte [eax], 0
mov dword [ebx], 0xffffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x154]
call fcn.005b0e7c
mov edx, 1
lea eax, [ebp - 0x154]
call fcn.005b1218
call fcn.005b0ba8
test eax, eax
jne 0x5bb216
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x10145]
mov ecx, 0xfff1
lea eax, [ebp - 0x154]
call fcn.005b0fcc
mov dx, word [ebp - 8]
test dx, dx
jbe 0x5bb210
lea eax, [ebp - 0x10145]
xor ecx, ecx
mov cl, byte [eax]
mov esi, dword [ebx]
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0xe317a0]
mov esi, dword [ebx]
shr esi, 8
xor ecx, esi
mov dword [ebx], ecx
inc eax
dec dx
jne 0x5bb1ec
cmp dword [ebp - 8], 0
jne 0x5bb1c3
lea eax, [ebp - 0x154]
call fcn.005b0fec
not dword [ebx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bb240
lea eax, [ebp - 4]
call fcn.005b2588
ret

Function at 0x5c6718
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
test esi, esi
jbe 0x5c6738
mov ecx, 1
mov ebx, edx
add ebx, ecx
dec ebx
mov bl, byte [ebx]
mov edi, eax
add edi, ecx
dec edi
xor byte [edi], bl
inc ecx
dec esi
jne 0x5c6726
pop edi
pop esi
pop ebx
ret
Function at 0x5cefd4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
xor ebp, ebp
mov ebx, 0xe31cb4
mov eax, ebp
shr eax, 1
and eax, 0xff
mov dword [esp], eax
mov esi, ebp
and esi, 1
mov eax, ebp
and eax, 0x200
shr eax, 8
or esi, eax
mov edx, dword [esi*4 + 0xe26670]
mov eax, dword [esi*4 + 0xe266b0]
xor eax, dword [esp]
call fcn.005cef70
mov edi, eax
shl edi, 0x18
mov eax, edi
call fcn.005cefac
mov dword [ebx], eax
mov edx, dword [esi*4 + 0xe26680]
mov eax, dword [esi*4 + 0xe266c0]
xor eax, dword [esp]
call fcn.005cef70
mov edi, eax
shl edi, 0x10
mov eax, edi
call fcn.005cefac
mov dword [ebx + 0x1000], eax
mov edx, dword [esi*4 + 0xe26690]
mov eax, dword [esi*4 + 0xe266d0]
xor eax, dword [esp]
call fcn.005cef70
mov edi, eax
shl edi, 8
mov eax, edi
call fcn.005cefac
mov dword [ebx + 0x2000], eax
mov edx, dword [esi*4 + 0xe266a0]
mov eax, dword [esi*4 + 0xe266e0]
xor eax, dword [esp]
call fcn.005cef70
mov edi, eax
mov eax, edi
call fcn.005cefac
mov dword [ebx + 0x3000], eax
inc ebp
add ebx, 4
cmp ebp, 0x400
jne 0x5cefe0
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5cf138
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4]
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
lea eax, [eax + eax*2]
mov edx, dword [ebp - 4]
lea eax, [edx + eax*4 + 0x4c]
mov dword [ebp - 0x14], eax
xor ebx, ebx
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [eax + ebx*4], edx
inc ebx
cmp ebx, 3
jne 0x5cf16d
xor ebx, ebx
mov eax, ebx
mov esi, 3
xor edx, edx
div esi
mov eax, dword [ebp - 0x14]
lea eax, [eax + edx*4]
mov dword [ebp - 0x18], eax
xor eax, eax
lea edx, [eax + ecx]
and edx, 3
mov esi, dword [ebp - 8]
lea edx, [esi + edx*2]
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x1c]
mov dx, word [edx]
and dx, 1
movzx edx, dx
mov esi, dword [ebp - 0x18]
mov esi, dword [esi]
add esi, esi
or esi, edx
mov edi, dword [ebp - 0x18]
mov dword [edi], esi
mov esi, dword [ebp - 0x1c]
movzx esi, word [esi]
shr esi, 1
xor dx, 1
shl edx, 0xf
or si, dx
mov edx, dword [ebp - 0x1c]
mov word [edx], si
inc eax
cmp eax, 4
jne 0x5cf193
inc ebx
cmp ebx, 0xf
jne 0x5cf17d
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 8
jne 0x5cf14f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x5d8ee0
Capabilities:
Encrypt data using twofish

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov dword [esp + 0x18], 0x100
mov esi, 0xe2b0f4
mov ebx, 0xe35ce4
movzx edi, byte [esi]
mov dword [esp], edi
mov eax, edi
call fcn.005d7e30
mov dword [esp + 8], eax
mov eax, edi
call fcn.005d7e40
mov dword [esp + 0x10], eax
movzx edi, byte [esi + 0x100]
mov dword [esp + 4], edi
mov eax, edi
call fcn.005d7e30
mov dword [esp + 0xc], eax
mov eax, edi
call fcn.005d7e40
mov ebp, eax
mov dword [esp + 0x14], ebp
mov eax, edi
mov edx, dword [esp + 0xc]
shl edx, 8
or eax, edx
mov edx, ebp
shl edx, 0x10
or eax, edx
mov edx, ebp
shl edx, 0x18
or eax, edx
mov dword [ebx], eax
mov eax, dword [esp + 0x10]
mov edx, eax
mov ecx, eax
shl ecx, 8
or edx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x10
or edx, ecx
mov ecx, dword [esp]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x400], edx
mov edx, dword [esp + 0xc]
shl ebp, 8
or edx, ebp
shl edi, 0x10
or edx, edi
mov ecx, dword [esp + 0x14]
shl ecx, 0x18
or edx, ecx
mov dword [ebx + 0x800], edx
mov edx, dword [esp + 8]
mov ecx, dword [esp]
shl ecx, 8
or edx, ecx
shl eax, 0x10
or edx, eax
mov eax, dword [esp + 8]
shl eax, 0x18
or edx, eax
mov dword [ebx + 0xc00], edx
add ebx, 4
inc esi
dec dword [esp + 0x18]
jne 0x5d8ef9
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x402bbd
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x442361
call fcn.00441920
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi], 0x44a580
lea ecx, [esi + 0xc]
mov dword [esi + 8], edi
push 3
mov dword [ebp - 4], edi
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.004033c8
lea ecx, [esi + 0x18]
push 3
mov byte [ebp - 4], 1
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.004033c8
lea ecx, [esi + 0x24]
push 3
mov byte [ebp - 4], 2
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.004033c8
lea ecx, [esi + 0x30]
push 3
mov byte [ebp - 4], 3
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.004033c8
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], 4
mov dword [esi + 0x3c], 0x44a538
mov dword [esi], 0x44a550
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x402c82
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x4423a8
call fcn.00441920
push ecx
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
lea edi, [esi + 0x3c]
mov dword [ebp - 0x14], edi
mov dword [edi], 0x44a538
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.0042893e
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00428915
push dword [esi + 0x30]
call fcn.00428aef
push dword [esi + 0x24]
call fcn.00428aef
push dword [esi + 0x18]
call fcn.00428aef
push dword [esi + 0xc]
call fcn.00428aef
mov ecx, dword [ebp - 0xc]
add esp, 0x10
mov dword [esi], 0x44a5b0
mov dword fs:[0], ecx
pop edi
pop esi
leave
ret

Function at 0x40600a
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x406054
cmp dword [ebp - 0x84], 2
jne 0x406054
cmp dword [ebp - 0x90], 5
jb 0x406054
jbe 0x406046
mov al, 1
leave
ret
cmp dword [ebp - 0x8c], 1
jb 0x406054
seta al
leave
ret
xor al, al
leave
ret
Function at 0x408127
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x442ddf
call fcn.00441920
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push 3
mov dword [ebp - 0x10], esi
mov dword [esi], 0x44ac44
mov dword [esi + 4], 0x44ac34
mov dword [esi + 8], 0x44ac04
mov dword [esi + 0xc], 0x44abf4
mov dword [esi + 0x10], 0x44abe4
mov dword [esi + 0x14], 0x44abd4
lea ecx, [esi + 0x20]
mov dword [esi + 0x18], 0x44abc4
mov dword [esi + 0x1c], ebx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.004033c8
lea ecx, [esi + 0x30]
mov dword [ebp - 4], ebx
call fcn.00408205
push 4
lea eax, [esi + 0x90]
pop ecx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x44abbc
lea eax, [esi + 0xac]
mov dword [esi + 0xa4], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0xc]
mov dword [eax], 0x44abb4
mov byte [esi + 0xc0], bl
or dword [esi + 0xc4], 0xffffffff
mov dword [esi], 0x44ab84
mov dword [esi + 4], 0x44ab74
mov dword [esi + 8], 0x44ab44
mov dword [esi + 0xc], 0x44ab34
mov dword [esi + 0x10], 0x44ab24
mov dword [esi + 0x14], 0x44ab14
mov dword [esi + 0x18], 0x44ab04
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40b150
Capabilities:
Identify system language via api

Disassembly:
mov eax, 0x44354c
call fcn.00441920
sub esp, 0x30
mov eax, dword [ecx]
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x18], ecx
mov dword [ecx + 4], edi
mov word [eax], di
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
cmp si, ax
jne 0x40b25f
mov esi, eax
push 4
shr ax, 0xa
lea ecx, [ebp - 0x3c]
and esi, 0x3ff
mov dword [ebp - 0x1c], eax
call fcn.004027c9
mov ebx, 0x44ad3c
mov dword [ebp - 0x3c], ebx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], edi
call fcn.0040af0d
cmp dword [ebp - 0x34], edi
mov dword [ebp - 0x14], edi
jle 0x40b241
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
push 3
mov edi, dword [eax + ecx*4]
xor eax, eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
call fcn.004033c8
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
push 2
mov byte [ebp - 4], 1
call fcn.00428563
test al, al
je 0x40b225
lea eax, [ebp - 0xe]
lea edx, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040b0e3
test al, al
je 0x40b225
cmp word [ebp - 0x10], si
jne 0x40b225
cmp word [ebp - 0xe], 0
jne 0x40b21b
mov ecx, dword [ebp - 0x18]
lea eax, [edi + 0x14]
push eax
call fcn.0040315e
mov ax, word [ebp - 0xe]
cmp word [ebp - 0x1c], ax
je 0x40b26e
push dword [ebp - 0x28]
and byte [ebp - 4], 0
call fcn.00428aef
inc dword [ebp - 0x14]
pop ecx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x34]
jl 0x40b1bc
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.0042893e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00428915
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
mov ecx, dword [ebp - 0x18]
add edi, 0x14
push edi
call fcn.0040315e
push dword [ebp - 0x28]
call fcn.00428aef
pop ecx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 4], 2
jmp 0x40b24b
Function at 0x40c23c
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
cmp ecx, 0x3e8
jl 0x40c2a6
push esi
push ecx
mov ecx, dword [0x45c33c]
imul ecx, ecx, 0x18c
add ecx, 0x45c3b4
call fcn.00419d6b
mov eax, dword [0x45c33c]
mov esi, eax
imul esi, esi, 0x18c
add esi, 0x45c528
mov ecx, dword [esi]
test ecx, ecx
je 0x40c285
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [esi], 0
mov eax, dword [0x45c33c]
imul eax, eax, 0x18c
add eax, 0x45c52c
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x40c2a1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [esi], 0
mov al, 1
pop esi
pop ecx
ret
lea eax, [ecx - 0xd2]
cmp eax, 0x29
ja case.0x40c2bc.213
movzx eax, byte [eax + 0x40c474]
jmp dword [eax*4 + 0x40c42c]
push 1
jmp 0x40c2e5
mov ecx, dword [0x45c33c]
imul ecx, ecx, 0x18c
add ecx, 0x45c3b4
call fcn.00417664
jmp case.0x40c2bc.220
push 0
mov ecx, dword [0x45c33c]
imul ecx, ecx, 0x18c
add ecx, 0x45c3b4
call fcn.004176a3
jmp case.0x40c2bc.220
mov ecx, dword [0x45c33c]
imul ecx, ecx, 0x18c
add ecx, 0x45c3b4
call fcn.0041762e
jmp case.0x40c2bc.220
mov ecx, dword [0x45c33c]
imul ecx, ecx, 0x18c
add ecx, 0x45c3b4
call fcn.0041b526
jmp case.0x40c2bc.220
push dword [0x45c33c]
push 0
push 0
jmp 0x40c34f
push dword [0x45c33c]
push 0
push 1
mov ecx, 0x45c330
call fcn.00401e70
jmp case.0x40c2bc.220
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, dword [0x45c33c]
shr eax, 0xf
and al, 1
mov byte [esp + 3], al
sete al
imul ecx, ecx, 0x18c
push eax
add ecx, 0x45c3b4
call fcn.0041a30a
jmp case.0x40c2bc.220
mov ecx, 0x45c330
call fcn.00410a36
jmp case.0x40c2bc.220
mov ecx, 0x45c330
call fcn.00414864
jmp case.0x40c2bc.220
mov ecx, 0x45c330
call fcn.0041ca84
jmp case.0x40c2bc.220
mov ecx, 0x45c330
call fcn.0041d395
jmp case.0x40c2bc.220
mov ecx, dword [0x45c33c]
imul ecx, ecx, 0x18c
add ecx, 0x45c3b4
call fcn.00418fe5
jmp case.0x40c2bc.220
mov ecx, dword [0x45c33c]
imul ecx, ecx, 0x18c
add ecx, 0x45c3b4
call fcn.0041b547
jmp case.0x40c2bc.220
mov ecx, dword [0x45c33c]
imul ecx, ecx, 0x18c
add ecx, 0x45c3b4
call fcn.0041ae6a
jmp case.0x40c2bc.220
mov ecx, dword [0x45c33c]
imul ecx, ecx, 0x18c
add ecx, 0x45c3b4
call fcn.0041b2bf
mov al, 1
pop ecx
ret
xor al, al
pop ecx
ret

Function at 0x40e053
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x160
lea eax, [esp]
neg cl
sbb ecx, ecx
and cl, 1
add ecx, 0x100
or cx, 0x4010
push ecx
push 0x160
push eax
push 0x90
push 0x45c78c
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
add esp, 0x160
ret
Function at 0x414f74
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4449c0
call fcn.00441920
sub esp, 0x60
push ebx
xor ebx, ebx
cmp byte [0x45c72c], bl
push esi
mov esi, ecx
je 0x414ff5
mov eax, dword [edx]
cmp dword [esi + 4], ebx
mov dword [ebp - 0x6c], 0x3c
mov dword [ebp - 0x68], 0x140
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], ebx
jne 0x414fb4
xor esi, esi
jmp 0x414fb6
mov esi, dword [esi]
push str.ShellExecuteExW
push 0x45a934
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x34], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x41509e
lea ecx, [ebp - 0x6c]
push ecx
call eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x34]
mov esi, dword [ebp - 0x4c]
mov dword [eax], ecx
jmp 0x415069
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x6c], 0x3c
mov dword [ebp - 0x68], 0x140
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
call fcn.00402f4d
mov edx, esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.00402f4d
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x14]
neg eax
sbb eax, eax
mov dword [ebp - 0x50], 1
and eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x34]
push dword [ebp - 0x18]
mov esi, dword [ebp - 0x4c]
mov dword [eax], ecx
call fcn.00428aef
push dword [ebp - 0x24]
or dword [ebp - 4], 0xffffffff
call fcn.00428aef
pop ecx
pop ecx
cmp esi, 0x20
ja 0x41509e
cmp esi, 0x1f
jne 0x41509e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.0042a11a
push 0x10
push 0x45a6c8
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [ebp - 0x30]
call fcn.00428aef
pop ecx
mov ecx, dword [ebp - 0xc]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x416397
Capabilities:
Enumerate processes

Disassembly:
mov eax, 0x444ca8
call fcn.00441920
sub esp, 0x15c
push ebx
push esi
mov ebx, ecx
push edi
push 4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], ebx
call fcn.004027c9
mov esi, 0x44b3e8
mov dword [ebp - 0x2c], esi
and dword [ebp - 4], 0
push 4
lea ecx, [ebp - 0x40]
call fcn.004027c9
mov dword [ebp - 0x40], esi
push 0
push 2
mov byte [ebp - 4], 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 0x14], edi
je 0x41644a
mov esi, 0x128
lea eax, [ebp - 0x168]
push esi
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x168]
mov dword [ebp - 0x168], esi
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
setne al
movzx eax, al
test eax, eax
je 0x41644a
push dword [ebp - 0x160]
lea ecx, [ebp - 0x2c]
call fcn.0041a05c
push dword [ebp - 0x150]
lea ecx, [ebp - 0x40]
call fcn.0041a05c
lea eax, [ebp - 0x168]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
jmp 0x416413
cmp edi, 0xffffffff
mov byte [ebp - 4], 1
je 0x41645a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp - 0x24], eax
mov dword [ebp - 0x14], eax
jle 0x41652a
mov ecx, dword [ebp - 0x20]
xor esi, esi
shl eax, 2
mov ecx, dword [eax + ecx]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x34]
add eax, ecx
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x4164a6
mov edi, dword [ebx + 0xc]
mov ebx, dword [eax]
lea eax, [ecx + esi]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [edi + eax*4]
cmp ebx, edx
je 0x4164d1
jae 0x41649c
mov ecx, eax
jmp 0x41649f
lea esi, [eax + 1]
cmp esi, ecx
jne 0x416487
mov ebx, dword [ebp - 0x18]
or eax, 0xffffffff
test eax, eax
jl 0x4164fa
mov edi, dword [ebx + 8]
xor esi, esi
test edi, edi
je 0x4164dd
mov ecx, dword [ebx + 0xc]
lea eax, [edi + esi]
cdq
sub eax, edx
sar eax, 1
lea ecx, [ecx + eax*4]
mov ecx, dword [ecx]
cmp dword [ebp - 0x10], ecx
je 0x4164e0
jae 0x4164d6
mov edi, eax
jmp 0x4164d9
mov ebx, dword [ebp - 0x18]
jmp 0x4164a9
lea esi, [eax + 1]
cmp esi, edi
jne 0x4164b6
or eax, 0xffffffff
test eax, eax
jge 0x4164fa
push dword [ebp - 0x10]
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x41650c
mov eax, dword [ebp - 0x14]
inc eax
cmp eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
jl 0x416468
jmp 0x41652a
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.004165e3
push esi
lea ecx, [ebx + 0x14]
call fcn.0041a05c
push 1
lea ecx, [ebx + 0x28]
call fcn.00416577
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x14], eax
jne 0x41645a
and byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00428915
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00428915
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41b1ad
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x445556
call fcn.00441920
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi], 0x44a580
lea ecx, [esi + 0xc]
mov dword [esi + 8], edi
push 3
mov dword [ebp - 4], edi
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.004033c8
lea ecx, [esi + 0x18]
push 3
mov byte [ebp - 4], 1
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.004033c8
lea ecx, [esi + 0x24]
push 3
mov byte [ebp - 4], 2
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.004033c8
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], 4
mov dword [esi + 0x30], 0x44a538
mov dword [esi], 0x44b414
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x41b23b
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x445591
call fcn.00441920
push ecx
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
lea edi, [esi + 0x30]
mov dword [ebp - 0x14], edi
mov dword [edi], 0x44a538
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.0042893e
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00428915
push dword [esi + 0x24]
call fcn.00428aef
push dword [esi + 0x18]
call fcn.00428aef
push dword [esi + 0xc]
call fcn.00428aef
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword [esi], 0x44a5b0
mov dword fs:[0], ecx
pop edi
pop esi
leave
ret

Function at 0x41cfa1
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4458ab
call fcn.00441920
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi], 0x44a580
lea ecx, [esi + 0x10]
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
push 3
mov dword [ebp - 4], edi
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.004033c8
lea ecx, [esi + 0x1c]
push 3
mov byte [ebp - 4], 1
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.004033c8
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], 8
mov dword [esi + 0x28], 0x44b474
mov dword [esi], 0x44b444
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret