Function at 0x409a60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
mov eax, dword [0x43400c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x43634c], 1
push ebx
jne 0x409f9a
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
call fcn.00405000
cmp eax, 0x11
je 0x409c4e
cmp eax, 0x10
je 0x409c4e
cmp eax, 2
je 0x409c4e
lea eax, [ebp - 0x110]
push eax
push 0x104
call dword [0x42b070]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x158], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409b10
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x158]
call fcn.00413070
sub esp, 0x18
mov ecx, esp
push 0x43518c
call fcn.00412d10
lea ecx, [ebp - 0x188]
call fcn.004037c0
push eax
lea edx, [ebp - 0x158]
lea ecx, [ebp - 0x170]
call fcn.004131c0
add esp, 0x1c
lea ecx, [ebp - 0x140]
push eax
call fcn.00412c50
mov edx, dword [ebp - 0x15c]
cmp edx, 0x10
jb 0x409ba1
mov ecx, dword [ebp - 0x170]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409b97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409fa9
push edx
push ecx
call fcn.0041462e
add esp, 8
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0xf
mov byte [ebp - 0x170], 0
cmp edx, 0x10
jb 0x409bf6
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409bec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409fa9
push edx
push ecx
call fcn.0041462e
add esp, 8
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], 0
cmp edx, 0x10
jb 0x409d33
mov ecx, dword [ebp - 0x188]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409d29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409fa9
jmp 0x409d29
sub esp, 0x18
mov ecx, esp
push 0x43518c
call fcn.00412d10
lea ecx, [ebp - 0x188]
call fcn.004037c0
add esp, 0x18
push eax
push ecx
lea ecx, [ebp - 0x158]
call fcn.004060d0
add esp, 4
lea ecx, [ebp - 0x170]
mov edx, eax
call fcn.004131c0
add esp, 4
lea ecx, [ebp - 0x140]
push eax
call fcn.00412c50
mov edx, dword [ebp - 0x15c]
cmp edx, 0x10
jb 0x409cd1
mov ecx, dword [ebp - 0x170]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409cc7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409fa9
push edx
push ecx
call fcn.0041462e
add esp, 8
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0xf
mov byte [ebp - 0x170], 0
cmp edx, 0x10
jb 0x409bf6
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409bec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409fa9
jmp 0x409bec
push edx
push ecx
call fcn.0041462e
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x434d54
call fcn.00412d10
lea ecx, [ebp - 0x188]
call fcn.004037c0
add esp, 0x18
lea edx, [ebp - 0x140]
lea ecx, [ebp - 0x158]
push eax
push 0x4319fc
call fcn.00413440
add esp, 4
lea ecx, [ebp - 0x170]
mov edx, eax
call fcn.004131c0
add esp, 4
lea ecx, [ebp - 0x128]
push eax
call fcn.00412c50
mov edx, dword [ebp - 0x15c]
cmp edx, 0x10
jb 0x409dc0
mov ecx, dword [ebp - 0x170]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409db6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409fa9
push edx
push ecx
call fcn.0041462e
add esp, 8
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0xf
mov byte [ebp - 0x170], 0
cmp edx, 0x10
jb 0x409e15
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409e0b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409fa9
push edx
push ecx
call fcn.0041462e
add esp, 8
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
mov byte [ebp - 0x158], 0
cmp edx, 0x10
jb 0x409e6a
mov ecx, dword [ebp - 0x188]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409e60
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409fa9
push edx
push ecx
call fcn.0041462e
add esp, 8
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0
call dword [0x42b0a0]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x158], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409ea2
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x158]
call fcn.00413070
lea edx, [ebp - 0x158]
lea ecx, [ebp - 0x128]
call fcn.00413540
mov edx, dword [ebp - 0x144]
mov bl, al
cmp edx, 0x10
jb 0x409f0b
mov ecx, dword [ebp - 0x158]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409f01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409fa9
push edx
push ecx
call fcn.0041462e
add esp, 8
test bl, bl
je 0x409fae
mov edx, dword [ebp - 0x114]
cmp edx, 0x10
jb 0x409f49
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409f3f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409fa9
push edx
push ecx
call fcn.0041462e
add esp, 8
mov edx, dword [ebp - 0x12c]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
cmp edx, 0x10
jb 0x409f9a
mov ecx, dword [ebp - 0x140]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x409f90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409fa9
push edx
push ecx
call fcn.0041462e
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00413fbc
mov esp, ebp
pop ebp
ret
call fcn.00418c64
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
push 0x4319f0
cmovae eax, dword [ebp - 0x128]
push eax
call fcn.004168fc
add esp, 8
test eax, eax
je 0x409fe2
push eax
call fcn.0041698a
add esp, 4
jmp 0x40a07d
lea ecx, [ebp - 0x140]
call fcn.00405790
test al, al
jne 0x40a005
push 0
lea ecx, [ebp - 0x140]
call fcn.00412c40
push eax
call dword [0x42b04c]
lea ecx, [ebp - 0x140]
call fcn.00405790
test al, al
je 0x40a037
sub esp, 0x18
lea eax, [ebp - 0x128]
mov ecx, esp
push eax
call fcn.00412d10
sub esp, 0x18
mov ecx, esp
call fcn.00406210
call fcn.00408f10
add esp, 0x30
lea ecx, [ebp - 0x128]
call fcn.00405760
test al, al
je 0x40a07d
sub esp, 0x18
mov ecx, esp
push 0x430e4b
call fcn.00412cd0
sub esp, 0x18
lea eax, [ebp - 0x128]
mov ecx, esp
push eax
call fcn.00412d10
sub esp, 0x18
mov ecx, esp
push 0x431990
call fcn.00412cd0
call fcn.00404400
add esp, 0x48
push 0
call fcn.0041682f
int3