Function at 0x408b80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495466
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov dword [ebp - 0x60], ecx
cmp dword [ebp + 8], 0
je 0x408bb0
cmp dword [ebp + 0xc], 0
jle 0x408bb0
cmp dword [ebp + 0x10], 0
jg 0x408bb7
xor eax, eax
jmp 0x408e97
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov dword [ebp - 0x10], 0
call dword [0x4971ec]
push eax
call dword [0x49719c]
mov dword [ebp - 0x14], eax
push 0xc
mov edx, dword [ebp - 0x14]
push edx
call dword [0x497040]
cmp eax, 0x10
jle 0x408bf1
mov dword [ebp - 0x10], 0
jmp 0x408bf8
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x14]
push eax
call dword [0x4971ec]
push eax
call dword [0x497198]
cmp dword [ebp - 0x10], 0
jne 0x408cad
mov dword [ebp - 0x30], 0x1c
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0x18
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0x118], 0x18
push 0x40
call fcn.00468207
add esp, 4
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x54], 0
je 0x408c67
mov ecx, dword [ebp - 0x54]
call fcn.00456f30
mov dword [ebp - 0x64], eax
jmp 0x408c6e
mov dword [ebp - 0x64], 0
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x50], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x50]
mov dword [eax + 0x1c], ecx
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x1c]
mov edx, dword [ecx]
mov ecx, eax
call dword [edx + 4]
mov eax, dword [ebp - 0x60]
mov dword [eax + 0xc8], 1
jmp 0x408d6c
mov dword [ebp - 0x4c], 0x1c
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0x10
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0x118], 0x10
push 0x54
call fcn.00468207
add esp, 4
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x5c], 0
je 0x408d01
mov ecx, dword [ebp - 0x5c]
call fcn.004569b0
mov dword [ebp - 0x68], eax
jmp 0x408d08
mov dword [ebp - 0x68], 0
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x58], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x58]
mov dword [eax + 0x1c], ecx
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x1c]
mov edx, dword [ecx]
mov ecx, eax
call dword [edx + 4]
mov eax, dword [ebp - 0x60]
mov dword [eax + 0xc8], 0
push 0x30
mov ecx, 0x4bd504
mov edx, dword [0x4bd504]
call dword [edx + 0xc]
push eax
push 0x497478
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x10]
push ecx
call dword [0x497194]
push 0
call fcn.004681c7
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x1c]
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ecx + 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 0x60]
mov dword [edx + 0x108], 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x110], ecx
mov edx, dword [ebp - 0x60]
mov dword [edx + 0x10c], 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x114], ecx
mov edx, dword [ebp - 0x60]
cmp dword [edx + 0x58], 0
jne 0x408e92
push 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x1c]
mov edx, dword [ecx]
mov ecx, eax
call dword [edx + 0x18]
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0x58], eax
push 0x258
push 0x320
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x58]
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ecx + 0x58]
mov edx, dword [eax]
call dword [edx + 4]
push 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x1c]
mov edx, dword [ecx]
mov ecx, eax
call dword [edx + 0x18]
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0x5c], eax
push 0x258
push 0x320
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x5c]
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ecx + 0x5c]
mov edx, dword [eax]
call dword [edx + 4]
push 0
push 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x5c]
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x5c]
mov edx, dword [ecx]
mov ecx, eax
call dword [edx + 0x30]
push 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x1c]
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x1c]
mov edx, dword [ecx]
mov ecx, eax
call dword [edx + 0x18]
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 0x60], eax
push 0x258
push 0x320
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x60]
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ecx + 0x60]
mov edx, dword [eax]
call dword [edx + 4]
push 0
push 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x60]
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x60]
mov edx, dword [ecx]
mov ecx, eax
call dword [edx + 0x30]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc