Function at 0x406e19
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
lea eax, [ebp - 8]
push eax
push 0x404f58
push 0x404f48
push 7
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.004078bc
test eax, eax
jl 0x40703d
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
test eax, eax
jl 0x407034
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x34]
test eax, eax
jl 0x40702b
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x404f68
push eax
call dword [ecx]
test eax, eax
jl 0x407022
mov edi, dword [ebp + 0x1c]
mov esi, dword [0x403130]
lea eax, [edi + 1]
push eax
push 0
push 0x11
call esi
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x28], ebx
je 0x407019
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [0x403134]
test eax, eax
jl 0x407010
push edi
push dword [ebp + 0x18]
push dword [ebp - 0x18]
call fcn.00407ea0
add esp, 0xc
push ebx
call dword [0x403138]
test eax, eax
jl 0x407010
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push ebx
push eax
call dword [ecx + 0xb4]
test eax, eax
jl 0x407010
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push eax
call dword [ecx + 0x40]
test eax, eax
jl 0x407010
mov edi, dword [0x40313c]
lea eax, [ebp - 0x38]
push eax
call edi
lea eax, [ebp - 0x48]
push eax
call edi
push 1
xor ebx, ebx
push ebx
push 0xc
call esi
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x24], edi
je 0x407007
push dword [ebp + 8]
push ebx
push 8
call esi
cmp eax, ebx
mov dword [ebp - 0x30], eax
je 0x406ffe
cmp dword [ebp + 8], ebx
mov esi, dword [0x403140]
mov word [ebp - 0x38], 0x2008
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
jle 0x406f79
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
push dword [eax + ecx*4]
call dword [0x403144]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x30]
call esi
mov eax, dword [ebp + 8]
inc dword [ebp - 4]
cmp dword [ebp - 4], eax
jl 0x406f55
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
push edi
call esi
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 0x48]
push edx
push edi
sub esp, 0x10
mov ebx, 0x403398
mov edi, esp
mov esi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x94]
test eax, eax
jge 0x406fec
cmp eax, 0x8002000e
jne 0x406fd1
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
lea edx, [ebp - 0x48]
push edx
push 0
sub esp, 0x10
mov edi, esp
mov esi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push eax
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x94]
test eax, eax
jge 0x406fec
push eax
call fcn.00406da3
pop ecx
push 0x10
push 0x40503c
push 0x405050
push 0
call dword [0x40315c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
push dword [ebp - 0x30]
call dword [0x403148]
push dword [ebp - 0x24]
call dword [0x403148]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x28]
call dword [0x403148]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x2710
call dword [0x40300c]
push 0
call fcn.00407e08
int3