Function at 0x404680
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486fb9
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x49f3b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.004064f0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x10]
push edx
mov ecx, 0x4bd5c0
call fcn.00406640
lea eax, [ebp - 0x48]
push eax
mov ecx, 0x4bd5c0
call fcn.00406610
push eax
lea ecx, [ebp - 0x10]
call fcn.004069a0
movzx ecx, al
test ecx, ecx
je 0x4047bc
mov edx, dword [ebp + 0x2c]
push edx
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00406980
add eax, 0x10
mov ecx, eax
call fcn.00406560
mov edx, dword [ebp - 0x24]
push edx
mov ecx, 0x4bd5d8
call fcn.00406930
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x30], 0
jmp 0x40473c
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ebp - 0x28]
cmp edx, dword [ecx]
jae 0x4047a8
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.00406a60
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp + 0x28]
fld dword [eax]
fstp dword [edx + ecx*4]
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.00406a60
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp + 0x28]
fld dword [eax]
fstp dword [ecx + edx*4]
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.00406a60
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp + 0x28]
fld dword [eax]
fstp dword [edx + ecx*4]
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
jmp 0x404733
mov ecx, dword [0x4bd590]
add ecx, 1
mov dword [0x4bd590], ecx
jmp 0x404953
mov ecx, 0x4bd5c0
call fcn.00402780
test eax, eax
jne 0x4047d9
push 0x2710
mov ecx, 0x4bd5d8
call fcn.004067e0
mov edx, dword [ebp + 0x2c]
push edx
mov eax, dword [ebp + 0x28]
push eax
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.sescoi_gb_projz.dll_Ordinal_5
mov eax, dword [ebp + 0x2c]
cmp dword [eax], 0
jge 0x404816
push 1
call dword [sym.imp.MSVCR100.dll_exit]
mov ecx, 0x4bd5c0
call fcn.00402780
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x58]
call fcn.004069d0
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0xa0]
push edx
mov ecx, 0x4bd5d8
call fcn.004066d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00406a00
mov ecx, 0x4bd5d8
call fcn.00406950
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 0
jmp 0x40488a
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ebp - 0x3c]
cmp edx, dword [ecx]
jae 0x4048e7
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 0x28]
lea edx, [ecx + eax*4]
push edx
mov ecx, dword [ebp - 0x40]
call fcn.00406a80
mov eax, dword [ebp - 0x44]
add eax, 1
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp + 0x28]
lea eax, [edx + ecx*4]
push eax
mov ecx, dword [ebp - 0x40]
call fcn.00406a80
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp + 0x28]
lea ecx, [eax + edx*4]
push ecx
mov ecx, dword [ebp - 0x40]
call fcn.00406a80
mov edx, dword [ebp - 0x44]
add edx, 1
mov dword [ebp - 0x44], edx
jmp 0x404881
mov ecx, 0x4bd5c0
call fcn.00402780
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x2c]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp + 0x18]
push ecx
fld dword [eax]
fstp dword [esp]
lea ecx, [ebp - 0x80]
call fcn.00406530
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x90]
call fcn.004064f0
push eax
lea ecx, [ebp - 0x74]
call fcn.00407880
push eax
lea edx, [ebp - 0x98]
push edx
mov ecx, 0x4bd5c0
call fcn.004078c0
mov eax, dword [0x4bd594]
add eax, 1
mov dword [0x4bd594], eax
mov ecx, dword [0x4bd598]
add ecx, 1
mov dword [0x4bd598], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret