Function at 0x40dea0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x4a5b40]
push ebx
mov ebx, dword [0x48038c]
imul ebx, dword [0x4a5b2c]
push esi
push edi
lea edi, [ebx + eax*2]
add eax, ebx
imul edi, eax
add edi, edi
add edi, edi
add edi, edi
mov dword [ebp - 0x3c], ebx
call fcn.00409ea0
mov ecx, dword [0x4a5b40]
mov edx, eax
mov eax, ecx
imul eax, ecx
add eax, eax
mov dword [ebp - 0x40], edx
add eax, eax
mov edi, dword [0x489aac]
add eax, eax
add edx, eax
mov dword [ebp - 0x4c], edx
add edx, eax
mov eax, ecx
imul eax, ebx
mov esi, dword [0x4804b0]
mov dword [ebp - 0x88], edx
lea edx, [edx + eax*8]
mov dword [ebp - 0x44], edx
lea edx, [edx + eax*8]
mov dword [ebp - 0x7c], edx
lea edx, [edx + eax*8]
mov dword [ebp - 0x48], edx
mov edx, dword [0x48038c]
imul edi, edx
lea edi, [edi + esi*2]
lea ecx, [ecx + ecx*4]
add edi, ecx
imul edi, esi
mov ecx, edi
mov edi, dword [0x489aac]
imul edi, edi
imul edi, edx
add edi, edx
imul edi, edx
add ecx, eax
add edi, ecx
add edi, edi
add edi, edi
add edi, edi
call fcn.00409ea0
mov edx, dword [0x489aac]
mov esi, dword [0x48038c]
mov ecx, eax
mov eax, dword [0x4804b0]
imul edx, eax
imul edx, esi
lea edx, [ecx + edx*8]
mov dword [ebp - 0x50], ecx
mov ecx, eax
imul ecx, eax
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov dword [ebp - 0x54], edx
add edx, ecx
add ecx, edx
mov dword [ebp - 0x74], edx
mov edx, dword [0x4a5b40]
imul eax, edx
add eax, eax
add eax, eax
add eax, eax
mov dword [ebp - 0x78], ecx
add ecx, eax
mov dword [ebp - 0x24], ecx
add ecx, eax
mov edi, dword [sym.imp.MSVCR100.dll__fseeki64]
imul esi, esi
imul edx, ebx
mov dword [ebp - 0x84], ecx
add ecx, eax
mov dword [ebp - 0x80], ecx
add ecx, eax
add eax, ecx
push 0
mov dword [ebp - 0x5c], eax
lea eax, [eax + esi*8]
push 0
mov dword [ebp - 0x8c], ecx
mov ecx, dword [0x476bc8]
mov dword [ebp - 0x30], eax
lea eax, [eax + edx*8]
push 0
push ecx
mov dword [ebp - 0x34], eax
call edi
mov edx, dword [0x468c20]
push 0
push 0
push 0
push edx
call edi
mov eax, dword [0x468cd0]
push 0
push 0
push 0
push eax
call edi
mov ecx, dword [0x489ac4]
push 0
push 0
push 0
push ecx
call edi
mov edx, dword [0x468b8c]
add esp, 0x40
push 0
push 0
push 0
push edx
call edi
mov eax, dword [0x4899e8]
push 0
push 0
push 0
push eax
call edi
mov ecx, dword [0x489a90]
push 0
push 0
push 0
push ecx
call edi
mov eax, dword [0x4a5b40]
mov edx, dword [ebp + 0x14]
imul eax, eax
add eax, eax
add eax, eax
add eax, eax
push eax
mov eax, dword [ebp - 0x4c]
push edx
push eax
call sub.MSVCR100.dll_memcpy
mov ecx, dword [0x4a5b40]
mov edx, dword [ebp + 0xc]
imul ecx, ebx
mov eax, dword [ebp - 0x44]
add ecx, ecx
add ecx, ecx
add esp, 0x3c
add ecx, ecx
push ecx
push edx
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov ecx, dword [0x4a5b40]
mov edx, dword [0x468bf8]
imul ecx, ebx
mov eax, dword [ebp - 0x7c]
add ecx, ecx
add ecx, ecx
add ecx, ecx
push ecx
push edx
push eax
call sub.MSVCR100.dll_memcpy
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x48]
mov esi, ebx
imul esi, ebx
add esp, 0xc
lea ecx, [esi*8]
push ecx
push edx
push eax
mov dword [ebp - 0x98], esi
call sub.MSVCR100.dll_memcpy
mov eax, dword [0x4804b0]
mov edi, dword [ebp + 8]
mov ecx, dword [ebp - 0x74]
mov edx, dword [0x468c44]
add esp, 0xc
push eax
push eax
push edi
push ecx
push edx
push eax
call fcn.00407460
mov eax, dword [0x48038c]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [0x468c4c]
push eax
push eax
push edi
push ecx
push edx
push eax
call fcn.00407460
add esp, 0x30
test esi, esi
jle 0x40e10c
mov edi, dword [0x468bc4]
mov ecx, esi
and ecx, 0x1fffffff
add ecx, ecx
xor eax, eax
rep stosd dword es:[edi], eax
cmp dword [0x4802e0], 0
mov dword [ebp - 4], 0
jle 0x40ea74
mov ebx, dword [0x4804b0]
mov esi, dword [sym.imp.MSVCR100.dll_fread]
mov eax, ebx
imul eax, dword [0x4a5b40]
add eax, eax
add eax, eax
add eax, eax
je 0x40e159
mov ecx, dword [0x476bc8]
mov edx, dword [0x468bc0]
push ecx
push 1
push eax
push edx
call esi
mov ebx, dword [0x4804b0]
add esp, 0x10
mov eax, ebx
imul eax, dword [0x4a5b40]
add eax, eax
add eax, eax
add eax, eax
je 0x40e183
mov ecx, dword [0x468c20]
mov edx, dword [ebp - 0x78]
push ecx
push 1
push eax
push edx
call esi
mov ebx, dword [0x4804b0]
add esp, 0x10
imul ebx, ebx
add ebx, ebx
add ebx, ebx
add ebx, ebx
je 0x40e1a0
mov eax, dword [0x468cd0]
mov ecx, dword [ebp - 0x54]
push eax
push 1
push ebx
push ecx
call esi
add esp, 0x10
mov edx, dword [0x489a90]
mov eax, dword [0x468c40]
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call fcn.004094e0
mov edx, dword [0x4899e8]
add esp, 0xc
push edx
push 1
lea eax, [ebp - 0x20]
push 4
push eax
call esi
mov eax, dword [ebp - 0x20]
add eax, eax
add esp, 0x10
add eax, eax
je 0x40e1ec
mov ecx, dword [0x4899e8]
mov edx, dword [0x468c08]
push ecx
push 1
push eax
push edx
call esi
add esp, 0x10
mov edi, dword [0x48038c]
imul edi, dword [ebp - 0x20]
mov ebx, dword [0x4804b0]
mov eax, ebx
imul eax, edi
add eax, eax
add eax, eax
add eax, eax
mov dword [ebp - 0x58], edi
je 0x40e228
mov ecx, dword [0x489ac4]
mov edx, dword [0x468c84]
push ecx
push 1
push eax
push edx
call esi
mov ebx, dword [0x4804b0]
add esp, 0x10
mov eax, ebx
imul eax, edi
add eax, eax
add eax, eax
add eax, eax
je 0x40e24e
mov ecx, dword [0x468b8c]
mov edx, dword [ebp - 0x50]
push ecx
push 1
push eax
push edx
call esi
mov ebx, dword [0x4804b0]
add esp, 0x10
mov eax, dword [0x468c40]
mov ecx, dword [0x4a5b40]
mov esi, dword [ebp - 0x24]
mov edx, dword [0x468bc0]
push eax
push ecx
push ebx
push ebx
mov eax, esi
call fcn.00407fc0
mov edx, dword [ebp - 0x74]
mov eax, dword [0x4a5b40]
push edx
push eax
mov eax, dword [ebp + 8]
push ebx
push ebx
mov edx, esi
call fcn.00407fc0
mov eax, dword [0x4a5b40]
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [0x468c7c]
push eax
push ebx
push eax
mov eax, esi
call fcn.004080b0
mov ecx, dword [0x4802d0]
mov edx, dword [ebp - 4]
fld qword [ecx + edx*8]
mov eax, dword [0x4a5b40]
add esp, 0x28
fstp qword [esp]
push esi
mov ecx, eax
mov esi, eax
call fcn.00407dc0
mov esi, dword [0x468c7c]
mov eax, dword [0x4a5b40]
mov ecx, dword [ebp - 0x40]
add esp, 0xc
push esi
push eax
mov edx, ecx
call fcn.00408850
mov eax, dword [0x468c40]
mov ecx, dword [0x4a5b40]
mov edx, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x84]
push ecx
push ebx
push ebx
call fcn.00407fc0
mov edx, dword [ebp - 0x78]
mov eax, dword [0x4a5b40]
mov ecx, dword [ebp - 0x24]
push edx
push eax
push ebx
push eax
mov eax, esi
call fcn.004080b0
mov eax, dword [0x4802d0]
mov ecx, dword [ebp - 4]
fld qword [eax + ecx*8]
mov eax, dword [0x4a5b40]
add esp, 0x20
fstp qword [esp]
push esi
mov ecx, eax
mov esi, eax
call fcn.00407dc0
mov esi, dword [0x468c7c]
mov eax, dword [0x4a5b40]
mov ecx, dword [ebp - 0x4c]
add esp, 0xc
push esi
push eax
mov edx, ecx
call fcn.00408900
mov eax, dword [0x4a5b40]
mov edx, dword [ebp + 8]
push eax
push edx
push eax
push eax
mov ecx, esi
call fcn.00407ed0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x4c]
push eax
mov eax, dword [0x4a5b40]
push eax
mov edx, ecx
call fcn.00408900
mov ecx, dword [ebp - 0x24]
mov edx, dword [0x4a5b40]
mov eax, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x54]
push ebx
push ebx
push edx
call fcn.004080b0
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x24]
push eax
mov eax, dword [0x4a5b40]
push eax
push ebx
push eax
mov eax, esi
call fcn.00407fc0
mov ecx, dword [0x4802d0]
mov edx, dword [ebp - 4]
fld qword [ecx + edx*8]
mov eax, dword [0x4a5b40]
add esp, 0x38
fstp qword [esp]
push esi
mov ecx, eax
mov esi, eax
call fcn.00407dc0
mov eax, dword [0x468c7c]
mov ecx, dword [ebp - 0x4c]
add esp, 0xc
push eax
mov eax, dword [0x4a5b40]
push eax
mov edx, ecx
call fcn.00408850
mov esi, dword [0x468c40]
mov ecx, dword [0x4a5b40]
mov eax, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x78]
push esi
push ecx
push ebx
push ebx
call fcn.00407fc0
mov edx, dword [ebp - 0x54]
mov eax, dword [0x4a5b40]
push edx
mov edx, dword [ebp - 0x24]
push eax
mov eax, dword [ebp + 8]
push ebx
push ebx
call fcn.00407fc0
mov ecx, dword [0x4a5b40]
mov eax, dword [ebp - 0x80]
mov edx, dword [ebp + 8]
push esi
push ecx
push ebx
push ebx
call fcn.00407fc0
mov edx, dword [ebp - 0x50]
push edx
push ebx
mov eax, dword [0x468c34]
push ebx
push edi
mov edx, esi
call fcn.00407fc0
mov eax, dword [0x468c34]
mov esi, dword [0x468b84]
mov edx, dword [0x468c84]
add esp, 0x48
push eax
push edi
push edi
mov eax, esi
call fcn.004081b0
mov ecx, dword [0x4802d0]
mov edx, dword [ebp - 4]
fld qword [ecx + edx*8]
add esp, 4
fstp qword [esp]
push esi
mov ecx, edi
mov esi, edi
mov eax, edi
call fcn.00407dc0
mov eax, dword [ebp - 0x34]
mov esi, dword [0x468b84]
add esp, 0xc
push edi
push eax
push edi
push edi
mov ecx, esi
call fcn.00407ed0
add esp, 0x10
cmp dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
jle 0x40e7ed
mov eax, dword [0x48038c]
mov ecx, ebx
imul ecx, eax
add ecx, ecx
mov edx, dword [0x468c84]
add ecx, ecx
add ecx, ecx
mov dword [ebp - 0x94], ecx
mov ecx, eax
imul ecx, edi
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov dword [ebp - 0x68], ecx
mov ecx, dword [ebp - 0x50]
sub ecx, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x90], ecx
jmp 0x40e4e5
mov eax, dword [0x48038c]
mov ecx, dword [0x468c08]
mov edx, dword [ebp - 0x18]
mov edi, dword [ecx + edx*4]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [0x4a5b40]
mov esi, dword [0x468b70]
push ecx
push edx
mov edx, dword [ebp - 0x24]
push ebx
push eax
mov eax, esi
call fcn.00407fc0
mov eax, dword [0x48038c]
mov ecx, dword [ebp - 0x7c]
imul eax, edi
mov edx, dword [0x4a5b40]
push ecx
push 0
mov ecx, esi
mov edi, edx
mov dword [ebp - 8], eax
call fcn.00423620
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x4a5b40]
mov edi, dword [0x48038c]
push edx
mov edx, dword [ebp - 0x8c]
push eax
push ebx
push edi
mov eax, esi
call fcn.00407fc0
mov ecx, dword [0x4802d0]
mov edx, dword [ebp - 4]
fld qword [ecx + edx*8]
mov ecx, dword [0x4a5b40]
add esp, 0x20
fstp qword [esp]
push esi
mov esi, ecx
mov eax, edi
call fcn.00407dc0
mov eax, dword [ebp - 0x44]
mov edx, dword [0x4a5b40]
mov esi, dword [0x468b70]
add esp, 0xc
push eax
mov eax, dword [ebp - 8]
push 0
mov ecx, esi
mov edi, edx
call fcn.00423620
mov ecx, dword [ebp - 0x2c]
mov edx, dword [0x4a5b40]
mov edi, dword [0x48038c]
push ecx
push edx
mov edx, dword [ebp - 0x80]
push ebx
push edi
mov eax, esi
call fcn.00407fc0
mov eax, dword [0x4802d0]
mov ecx, dword [ebp - 4]
fld qword [eax + ecx*8]
mov ecx, dword [0x4a5b40]
add esp, 0x10
fstp qword [esp]
push esi
mov esi, ecx
mov eax, edi
call fcn.00407dc0
mov edx, dword [ebp - 0x44]
mov edi, dword [0x4a5b40]
mov esi, dword [0x468b70]
add esp, 0xc
push edx
push edi
push 0
mov ecx, esi
mov edx, dword [0x48038c]
mov eax, dword [ebp - 8]
call fcn.00423580
mov eax, dword [ebp - 0x2c]
mov ecx, dword [0x4a5b40]
mov edx, dword [0x48038c]
add esp, 0xc
push eax
push ecx
push ebx
push edx
mov edx, dword [ebp - 0x84]
mov eax, esi
call fcn.00407fc0
mov eax, dword [0x4802d0]
mov ecx, dword [ebp - 4]
fld qword [eax + ecx*8]
mov ecx, dword [0x4a5b40]
mov eax, dword [0x48038c]
fstp qword [esp + 8]
add esp, 8
push esi
mov esi, ecx
call fcn.00407dc0
mov edx, dword [ebp - 0x88]
mov edi, dword [0x4a5b40]
mov esi, dword [0x468b70]
mov eax, dword [ebp - 8]
add esp, 0xc
push edx
mov edx, dword [0x48038c]
push edi
push 0
mov ecx, esi
call fcn.00423580
mov eax, dword [ebp - 0x90]
add eax, dword [ebp - 0x2c]
mov edx, dword [0x4a5b40]
add esp, 0xc
push eax
mov eax, dword [0x48038c]
push edx
mov edx, dword [ebp - 0x24]
push ebx
push eax
mov eax, esi
call fcn.00407fc0
mov ecx, dword [0x4802d0]
mov edx, dword [ebp - 4]
fld qword [ecx + edx*8]
mov ecx, dword [0x4a5b40]
mov eax, dword [0x48038c]
fstp qword [esp + 8]
add esp, 8
push esi
mov esi, ecx
call fcn.00407dc0
mov eax, dword [ebp - 0x44]
mov edx, dword [0x4a5b40]
mov ecx, dword [0x468b70]
add esp, 0xc
push eax
mov eax, dword [ebp - 8]
push 0
mov edi, edx
call fcn.00423620
mov eax, dword [ebp - 0x20]
add esp, 8
mov dword [ebp - 0x14], 0
test eax, eax
jle 0x40e7cc
mov eax, dword [ebp - 0x34]
sub eax, dword [0x468b84]
mov ecx, dword [ebp - 0x1c]
mov edi, dword [0x48038c]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x70], eax
mov edx, dword [0x468c08]
mov eax, dword [ebp - 0x14]
mov ecx, dword [edx + eax*4]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x64], ecx
mov ecx, dword [0x468bd8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], edx
test edi, edi
jle 0x40e77b
mov eax, dword [ebp - 0x58]
lea edx, [eax*8]
mov eax, dword [0x468bec]
sub eax, ecx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
lea esi, [edi*8]
push esi
push eax
push ecx
call sub.MSVCR100.dll_memcpy
mov edx, dword [ebp - 0x70]
add edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x60]
add ecx, dword [ebp - 0xc]
add esp, 0xc
push esi
push edx
push ecx
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebp - 0x6c]
add dword [ebp - 0xc], esi
add dword [ebp - 0x10], eax
add esp, 0xc
dec dword [ebp - 0x38]
jne 0x40e738
mov ecx, dword [0x468bd8]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 8]
mov esi, edi
imul esi, dword [ebp - 0x64]
push edx
mov edx, dword [ebp - 0x3c]
push esi
call fcn.00423620
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [0x468bec]
mov edi, dword [0x48038c]
push eax
mov eax, dword [ebp - 8]
push esi
call fcn.00423620
mov ecx, dword [ebp - 0x14]
lea eax, [edi*8]
add dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
inc ecx
add esp, 0x10
mov dword [ebp - 0x14], ecx
cmp ecx, eax
jl 0x40e6fc
mov edx, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x68]
add dword [ebp - 0x1c], edx
inc ecx
mov dword [ebp - 0x18], ecx
cmp ecx, eax
jl 0x40e4e0
mov edi, dword [ebp - 0x58]
mov eax, dword [0x468c40]
mov esi, dword [0x468bf0]
mov edx, dword [ebp - 0x54]
push eax
push ebx
push ebx
push ebx
mov eax, esi
call fcn.00407fc0
mov eax, dword [0x468b58]
mov edx, dword [0x468c40]
push esi
push ebx
push ebx
push ebx
call fcn.00407fc0
mov ecx, dword [0x468c84]
mov eax, dword [0x468c34]
mov edx, dword [0x468b58]
push ecx
push ebx
push ebx
push edi
call fcn.00407fc0
mov edx, dword [0x468c34]
mov eax, dword [0x468b84]
push edx
mov edx, dword [0x468c84]
push edi
push edi
call fcn.004081b0
mov eax, dword [0x468c40]
mov edx, dword [ebp - 0x74]
add esp, 0x3c
push eax
push ebx
push ebx
push ebx
mov eax, esi
call fcn.00407fc0
mov edx, dword [0x468c40]
push esi
mov esi, dword [0x468b58]
push ebx
push ebx
push ebx
mov eax, esi
call fcn.00407fc0
mov ecx, dword [0x468c84]
mov eax, dword [0x468c34]
push ecx
push ebx
push ebx
push edi
mov edx, esi
call fcn.00407fc0
mov edx, dword [0x468c34]
mov eax, dword [ebp - 0x34]
push edx
mov edx, dword [0x468c84]
push edi
push edi
call fcn.004081b0
mov eax, dword [0x4802d0]
mov ecx, dword [ebp - 4]
fld qword [eax + ecx*8]
mov edx, dword [0x468b84]
add esp, 0x34
fstp qword [esp]
push edx
mov ecx, edi
mov esi, edi
mov eax, edi
call fcn.00407dc0
mov eax, dword [0x4802d0]
mov ecx, dword [ebp - 4]
fld qword [eax + ecx*8]
mov edx, dword [ebp - 0x34]
add esp, 4
fstp qword [esp]
push edx
mov ecx, edi
mov eax, edi
call fcn.00407dc0
mov ecx, dword [ebp - 0x20]
xor edx, edx
add esp, 0xc
mov dword [ebp - 0x18], edx
test ecx, ecx
jle 0x40ea58
mov eax, dword [0x48038c]
mov esi, eax
imul esi, edi
add esi, esi
add esi, esi
add esi, esi
mov dword [ebp - 0x68], esi
mov esi, dword [0x468b84]
mov dword [ebp - 0x28], esi
jmp 0x40e920
mov esi, dword [0x468c08]
mov edx, dword [esi + edx*4]
mov dword [ebp - 0x14], 0
test ecx, ecx
jle 0x40ea44
mov ecx, eax
imul ecx, edx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 8], ecx
lea ecx, [eax*8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x34]
sub ecx, dword [0x468b84]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x70], ecx
lea esp, [esp]
mov edx, dword [ebp - 0x14]
mov ecx, dword [0x468c08]
mov ecx, dword [ecx + edx*4]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x64], ecx
mov ecx, dword [0x468bd8]
mov esi, ecx
mov dword [ebp - 0x10], edx
test eax, eax
jle 0x40e9de
lea edx, [edi*8]
mov dword [ebp - 0x6c], edx
mov edx, dword [0x468bec]
sub edx, ecx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
push esi
call sub.MSVCR100.dll_memcpy
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x70]
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x60]
add esp, 0xc
push edx
add eax, edi
push eax
add ecx, esi
push ecx
call sub.MSVCR100.dll_memcpy
add edi, dword [ebp - 0x6c]
add esi, dword [ebp - 0xc]
add esp, 0xc
dec dword [ebp - 0x38]
mov dword [ebp - 0x10], edi
jne 0x40e999
mov ecx, dword [0x468bd8]
mov eax, dword [0x48038c]
mov edx, dword [ebp - 0x48]
mov esi, eax
imul esi, dword [ebp - 0x64]
push edx
mov edx, dword [ebp - 0x3c]
push edx
mov edx, dword [0x48038c]
mov edi, eax
mov eax, dword [ebp - 8]
push esi
call fcn.00423580
mov eax, dword [0x468bc4]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [0x48038c]
add esp, 0xc
push eax
mov eax, dword [ebp - 8]
push ecx
mov ecx, dword [0x468bec]
push esi
mov edi, edx
call fcn.00423580
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
add dword [ebp - 0x1c], edx
mov edi, dword [ebp - 0x58]
inc eax
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp eax, ecx
mov eax, dword [0x48038c]
jl 0x40e960
mov edx, dword [ebp - 0x68]
inc dword [ebp - 0x18]
add dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x18]
cmp edx, ecx
jl 0x40e920
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [0x4802e0]
jl 0x40e126
mov ebx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x98]
mov eax, dword [ebp - 0x88]
mov edi, dword [0x468c7c]
mov ecx, dword [0x468c18]
push eax
mov eax, dword [0x4a5b40]
push eax
push ebx
push eax
mov eax, edi
call fcn.004080b0
mov eax, dword [0x4a5b40]
push edi
mov edi, dword [ebp - 0x40]
push eax
mov edx, edi
mov ecx, edi
call fcn.00408900
mov eax, dword [0x4a5b40]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, dword [0x468c7c]
push eax
push eax
call fcn.00407ed0
mov edx, dword [ebp + 8]
mov eax, dword [0x4a5b40]
push edx
push eax
mov edx, edi
mov ecx, edi
call fcn.00408900
mov eax, dword [0x468bc4]
mov ecx, dword [0x4a5b40]
mov edx, dword [0x468c18]
push eax
mov eax, dword [ebp - 0x30]
push ecx
push ebx
push ebx
call fcn.00407fc0
mov edx, dword [0x468c18]
mov eax, dword [0x4a5b40]
add esp, 0x40
push edx
push eax
push ebx
push eax
mov eax, dword [ebp - 0x30]
mov edx, edi
call fcn.00408380
add esp, 0x10
test esi, esi
jle 0x40eb2a
mov edi, dword [0x468bc4]
mov ecx, esi
and ecx, 0x1fffffff
add ecx, ecx
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x40]
cmp dword [0x4a5b2c], 0
mov dword [ebp - 4], 0
jle 0x40eb6d
xor esi, esi
mov eax, dword [0x468bc4]
mov edi, dword [0x48038c]
mov ecx, dword [ebp - 0x5c]
push eax
push ebx
push esi
mov edx, edi
mov eax, esi
call fcn.00423580
mov eax, dword [ebp - 4]
inc eax
add esp, 0xc
add esi, edi
mov dword [ebp - 4], eax
cmp eax, dword [0x4a5b2c]
jl 0x40eb3c
mov edi, dword [ebp - 0x40]
mov ecx, dword [0x468bc4]
mov edx, dword [0x4a5b40]
mov esi, dword [0x468c18]
mov eax, dword [ebp - 0x30]
push ecx
push edx
push ebx
push ebx
mov edx, esi
call fcn.00407fc0
mov eax, dword [0x4a5b40]
push esi
push eax
push ebx
push eax
mov eax, dword [ebp - 0x30]
mov edx, edi
call fcn.00408380
fld qword [0x468c58]
mov eax, dword [0x4a5b40]
fmul st(0), st(0)
add esp, 0x18
mov ecx, eax
fstp qword [esp]
push edi
mov esi, eax
call fcn.00407dc0
mov eax, dword [ebp - 0x44]
mov edi, dword [0x468c7c]
mov esi, dword [0x468c18]
add esp, 0xc
push eax
mov eax, dword [0x4a5b40]
push eax
push ebx
push eax
mov eax, edi
mov ecx, esi
call fcn.004080b0
mov eax, dword [0x4a5b40]
push edi
mov edi, dword [ebp - 0x4c]
push eax
mov edx, edi
mov ecx, edi
call fcn.00408900
mov eax, dword [0x4a5b40]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, dword [0x468c7c]
push eax
push eax
call fcn.00407ed0
mov edx, dword [ebp + 8]
mov eax, dword [0x4a5b40]
push edx
push eax
mov edx, edi
mov ecx, edi
call fcn.00408900
mov eax, dword [ebp - 0x48]
mov ecx, dword [0x4a5b40]
push eax
mov eax, dword [ebp - 0x30]
push ecx
push ebx
push ebx
mov edx, esi
call fcn.00407fc0
mov eax, dword [0x4a5b40]
add esp, 0x40
push esi
push eax
push ebx
push eax
mov eax, dword [ebp - 0x30]
mov edx, edi
call fcn.00408380
fld qword [0x468c58]
add esp, 8
mov eax, dword [0x4a5b40]
fstp qword [esp]
push edi
mov ecx, eax
mov esi, eax
call fcn.00407dc0
mov eax, dword [0x4a5b40]
mov esi, dword [ebp - 0x40]
add esp, 0xc
push edi
push eax
mov edx, esi
mov ecx, esi
call fcn.00408850
mov eax, dword [0x4a5b40]
mov ebx, dword [0x468ba4]
mov edi, dword [0x468c7c]
push ebx
push eax
push eax
push eax
mov eax, edi
mov edx, esi
call fcn.00407fc0
mov eax, dword [0x4a5b40]
push edi
push eax
push eax
push eax
mov eax, dword [0x468cc4]
mov edx, ebx
call fcn.00407fc0
mov eax, dword [ebp - 0x50]
mov edi, dword [sym.imp.MSVCR100.dll_free]
add esp, 0x28
test eax, eax
je 0x40ecc5
push eax
call edi
add esp, 4
test esi, esi
je 0x40eccf
push esi
call edi
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret