Function at 0x408560
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c7f41
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x64de84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], eax
push 0xb0
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xe8], 0
push 0
push eax
call fcn.0059d550
add esp, 4
lea ecx, [ebp - 0xd8]
call fcn.00412e70
mov dword [ebp - 4], 0
mov eax, 0x3a98
mov ebx, dword [0x5d01cc]
xor esi, esi
mov dword [ebp - 0xdc], eax
push eax
push 0
call ebx
push eax
call dword [0x5d01d0]
mov edi, eax
mov dword [ebp - 0xe0], edi
test edi, edi
je 0x408810
lea eax, [ebp - 0xdc]
push eax
push edi
push 0
push 0x10
push 2
call dword [0x5d00b4]
cmp eax, 0x6f
jne 0x408638
push edi
push 0
call ebx
push eax
call dword [0x5d01d4]
xor edi, edi
inc esi
mov dword [ebp - 0xe0], edi
cmp esi, 3
jae 0x408638
mov eax, dword [ebp - 0xdc]
jmp 0x4085e1
mov esi, edi
test edi, edi
je 0x408659
nop
mov ecx, dword [esi + 0xc]
call fcn.00408410
test eax, eax
je 0x408652
cmp dword [esi + 0x40], 0x47
je 0x40867e
mov esi, dword [esi + 8]
test esi, esi
jne 0x408640
mov esi, edi
nop dword [eax + eax]
mov ecx, dword [esi + 0xc]
call fcn.00408410
test eax, eax
je 0x408672
cmp dword [esi + 0x40], 6
je 0x40867e
mov esi, dword [esi + 8]
test esi, esi
jne 0x408660
jmp 0x408772
cmp dword [esi + 0x34], 0
jbe 0x408716
xor ebx, ebx
lea edi, [ebx + 0x30]
nop dword [eax]
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0xc8]
push 0
push 2
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0x14]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0xf8]
push eax
call fcn.004d1daf
mov ecx, eax
lea edx, [ebp - 0xc8]
mov eax, dword [ebp - 0xc8]
push dword [ecx + 0xc]
mov eax, dword [eax + 4]
push dword [ecx + 8]
add eax, edx
push eax
mov eax, dword [ecx]
call eax
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0xc8]
add esp, 0x18
mov eax, dword [eax + 4]
mov word [ebp + eax - 0x88], di
movzx eax, byte [esi + ebx + 0x2c]
push eax
call fcn.00413790
inc ebx
cmp ebx, dword [esi + 0x34]
jb 0x408690
mov edi, dword [ebp - 0xe0]
mov ebx, dword [0x5d01cc]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
mov edx, dword [esi + 0x24]
cmp word [edx], ax
jne 0x40873a
xor ecx, ecx
jmp 0x40874f
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408740
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0041f530
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x408772
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0041f8f0
push edi
push 0
call ebx
push eax
call dword [0x5d01d4]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xd8]
call fcn.00412d60
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x408799
mov eax, dword [eax]
mov esi, dword [ebp - 0xe4]
mov ecx, esi
push eax
call fcn.0041fef0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4087bc
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0041f8f0
xor eax, eax
mov dword [ebp - 0x14], 7
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.00412d80
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 3
push eax
mov dword [ebp - 0x70], 0x5d0760
call fcn.004d2094
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00584350
mov esp, ebp
pop ebp
ret
push 0x62fc80
call fcn.0041f880
add esp, 4
push 1
call fcn.005a6db1
int3