Function at 0x4235f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x564
mov eax, dword [0x7aca10]
xor eax, esp
mov dword [esp + 0x560], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [esp + 0x20], ebx
push ebx
push 2
mov byte [esp + 0x17], 1
mov dword [esp + 0x318], 0x4fd110
mov byte [esp + 0x320], bl
mov dword [esp + 0x550], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [esp + 0x314], eax
lea ecx, [esp + 0x54c]
xor eax, eax
mov dword [esp + 0x310], 0x4fca70
push 0xffffffffffffffff
push eax
push esi
mov dword [esp + 0x56c], 7
mov dword [esp + 0x568], ebx
mov word [esp + 0x558], ax
call fcn.00405600
lea ecx, [esp + 0x310]
call fcn.00420840
test eax, eax
je 0x42397f
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop dword [eax + eax]
push dword [eax + 8]
push 0
push 0x100401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov byte [esp + 0x10], 0
mov dword [esp + 0x14], 0
test esi, esi
je 0x42378e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x423742
cmp ecx, 0xffffffff
je 0x423742
call fcn.00418c30
mov edi, eax
mov eax, dword [ebp + 4]
mov ecx, dword [0x7c3258]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
test ecx, ecx
jne 0x423709
call fcn.004183c0
mov ecx, dword [0x7c3258]
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edi
push dword [esp + 0x28]
push edx
push dword [esp + 0x24]
call dword [eax + 8]
mov ecx, dword [0x7c3258]
mov edi, dword [esp + 0x14]
test ecx, ecx
jne 0x423735
call fcn.004183c0
mov ecx, dword [0x7c3258]
mov eax, dword [ecx]
push edi
call dword [eax]
mov dword [esp + 0x14], 0
cmp esi, 0xffffffff
je 0x42377e
mov dword [esp + 0x14], esi
call fcn.00418c30
mov edi, eax
mov eax, dword [ebp + 4]
mov ecx, dword [0x7c3258]
mov dword [esp + 0x18], eax
test ecx, ecx
jne 0x42376e
call fcn.004183c0
mov ecx, dword [0x7c3258]
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push edi
push dword [esp + 0x1c]
push edx
push esi
call dword [eax + 4]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call edi
cmp esi, eax
jne 0x4237a2
cmp byte [0x7c4190], 0
jne 0x4239fc
int3
test bl, 1
je 0x4237b6
lea ecx, [esp + 0xe0]
and ebx, 0xfffffffe
call fcn.00403350
test bl, 2
je 0x4237ca
lea ecx, [esp + 0x190]
and ebx, 0xfffffffd
call fcn.00403350
cmp byte [esp + 0x10], 0
je 0x4237d5
call edi
jmp 0x4237d9
mov eax, dword [esp + 0x14]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne al
mov byte [esp + 0xe], al
test al, al
je 0x423830
cmp byte [esp + 0x10], 0
je 0x4237fb
call edi
jmp 0x4237ff
mov eax, dword [esp + 0x14]
push 0xea60
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4238f3
test bl, 4
je 0x4238f3
lea ecx, [esp + 0x240]
and ebx, 0xfffffffb
call fcn.00403ac0
jmp 0x4238f3
test bl, 8
je 0x4238f7
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x2f8]
and ebx, 0xfffffff7
call fcn.004038e0
mov esi, eax
lea eax, [esp + 0x38]
push 0x4fc168
push eax
call fcn.00402530
add esp, 8
mov edx, esi
mov ecx, eax
call fcn.00407200
mov eax, dword [esp + 0x30c]
cmp eax, 0x10
jb 0x4238b7
mov ecx, dword [esp + 0x2f8]
inc eax
cmp eax, 0x1000
jb 0x4238ae
test cl, 0x1f
jne 0x423a03
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x423a03
sub ecx, eax
cmp ecx, 4
jb 0x423a03
cmp ecx, 0x23
ja 0x423a03
mov ecx, eax
push ecx
call fcn.004a780d
add esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x310], 0xf
mov dword [esp + 0x30c], 0
mov byte [esp + 0x2fc], 0
call fcn.00415b10
add esp, 4
lea ecx, [esp + 0x30]
call fcn.00403350
mov al, byte [esp + 0xe]
and byte [esp + 0xf], al
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42396b
cmp eax, 0xffffffff
je 0x42396b
call fcn.00418c30
mov edi, dword [ebp + 4]
mov esi, eax
mov ecx, dword [0x7c3258]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
test ecx, ecx
jne 0x42392f
call fcn.004183c0
mov ecx, dword [0x7c3258]
mov eax, dword [ecx]
lea edx, [esp + 0x14]
push esi
push edi
push edx
push dword [esp + 0x28]
call dword [eax + 8]
mov ecx, dword [0x7c3258]
mov esi, dword [esp + 0x14]
test ecx, ecx
jne 0x423958
call fcn.004183c0
mov ecx, dword [0x7c3258]
mov eax, dword [ecx]
push esi
call dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x310]
call fcn.00420840
test eax, eax
jne 0x4236a0
mov eax, dword [esp + 0x560]
mov dword [esp + 0x310], 0x4fca70
cmp eax, 8
jb 0x4239ab
inc eax
lea ecx, [esp + 0x54c]
push eax
push dword [esp + 0x550]
call fcn.00406d90
push dword [esp + 0x314]
xor eax, eax
mov dword [esp + 0x564], 7
mov dword [esp + 0x560], 0
mov word [esp + 0x550], ax
mov dword [esp + 0x314], 0x4fd110
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x56c]
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a7ad5
mov esp, ebp
pop ebp
ret
push 1
call fcn.004b2d10
call fcn.004adf2c
int3