Function at 0x406e39
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 0x404f68
push 0x404f58
push 7
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.004078fc
test eax, eax
jl 0x40705d
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
test eax, eax
jl 0x407054
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 0x40704b
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x404f78
push eax
call dword [ecx]
test eax, eax
jl 0x407042
mov edi, dword [ebp + 0x1c]
mov esi, dword [0x403134]
lea eax, [edi + 1]
push eax
push 0
push 0x11
call esi
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x28], ebx
je 0x407039
lea eax, [ebp - 0x18]
push eax
push ebx
call dword [0x403138]
test eax, eax
jl 0x407030
push edi
push dword [ebp + 0x18]
push dword [ebp - 0x18]
call fcn.00407ef0
add esp, 0xc
push ebx
call dword [0x40313c]
test eax, eax
jl 0x407030
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 0x407030
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 0x407030
mov edi, dword [0x403140]
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 0x407027
push dword [ebp + 8]
push ebx
push 8
call esi
cmp eax, ebx
mov dword [ebp - 0x30], eax
je 0x40701e
cmp dword [ebp + 8], ebx
mov esi, dword [0x403144]
mov word [ebp - 0x38], 0x2008
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
jle 0x406f99
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
push dword [eax + ecx*4]
call dword [0x403148]
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 0x406f75
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 0x40700c
cmp eax, 0x8002000e
jne 0x406ff1
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 0x40700c
push eax
call fcn.00406dc3
pop ecx
push 0x10
push 0x40504c
push 0x405060
push 0
call dword [0x403160]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
push dword [ebp - 0x30]
call dword [0x40314c]
push dword [ebp - 0x24]
call dword [0x40314c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x28]
call dword [0x40314c]
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.00407e5c
int3