Function at 0x402310
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x425a20
push eax
mov eax, dword [0x432b74]
mov dword fs:[0], esp
sub esp, 0x44
add eax, 0x13ea3
push ebx
push ebp
push esi
push edi
push eax
call fcn.00401a00
add esp, 4
test eax, eax
je 0x4025c5
mov dword [esp + 0x30], 0x4275b4
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [esp + 0x34], eax
xor esi, esi
lea ecx, [esp + 0x40]
mov dword [esp + 0x5c], esi
call fcn.00402d80
or ebx, 0xffffffff
mov edi, 0x4275b0
push ebx
push esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x64], 1
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ebx
call fcn.00402f70
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x5c], 2
call fcn.00403f90
test eax, eax
jne 0x4023da
mov dword [esp + 0x30], edi
push ebx
push esi
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 4
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ebx
call fcn.00402f70
lea ecx, [esp + 0x40]
mov dword [esp + 0x34], ebx
mov byte [esp + 0x5c], 3
call fcn.00402da0
jmp 0x4025b8
mov eax, dword [0x42f390]
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov byte [esp + 0x5c], 7
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x38]
cmp eax, esi
mov eax, ebx
je 0x40240e
mov eax, dword [esp + 0x48]
cmp dword [esp + 0x14], eax
jge 0x40254e
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00403980
add esp, 4
cmp eax, esi
je 0x40253a
lea edx, [esp + 0x10]
lea ecx, [esp + 0x30]
push edx
call fcn.00403bc0
test eax, eax
je 0x40253a
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], esi
je 0x40253a
push 0x42e1d4
lea ecx, [esp + 0x14]
call fcn.0041de96
test eax, eax
jne 0x40248f
lea ecx, [esp + 0x1c]
push 4
push ecx
lea ecx, [esp + 0x18]
call fcn.0041dc9c
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x60], 8
call fcn.0041eebf
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 7
call fcn.0041edd2
push 0x42e158
lea ecx, [esp + 0x14]
call fcn.0041de96
test eax, eax
jl 0x40253a
push 1
push 0x5c
lea ecx, [esp + 0x20]
call fcn.0041dc68
lea edx, [esp + 0x20]
push 1
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x64], 9
call fcn.0041ddd1
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
push ecx
push eax
call fcn.004117d4
add esp, 8
lea ecx, [esp + 0x20]
test eax, eax
setne bl
call fcn.0041edd2
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 7
call fcn.0041edd2
test bl, bl
je 0x402537
mov edx, dword [0x432b74]
push 0x1f4
add edx, 0x13eb5
lea eax, [esp + 0x14]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.0041eb47
call fcn.00401f90
add esp, 0xc
cmp eax, esi
je 0x402537
mov ecx, dword [esp + 0x34]
push ecx
push esi
push 0x1f0fff
call edi
push esi
push eax
call ebp
or ebx, 0xffffffff
push 1
lea ecx, [esp + 0x34]
call fcn.004040f0
inc dword [esp + 0x14]
jmp 0x402400
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 6
call fcn.0041edd2
lea ecx, [esp + 0x28]
mov byte [esp + 0x5c], 5
call fcn.0041edd2
lea ecx, [esp + 0x10]
mov byte [esp + 0x5c], 2
call fcn.0041edd2
mov dword [esp + 0x30], 0x4275b0
push ebx
push esi
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], 0xb
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ebx
call fcn.00402f70
mov eax, dword [esp + 0x44]
mov dword [esp + 0x34], ebx
cmp eax, esi
mov dword [esp + 0x40], 0x4275a4
je 0x4025b8
push eax
call fcn.0041eb3c
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x5c], ebx
call fcn.00403930
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret