Function at 0x420830
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5127e0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push esi
push edi
mov eax, dword [0x56f8f4]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
lea eax, [esp + 0x50]
push eax
call fcn.00420b90
mov ecx, dword [ebp + 8]
push ecx
lea edx, [esp + 0x6c]
xor esi, esi
push edx
mov dword [esp + 0x98], esi
call fcn.00506200
add esp, 8
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
mov byte [esp + 0x94], 1
call fcn.00401770
push eax
call fcn.00420740
add esp, 8
lea ecx, [esp + 0x68]
call fcn.00401730
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x5c]
sub edi, eax
sar edi, 2
mov dword [esp + 0x14], edi
cmp edi, esi
jne 0x420908
cmp eax, esi
je 0x4208cb
push eax
call fcn.004c2e11
add esp, 4
mov edx, dword [esp + 0x50]
push 1
push edx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
call fcn.0040c890
lea ecx, [esp + 0x50]
call fcn.00403b80
xor al, al
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.004859f0
cmp dword [esp + 0x5c], esi
ja 0x420923
cmp esi, dword [esp + 0x60]
jbe 0x420928
call fcn.004c3a86
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x24]
call fcn.00403930
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x24], esi
lea ecx, [ecx]
mov esi, dword [esp + 0x60]
lea ecx, [esp + 0x28]
call fcn.004859f0
cmp dword [esp + 0x5c], esi
ja 0x420959
cmp esi, dword [esp + 0x60]
jbe 0x42095e
call fcn.004c3a86
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00403930
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], esi
call fcn.00403b60
test al, al
je 0x42098f
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x24]
call fcn.00403b10
test al, al
jne 0x420994
call fcn.004c3a86
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x2c]
je 0x420b2a
lea ecx, [esp + 0x20]
call fcn.00403b60
test al, al
jne 0x4209b4
call fcn.004c3a86
lea ecx, [esp + 0x20]
call fcn.00403b30
mov ecx, dword [esp + 0x24]
cmp ecx, dword [eax + 0x10]
jb 0x4209cb
call fcn.004c3a86
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [eax]
lea edx, [esp + 0x3c]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
test eax, eax
je 0x420ac1
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
push 0
call fcn.004c3de4
add esp, 4
push 0
sub esi, 0xd53e8000
push 0x989680
sbb edi, 0x19db1de
push edi
mov ecx, edx
push esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
call fcn.004c4510
mov ecx, dword [esp + 0x18]
sub ecx, eax
mov eax, dword [esp + 0x1c]
push 0
push 0x3c
sbb eax, edx
push eax
push ecx
call fcn.004c4510
cmp eax, ebx
jb 0x420abd
lea ecx, [esp + 0x20]
call fcn.00403b60
test al, al
jne 0x420a57
call fcn.004c3a86
lea ecx, [esp + 0x20]
call fcn.00403b30
mov edx, dword [esp + 0x24]
cmp edx, dword [eax + 0x10]
jb 0x420a6e
call fcn.004c3a86
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x420a85
inc dword [esp + 0x10]
lea ecx, [esp + 0x20]
call fcn.00403b60
test al, al
jne 0x420a97
call fcn.004c3a86
lea ecx, [esp + 0x20]
call fcn.00403b30
mov edx, dword [esp + 0x24]
cmp edx, dword [eax + 0x10]
jb 0x420aae
call fcn.004c3a86
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x20]
call fcn.00403b60
test al, al
jne 0x420ad3
call fcn.004c3a86
lea ecx, [esp + 0x20]
call fcn.00403b30
mov edx, dword [esp + 0x24]
cmp edx, dword [eax + 0x10]
jb 0x420aea
call fcn.004c3a86
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x20]
call fcn.00403b60
test al, al
jne 0x420b09
call fcn.004c3a86
lea ecx, [esp + 0x20]
call fcn.00403b30
mov edx, dword [esp + 0x24]
cmp edx, dword [eax + 0x10]
jb 0x420b20
call fcn.004c3a86
add dword [esp + 0x24], 4
jmp 0x420940
cmp dword [esp + 0x10], edi
mov eax, dword [esp + 0x5c]
sete bl
xor esi, esi
cmp eax, esi
je 0x420b44
push eax
call fcn.004c2e11
add esp, 4
mov eax, dword [esp + 0x50]
push 1
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
call fcn.0040c890
lea ecx, [esp + 0x50]
call fcn.00403b80
mov al, bl
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret