Function at 0x4236f0
Capabilities:
Enumerate processes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf08a
mov eax, dword fs:[0]
push eax
mov eax, 0x1104
call fcn.0044c8e0
mov eax, dword [0x502204]
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 eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0x4d39b0
push eax
mov dword [ebp - 0x1060], 0
call fcn.00459e52
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x423d6f
push 0x4d39b4
push esi
call fcn.00459e52
add esp, 8
mov dword [ebp - 0x105c], eax
test eax, eax
jne 0x423770
push ebx
call fcn.00459b2f
add esp, 4
jmp 0x423d6f
push 0x800
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.0044eee0
push ebx
lea eax, [ebp - 0x1010]
xor esi, esi
push 0x3ff
push eax
xor edi, edi
call fcn.00459aa0
add esp, 0x18
test eax, eax
je 0x4237d2
push 6
lea eax, [ebp - 0x1010]
push 0x4d39b8
push eax
call fcn.00459434
test eax, eax
lea eax, [ebp - 0x1010]
push ebx
push 0x3ff
cmove esi, edi
inc edi
push eax
call fcn.00459aa0
add esp, 0x18
test eax, eax
jne 0x4237a0
push ebx
call fcn.0045a27a
push ebx
lea eax, [ebp - 0x1010]
xor edi, edi
push 0x3ff
push eax
call fcn.00459aa0
add esp, 0x10
test eax, eax
je 0x423aa2
cmp edi, esi
jne 0x423a2a
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 0xf
mov byte [ebp - 0x1040], 0
push 6
push str.hwsig
lea ecx, [ebp - 0x1040]
mov dword [ebp - 4], 0
call fcn.00404170
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0xf
mov byte [ebp - 0x1028], 0
lea eax, [ebp - 0x1028]
mov byte [ebp - 4], 1
push eax
call fcn.00430040
add esp, 4
lea eax, [ebp - 0x1028]
cmp dword [ebp - 0x1014], 0x10
lea ecx, [ebp - 0x1040]
cmovae eax, dword [ebp - 0x1028]
push dword [ebp - 0x1018]
push eax
call fcn.004252b0
push 1
push 0x4d39d0
lea ecx, [ebp - 0x1040]
call fcn.004252b0
push dword [ebp - 0x105c]
cmp dword [ebp - 0x102c], 0x10
lea eax, [ebp - 0x1040]
push 1
push dword [ebp - 0x1030]
cmovae eax, dword [ebp - 0x1040]
push eax
call fcn.0045a1bf
mov edx, dword [ebp - 0x1014]
add esp, 0x10
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x423902
mov ecx, dword [ebp - 0x1028]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4238f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423d8b
push edx
push ecx
call fcn.0044c4b0
add esp, 8
push 8
push 0x4d39d4
lea ecx, [ebp - 0x1040]
call fcn.00404170
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0xf
mov byte [ebp - 0x1028], 0
push 0
lea eax, [ebp - 0x1028]
mov byte [ebp - 4], 2
push 1
push eax
call fcn.00430110
add esp, 0xc
lea eax, [ebp - 0x1028]
cmp dword [ebp - 0x1014], 0x10
lea ecx, [ebp - 0x1040]
cmovae eax, dword [ebp - 0x1028]
push dword [ebp - 0x1018]
push eax
call fcn.004252b0
push 1
push 0x4d39d0
lea ecx, [ebp - 0x1040]
call fcn.004252b0
push dword [ebp - 0x105c]
cmp dword [ebp - 0x102c], 0x10
lea eax, [ebp - 0x1040]
push 1
push dword [ebp - 0x1030]
cmovae eax, dword [ebp - 0x1040]
push eax
call fcn.0045a1bf
mov edx, dword [ebp - 0x1014]
add esp, 0x10
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x4239e7
mov ecx, dword [ebp - 0x1028]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4239dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423d8b
push edx
push ecx
call fcn.0044c4b0
add esp, 8
mov edx, dword [ebp - 0x102c]
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x423a28
mov ecx, dword [ebp - 0x1040]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x423a1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x423d8b
push edx
push ecx
call fcn.0044c4b0
add esp, 8
cmp edi, esi
jl 0x423a84
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.0044eee0
push 0x7ff
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.0042ff00
lea ecx, [ebp - 0x810]
add esp, 0x18
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423a63
push dword [ebp - 0x105c]
sub ecx, edx
lea eax, [ebp - 0x810]
push 1
push ecx
push eax
call fcn.0045a1bf
add esp, 0x10
push ebx
lea eax, [ebp - 0x1010]
inc edi
push 0x3ff
push eax
call fcn.00459aa0
add esp, 0xc
test eax, eax
jne 0x4237f7
push ebx
call fcn.00459b2f
add esp, 4
mov dword [ebp - 0x1048], 0
mov dword [ebp - 0x1044], 0xf
mov byte [ebp - 0x1058], 0
push 0x3f
push str.____________________________________________________nProcesses:_n
lea ecx, [ebp - 0x1058]
mov dword [ebp - 4], 3
call fcn.00404170
push 1
push 3
lea ecx, [ebp - 0x1110]
call fcn.00421e40
push 0
push 2
mov byte [ebp - 4], 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x423c63
push 0x124
lea eax, [ebp - 0x134]
mov dword [ebp - 0x138], 0x128
push 0
push eax
call fcn.0044eee0
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
push edi
call sub.KERNEL32.dll_Process32First
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x423c60
lea eax, [ebp - 0x114]
push eax
push 0x4d3a20
push dword [ebp - 0x130]
lea eax, [ebp - 0x1100]
push 0x4d3a24
push eax
call fcn.00421290
add esp, 8
mov ecx, eax
call fcn.004229a0
push eax
call fcn.00421290
add esp, 8
push eax
call fcn.00421290
mov eax, dword [ebp - 0x130]
add esp, 8
test eax, eax
je 0x423c37
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x423c37
lea eax, [ebp - 0x1040]
push esi
push eax
call fcn.00423280
push eax
lea eax, [ebp - 0x1028]
mov byte [ebp - 4], 5
push eax
call fcn.00423da0
add esp, 0x10
lea ecx, [ebp - 0x1040]
mov byte [ebp - 4], 7
call fcn.00403800
cmp dword [ebp - 0x1018], 0
je 0x423c25
lea eax, [ebp - 0x1100]
push 0x4d3a30
push eax
call fcn.00421290
add esp, 8
lea ecx, [ebp - 0x1028]
cmp dword [ebp - 0x1014], 0x10
cmovae ecx, dword [ebp - 0x1028]
push 0x4d3a2c
push dword [ebp - 0x1018]
push ecx
push eax
call fcn.004215e0
add esp, 0xc
push eax
call fcn.00421290
add esp, 8
push esi
call ebx
lea ecx, [ebp - 0x1028]
mov byte [ebp - 4], 4
call fcn.004038d0
lea eax, [ebp - 0x1100]
push 0x4d39d0
push eax
call fcn.00421290
add esp, 8
lea eax, [ebp - 0x138]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x423b41
push edi
call ebx
mov ecx, dword [ebp - 0x10bc]
mov byte [ebp - 4], 8
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0xf
mov byte [ebp - 0x1028], 0
mov dword [ebp - 0x1060], 2
test cl, 2
jne 0x423cbd
mov eax, dword [ebp - 0x10d8]
mov edx, dword [eax]
test edx, edx
je 0x423cbd
mov eax, dword [ebp - 0x10e8]
cmp edx, dword [ebp - 0x10c0]
cmovb edx, dword [ebp - 0x10c0]
mov ecx, dword [eax]
sub edx, ecx
push edx
jmp 0x423ce3
test cl, 4
jne 0x423cef
mov eax, dword [ebp - 0x10dc]
mov edx, dword [eax]
test edx, edx
je 0x423cef
mov eax, dword [ebp - 0x10ec]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10cc]
mov eax, dword [eax]
sub eax, ecx
add eax, edx
push eax
push ecx
lea ecx, [ebp - 0x1028]
call fcn.00404170
cmp dword [ebp - 0x1014], 0x10
lea eax, [ebp - 0x1028]
push dword [ebp - 0x1018]
cmovae eax, dword [ebp - 0x1028]
lea ecx, [ebp - 0x1058]
push eax
mov dword [ebp - 4], 9
call fcn.004252b0
lea ecx, [ebp - 0x1028]
call fcn.004038d0
mov ebx, dword [ebp - 0x105c]
lea eax, [ebp - 0x1058]
cmp dword [ebp - 0x1044], 0x10
push ebx
cmovae eax, dword [ebp - 0x1058]
push 1
push dword [ebp - 0x1048]
push eax
call fcn.0045a1bf
push ebx
call fcn.00459b2f
add esp, 0x14
lea ecx, [ebp - 0x1110]
call fcn.00422c40
lea ecx, [ebp - 0x1058]
call fcn.004038d0
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.0044c8c5
mov esp, ebp
pop ebp
ret
call fcn.00459396
int3