Function at 0x403150
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x19f8
call fcn.00408240
mov eax, dword [0x465040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.MinMaxOf_BS
call fcn.00407e60
mov si, word [0x4697e0]
xor eax, eax
mov ebx, 1
mov word [0x4697e8], ax
add esp, 4
mov dword [0x4661a0], 0x7f9
xor ecx, ecx
mov dword [ebp - 0x199c], ebx
xor edi, edi
nop
movzx edx, cx
sub si, ax
mov dword [ebp - 0x194c], edx
mov dx, word [0x4697e4]
movsx ecx, dx
dec ecx
movsx eax, si
mov word [0x4697ec], si
cmp eax, ecx
jle 0x4031d8
lea esi, [edx - 1]
movzx eax, di
mov word [0x4697ec], si
mov dword [ebp - 0x194c], eax
mov ax, word [0x469804]
mov ecx, 1
mov byte [0x465a90], 0
mov byte [0x465a91], 0
mov byte [0x465a92], 0
mov byte [0x465a93], 0
mov dword [ebp - 0x1948], ecx
cmp bx, ax
jg 0x40337b
mov edi, ecx
movsx ebx, cx
movsx eax, word [ebx*2 + 0x4fcb28]
push eax
push 0x4584d8
push 0x4ebfd8
call fcn.00401910
push 0x4eabd8
push 0x4ebfd8
push 0x4585c4
push 0x4eb3d8
push str._s_s_s_s
push 0x4ec7d8
call fcn.00401910
push 0x4ec7d8
call fcn.00401950
push 0x4584ac
push 0x4ec7d8
call fcn.0042e9cc
mov edx, eax
mov word [0x4697f8], di
add esp, 0x30
mov dword [0x465a94], edx
mov ecx, 1
nop
movsx eax, word [0x4697e8]
movsx ecx, cx
dec ecx
imul ecx, dword [0x4661a0]
push 0
add ecx, eax
shl ecx, 3
push ecx
push edx
call fcn.0042f198
push dword [0x465a94]
movsx eax, word [0x4697ec]
push 1
lea eax, [eax*8 + 8]
push eax
push 0x4fcc08
call fcn.0042ec7e
mov si, word [0x4697ec]
add esp, 0x1c
mov edx, 1
cmp di, si
jg 0x40331f
lea edi, [ebx + ebx*2]
add edi, edi
nop word [eax + eax]
movss xmm0, dword [ebx*4 + 0x466cbc]
movsx eax, word [0x4697f8]
cvtps2pd xmm0, xmm0
movsx ecx, dx
add eax, edi
inc edx
mov eax, dword [eax*4 + 0x469b30]
mulsd xmm0, qword [ecx*8 + 0x4fcc08]
movsd qword [eax + ecx*8], xmm0
mov si, word [0x4697ec]
cmp dx, si
jle 0x4032e0
mov edi, 1
mov ax, word [0x4697f8]
inc ax
mov word [0x4697f8], ax
movzx ecx, ax
cmp ax, 3
jg 0x403341
mov edx, dword [0x465a94]
jmp 0x403280
mov eax, dword [0x465a94]
test eax, eax
je 0x40335a
push eax
call fcn.0042e6de
mov si, word [0x4697ec]
add esp, 4
mov ecx, dword [ebp - 0x1948]
mov ax, word [0x469804]
inc ecx
mov dword [ebp - 0x1948], ecx
cmp cx, ax
jle 0x403210
mov ebx, 1
mov ecx, 1
cmp bx, ax
jg 0x4035a2
nop dword [eax]
movsx edx, cx
mov dword [ebp - 0x1948], edx
cmp byte [edx + 0x4662d8], 0x54
je 0x4033ad
inc ecx
cmp cx, ax
jle 0x403390
jmp 0x4035a2
cmp bx, si
mov edi, 1
mov ebx, dword [ebp - 0x194c]
jg 0x4034d8
lea eax, [edx + edx*2]
shl eax, 3
mov dword [ebp - 0x1954], eax
movsx eax, bx
mov ebx, dword [ebp - 0x1954]
mov dword [ebp - 0x1950], eax
nop dword [eax]
movsd xmm0, qword [0x458648]
lea eax, [ebp - 0x1980]
push eax
lea eax, [ebp - 0x1988]
movsx esi, di
push eax
lea eax, [ebp - 0x1990]
push eax
mov eax, dword [ebx + 0x469b38]
sub esp, 0x20
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [eax + esi*8]
mov eax, dword [ebx + 0x469b3c]
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [eax + esi*8]
mov eax, dword [ebx + 0x469b34]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [eax + esi*8]
movsd qword [esp], xmm0
call fcn.004019d0
movsd xmm0, qword [ebp + 8]
lea eax, [ebp - 0x19a8]
movsd qword [esp + 0x24], xmm0
add esp, 0x24
movsd xmm0, qword [ebp - 0x1980]
push eax
lea eax, [ebp - 0x19b0]
push eax
lea eax, [ebp - 0x19b8]
push eax
sub esp, 0x18
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [ebp - 0x1988]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp - 0x1990]
movsd qword [esp], xmm0
call fcn.00407da0
mov ecx, dword [ebp - 0x1950]
inc edi
mov eax, dword [0x46a490]
add ecx, esi
movsd xmm0, qword [ebp - 0x19a8]
add esp, 0x2c
movsd qword [eax + ecx*8], xmm0
mov eax, dword [0x46a4a8]
movsd qword [eax + ecx*8], xmm0
mov si, word [0x4697ec]
cmp di, si
jle 0x4033e0
mov ebx, dword [ebp - 0x194c]
mov edx, dword [ebp - 0x1948]
mov ecx, 1
mov ax, cx
mov word [0x4697f8], ax
nop word [eax + eax]
mov edi, 1
cmp cx, si
jg 0x40357f
lea ecx, [edx + edx*2]
movsx edx, bx
add ecx, ecx
mov dword [ebp - 0x1950], edx
mov dword [ebp - 0x1954], ecx
mov ebx, ecx
movsx ecx, ax
movsx esi, di
inc edi
add edx, esi
lea eax, [ebx + ecx]
mov ecx, dword [ecx*4 + 0x46a490]
mov eax, dword [eax*4 + 0x469b30]
movsd xmm0, qword [eax + esi*8]
movsd qword [ecx + edx*8], xmm0
movsx ecx, word [0x4697f8]
lea eax, [ecx + ebx]
mov ecx, dword [ecx*4 + 0x46a4a8]
mov eax, dword [eax*4 + 0x469b30]
movsd xmm0, qword [eax + esi*8]
movsd qword [ecx + edx*8], xmm0
mov si, word [0x4697ec]
mov ax, word [0x4697f8]
cmp di, si
jg 0x403574
mov edx, dword [ebp - 0x1950]
jmp 0x403514
mov ebx, dword [ebp - 0x194c]
mov ecx, 1
mov edx, dword [ebp - 0x1948]
inc ax
mov word [0x4697f8], ax
cmp ax, 3
jle 0x4034f0
mov ax, word [0x469804]
mov ebx, 1
mov edx, 1
mov dword [ebp - 0x1964], edx
cmp bx, ax
jg 0x4037c0
nop word [eax + eax]
movsx edx, dx
cmp byte [edx + 0x4662d8], 0x54
jne 0x4037aa
mov ecx, 1
mov dword [ebp - 0x1948], ecx
cmp bx, si
jg 0x4037aa
mov eax, dword [ebp - 0x194c]
lea ebx, [edx + edx*2]
cwde
mov dword [ebp - 0x1954], eax
nop dword [eax]
nop dword [eax + eax]
movsd xmm0, qword [0x458648]
lea eax, [ebp - 0x1980]
push eax
lea eax, [ebp - 0x1988]
movsx edi, cx
push eax
lea eax, [ebp - 0x1990]
push eax
mov eax, dword [ebx*8 + 0x469b38]
sub esp, 0x20
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [eax + edi*8]
mov eax, dword [ebx*8 + 0x469b3c]
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [eax + edi*8]
mov eax, dword [ebx*8 + 0x469b34]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [eax + edi*8]
movsd qword [esp], xmm0
call fcn.004019d0
movsd xmm0, qword [ebp + 8]
lea eax, [ebp - 0x19a8]
movsd qword [esp + 0x24], xmm0
add esp, 0x24
movsd xmm0, qword [ebp - 0x1980]
push eax
lea eax, [ebp - 0x19b0]
push eax
lea eax, [ebp - 0x19b8]
push eax
sub esp, 0x18
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [ebp - 0x1988]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp - 0x1990]
movsd qword [esp], xmm0
call fcn.00407da0
mov ecx, dword [ebp - 0x1954]
add esp, 0x2c
mov eax, dword [0x46a4a8]
add ecx, edi
movsd xmm1, qword [ebp - 0x19a8]
comisd xmm1, xmmword [eax + ecx*8]
jbe 0x403724
movsd qword [eax + ecx*8], xmm1
mov eax, dword [ebx*8 + 0x469b34]
movsd xmm0, qword [eax + edi*8]
mov eax, dword [0x46a4ac]
movsd qword [eax + ecx*8], xmm0
mov eax, dword [ebx*8 + 0x469b38]
movsd xmm0, qword [eax + edi*8]
mov eax, dword [0x46a4b0]
movsd qword [eax + ecx*8], xmm0
mov eax, dword [ebx*8 + 0x469b3c]
movsd xmm0, qword [eax + edi*8]
mov eax, dword [0x46a4b4]
movsd qword [eax + ecx*8], xmm0
mov si, word [0x4697ec]
mov eax, dword [0x46a490]
movsd xmm0, qword [eax + ecx*8]
comisd xmm0, xmm1
jbe 0x403782
movsd qword [eax + ecx*8], xmm1
mov eax, dword [ebx*8 + 0x469b34]
movsd xmm0, qword [eax + edi*8]
mov eax, dword [0x46a494]
movsd qword [eax + ecx*8], xmm0
mov eax, dword [ebx*8 + 0x469b38]
movsd xmm0, qword [eax + edi*8]
mov eax, dword [0x46a498]
movsd qword [eax + ecx*8], xmm0
mov eax, dword [ebx*8 + 0x469b3c]
movsd xmm0, qword [eax + edi*8]
mov eax, dword [0x46a49c]
movsd qword [eax + ecx*8], xmm0
mov si, word [0x4697ec]
mov ecx, dword [ebp - 0x1948]
inc ecx
mov byte [0x465a90], 1
mov dword [ebp - 0x1948], ecx
cmp cx, si
jle 0x403600
mov ax, word [0x469804]
mov ebx, 1
mov edx, dword [ebp - 0x1964]
inc edx
mov dword [ebp - 0x1964], edx
cmp dx, ax
jle 0x4035c0
cmp byte [0x465a90], 0
je 0x40397c
mov ecx, 1
mov dword [ebp - 0x1958], ecx
cmp bx, ax
jg 0x40397c
nop dword [eax]
nop word [eax + eax]
movsx edx, cx
mov dword [ebp - 0x1950], edx
cmp byte [edx + 0x4662d8], 0x54
jne 0x40396c
cmp byte [0x465a93], 0
jne 0x4038b1
mov ax, bx
mov word [0x4697f8], ax
nop dword [eax]
mov edi, 1
cmp bx, si
jg 0x403887
mov ecx, dword [ebp - 0x194c]
lea ebx, [edx + edx*2]
movsx ecx, cx
add ebx, ebx
mov dword [ebp - 0x1954], ecx
nop
movsx esi, di
inc edi
cwde
lea edx, [ecx + esi]
mov ecx, dword [eax*4 + 0x46a4a8]
add eax, ebx
mov eax, dword [eax*4 + 0x469b30]
movsd xmm0, qword [ecx + edx*8]
movsd qword [eax + esi*8], xmm0
mov si, word [0x4697ec]
mov ax, word [0x4697f8]
cmp di, si
jg 0x40387c
mov ecx, dword [ebp - 0x1954]
jmp 0x403840
mov edx, dword [ebp - 0x1950]
mov ebx, 1
inc ax
mov word [0x4697f8], ax
cmp ax, 3
jle 0x403820
mov ecx, dword [ebp - 0x1958]
movsx eax, cx
mov byte [0x465a93], 1
mov byte [eax + 0x4662d8], 0x58
jmp 0x40395c
cmp byte [0x465a92], 0
jne 0x40396c
mov ax, bx
movsx edx, cx
mov word [0x4697f8], ax
mov dword [ebp - 0x1950], edx
mov edi, 1
cmp bx, si
jg 0x403937
mov ecx, dword [ebp - 0x194c]
lea ebx, [edx + edx*2]
movsx ecx, cx
add ebx, ebx
mov dword [ebp - 0x1954], ecx
nop
movsx esi, di
inc edi
cwde
lea edx, [ecx + esi]
mov ecx, dword [eax*4 + 0x46a490]
add eax, ebx
mov eax, dword [eax*4 + 0x469b30]
movsd xmm0, qword [ecx + edx*8]
movsd qword [eax + esi*8], xmm0
mov si, word [0x4697ec]
mov ax, word [0x4697f8]
cmp di, si
jg 0x40392c
mov ecx, dword [ebp - 0x1954]
jmp 0x4038f0
mov edx, dword [ebp - 0x1950]
mov ebx, 1
inc ax
mov word [0x4697f8], ax
cmp ax, 3
jle 0x4038d0
mov ecx, dword [ebp - 0x1958]
movsx eax, cx
mov byte [0x465a92], 1
mov byte [eax + 0x4662d8], 0x4d
movsx eax, cx
mov byte [eax + 0x467680], 1
mov ax, word [0x469804]
inc ecx
mov dword [ebp - 0x1958], ecx
cmp cx, ax
jle 0x4037f0
xor edi, edi
mov word [0x4697f8], di
mov edx, 1
cmp bx, si
jg 0x4039e0
mov eax, dword [ebp - 0x194c]
xorps xmm0, xmm0
movsx ebx, ax
nop dword [eax + eax]
movsx eax, di
movsx ecx, dx
inc edx
add ecx, ebx
mov eax, dword [eax*4 + 0x46a490]
movsd qword [eax + ecx*8], xmm0
movsx eax, word [0x4697f8]
mov eax, dword [eax*4 + 0x46a4a8]
movsd qword [eax + ecx*8], xmm0
mov si, word [0x4697ec]
mov di, word [0x4697f8]
cmp dx, si
jle 0x4039a0
mov ebx, 1
inc di
mov word [0x4697f8], di
cmp di, 3
jle 0x403985
xor esi, esi
mov byte [0x465a91], 0
mov dword [ebp - 0x1964], esi
call fcn.00401000
mov di, word [0x469804]
mov ebx, 1
mov cx, word [0x4697ec]
mov eax, ebx
mov dword [ebp - 0x1950], ebx
cmp ax, di
jg 0x404067
movsx eax, bx
mov dword [ebp - 0x1948], eax
movzx edx, word [eax*2 + 0x4669d4]
cmp dx, 1
je 0x403a48
cmp dx, 0xc
jne 0x403f6b
mov edx, 1
mov dword [ebp - 0x1960], edx
cmp word [ebp - 0x199c], cx
jg 0x403f64
lea ebx, [eax + eax*2]
shl ebx, 3
lea ecx, [eax + eax*2]
add ecx, ecx
mov dword [ebp - 0x1970], ebx
mov dword [ebp - 0x1958], ecx
nop word [eax + eax]
mov esi, dword [ebx + 0x469b38]
mov edi, dword [ebx + 0x469b3c]
mov ebx, dword [ebx + 0x469b34]
movss xmm0, dword [eax*4 + 0x466eb0]
movsx ecx, dx
cvtps2pd xmm0, xmm0
movsd xmm1, qword [esi + ecx*8]
movsd xmm2, qword [edi + ecx*8]
movsd xmm3, qword [ebx + ecx*8]
lea ecx, [ebp - 0x1980]
push ecx
lea ecx, [ebp - 0x1988]
push ecx
lea ecx, [ebp - 0x1990]
push ecx
sub esp, 0x20
movsd qword [esp + 0x18], xmm0
movsd qword [esp + 0x10], xmm1
movsd qword [esp + 8], xmm2
movsd qword [esp], xmm3
call fcn.004019d0
movsd xmm0, qword [ebp + 8]
lea eax, [ebp - 0x19d8]
movsd qword [esp + 0x24], xmm0
add esp, 0x24
movsd xmm0, qword [ebp - 0x1980]
push eax
lea eax, [ebp - 0x19b0]
push eax
lea eax, [ebp - 0x19b8]
push eax
sub esp, 0x18
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [ebp - 0x1988]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp - 0x1990]
movsd qword [esp], xmm0
call fcn.00407da0
mov ecx, dword [ebp - 0x1960]
lea eax, [ebp - 0x1980]
add esp, 0x2c
push eax
lea eax, [ebp - 0x1988]
push eax
lea eax, [ebp - 0x1990]
push eax
mov eax, dword [ebp - 0x1948]
sub esp, 0x20
movss xmm0, dword [eax*4 + 0x467040]
cvtps2pd xmm0, xmm0
movsx eax, cx
movsd qword [esp + 0x18], xmm0
movsd xmm0, qword [esi + eax*8]
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [edi + eax*8]
movsx edi, cx
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebx + edi*8]
movsd qword [esp], xmm0
call fcn.004019d0
movsd xmm0, qword [ebp + 8]
lea eax, [ebp - 0x19e0]
movsd qword [esp + 0x24], xmm0
add esp, 0x24
movsd xmm0, qword [ebp - 0x1980]
push eax
lea eax, [ebp - 0x19b0]
push eax
lea eax, [ebp - 0x19b8]
push eax
sub esp, 0x18
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [ebp - 0x1988]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebp - 0x1990]
movsd qword [esp], xmm0
call fcn.00407da0
mov ebx, dword [ebp - 0x1948]
add esp, 0x2c
movsd xmm0, qword [ebp - 0x19d8]
cmp byte [ebx + 0x466656], 0x57
je 0x403e6c
mov eax, dword [ebp - 0x194c]
movsd xmm1, qword [ebp - 0x19e0]
mov esi, dword [ebp - 0x1958]
movsx edx, ax
add edx, edi
comisd xmm0, xmm1
jbe 0x403d4c
mov eax, dword [0x46a4a8]
movsd qword [eax + edx*8], xmm0
mov eax, 1
mov word [0x4697f8], ax
mov dword [ebp - 0x1968], eax
nop dword [eax]
movss xmm0, dword [ebx*4 + 0x466eb0]
cwde
cvtps2pd xmm0, xmm0
mov ecx, dword [eax*4 + 0x46a4a8]
mov eax, dword [ebp - 0x1968]
cwde
add eax, esi
mov eax, dword [eax*4 + 0x469b30]
mulsd xmm0, qword [eax + edi*8]
addsd xmm0, qword [ecx + edx*8]
movsd qword [ecx + edx*8], xmm0
mov ax, word [0x4697f8]
inc ax
movzx ecx, ax
mov word [0x4697f8], ax
movzx eax, ax
mov dword [ebp - 0x1968], eax
mov eax, ecx
cmp cx, 3
jle 0x403c50
mov edx, dword [ebp - 0x194c]
mov eax, dword [ebp - 0x1960]
cwde
movsx ecx, dx
add ecx, eax
movsx edx, dx
mov eax, dword [0x46a490]
movsd qword [eax + ecx*8], xmm1
mov eax, 1
mov word [0x4697f8], ax
mov edi, eax
mov eax, dword [ebp - 0x1960]
movsx ecx, ax
cwde
shl ecx, 3
add edx, eax
mov dword [ebp - 0x1954], ecx
mov eax, edi
nop dword [eax + eax]
movss xmm0, dword [ebx*4 + 0x467040]
cwde
cvtps2pd xmm0, xmm0
mov ecx, dword [eax*4 + 0x46a490]
movsx eax, di
mov edi, dword [ebp - 0x1954]
add eax, esi
mov eax, dword [eax*4 + 0x469b30]
mulsd xmm0, qword [eax + edi]
addsd xmm0, qword [ecx + edx*8]
movsd qword [ecx + edx*8], xmm0
mov ax, word [0x4697f8]
inc ax
movzx ecx, ax
mov word [0x4697f8], ax
movzx edi, ax
mov eax, ecx
cmp cx, 3
jle 0x403cf0
mov esi, dword [ebp - 0x1964]
jmp 0x403f2e
mov eax, dword [0x46a490]
movsd qword [eax + edx*8], xmm0
mov eax, 1
mov word [0x4697f8], ax
mov dword [ebp - 0x1968], eax
nop word [eax + eax]
movss xmm0, dword [ebx*4 + 0x466eb0]
cwde
cvtps2pd xmm0, xmm0
mov ecx, dword [eax*4 + 0x46a490]
mov eax, dword [ebp - 0x1968]
cwde
add eax, esi
mov eax, dword [eax*4 + 0x469b30]
mulsd xmm0, qword [eax + edi*8]
addsd xmm0, qword [ecx + edx*8]
movsd qword [ecx + edx*8], xmm0
mov ax, word [0x4697f8]
inc ax
movzx ecx, ax
mov word [0x4697f8], ax
movzx eax, ax
mov dword [ebp - 0x1968], eax
mov eax, ecx
cmp cx, 3
jle 0x403d70
mov edx, dword [ebp - 0x194c]
mov eax, dword [ebp - 0x1960]
cwde
movsx ecx, dx
add ecx, eax
movsx edx, dx
mov eax, dword [0x46a4a8]
movsd qword [eax + ecx*8], xmm1
mov eax, 1
mov word [0x4697f8], ax
mov edi, eax
mov eax, dword [ebp - 0x1960]
movsx ecx, ax
cwde
shl ecx, 3
add edx, eax
mov dword [ebp - 0x1954], ecx
mov eax, edi
nop dword [eax + eax]
movss xmm0, dword [ebx*4 + 0x467040]
cwde
cvtps2pd xmm0, xmm0
mov ecx, dword [eax*4 + 0x46a4a8]
movsx eax, di
mov edi, dword [ebp - 0x1954]
add eax, esi
mov eax, dword [eax*4 + 0x469b30]
mulsd xmm0, qword [eax + edi]
addsd xmm0, qword [ecx + edx*8]
movsd qword [ecx + edx*8], xmm0
mov ax, word [0x4697f8]
inc ax
movzx ecx, ax
mov word [0x4697f8], ax
movzx edi, ax
mov eax, ecx
cmp cx, 3
jle 0x403e10
mov esi, dword [ebp - 0x1964]
jmp 0x403f2e
movsx ecx, word [0x4697f8]
mov esi, 1
mov edx, dword [ebp - 0x1958]
comisd xmm0, xmmword [ebp - 0x19e0]
mov dword [ebp - 0x1964], esi
lea eax, [edx + ecx]
mov eax, dword [eax*4 + 0x469b30]
movsd xmm0, qword [eax + edi*8]
cvtpd2ps xmm0, xmm0
jbe 0x403ee0
mulss xmm0, dword [ebx*4 + 0x467040]
imul eax, ecx, 0xb
add eax, ebx
mov eax, dword [eax*4 + 0x465a98]
movss dword [eax + edi*4], xmm0
movsx ecx, word [0x4697f8]
lea eax, [edx + ecx]
mov eax, dword [eax*4 + 0x469b30]
movsd xmm0, qword [eax + edi*8]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [ebx*4 + 0x466eb0]
jmp 0x403f1d
mulss xmm0, dword [ebx*4 + 0x466eb0]
imul eax, ecx, 0xb
add eax, ebx
mov eax, dword [eax*4 + 0x465a98]
movss dword [eax + edi*4], xmm0
movsx ecx, word [0x4697f8]
lea eax, [edx + ecx]
mov eax, dword [eax*4 + 0x469b30]
movsd xmm0, qword [eax + edi*8]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [ebx*4 + 0x467040]
imul eax, ecx, 0xb
add eax, ebx
mov eax, dword [eax*4 + 0x465bf8]
movss dword [eax + edi*4], xmm0
mov edx, dword [ebp - 0x1960]
mov cx, word [0x4697ec]
inc edx
mov eax, dword [ebp - 0x1948]
mov ebx, dword [ebp - 0x1970]
mov dword [ebp - 0x1960], edx
cmp dx, cx
jle 0x403a80
mov di, word [0x469804]
mov ebx, dword [ebp - 0x1950]
mov byte [0x465a91], 1
inc ebx
mov dword [ebp - 0x1950], ebx
cmp bx, di
jle 0x403a27
cmp esi, 1
jne 0x404067
mov eax, esi
mov dx, ax
mov word [0x4697f8], dx
mov ebx, 1
cmp ax, cx
jg 0x404054
mov eax, dword [ebp - 0x194c]
cwde
mov dword [ebp - 0x1970], eax
nop dword [eax + eax]
movsx esi, bx
push esi
movsx eax, di
movsx ecx, dx
push eax
push ecx
push ecx
call fcn.00401260
movsx eax, word [0x4697f8]
mov edi, dword [ebp - 0x1970]
add edi, esi
fstp qword [ebp - 0x1978]
mov eax, dword [eax*4 + 0x46a490]
movsd xmm0, qword [ebp - 0x1978]
push esi
addsd xmm0, qword [eax + edi*8]
movsd qword [eax + edi*8], xmm0
movsx eax, word [0x469804]
movsx ecx, word [0x4697f8]
push eax
push ecx
push ecx
call fcn.00401180
movsx eax, word [0x4697f8]
inc ebx
fstp qword [ebp - 0x1978]
movsd xmm0, qword [ebp - 0x1978]
add esp, 0x20
mov eax, dword [eax*4 + 0x46a4a8]
addsd xmm0, qword [eax + edi*8]
movsd qword [eax + edi*8], xmm0
mov cx, word [0x4697ec]
mov dx, word [0x4697f8]
mov di, word [0x469804]
cmp bx, cx
jle 0x403fb0
mov eax, 1
inc dx
mov word [0x4697f8], dx
cmp dx, 3
jle 0x403f90
mov ebx, 1
mov esi, ebx
mov dword [ebp - 0x1958], ebx
cmp si, cx
jg 0x40466a
mov eax, dword [ebp - 0x194c]
movsx edx, ax
mov dword [ebp - 0x1954], edx
nop dword [eax]
mov cx, word [0x4661ac]
cmp si, cx
jg 0x4044b1
movsx ebx, bx
movzx eax, cx
mov dword [ebp - 0x194c], 0x14
mov dword [ebp - 0x1960], 0x466bca
lea ebx, [edx + ebx]
mov dword [ebp - 0x1950], eax
shl ebx, 3
mov dword [ebp - 0x19a0], ebx
nop dword [eax]
mov edx, 1
mov word [0x4697f8], si
mov esi, edx
mov eax, edx
movsx ecx, ax
movsx eax, dx
mov eax, dword [eax*4 + 0x46a490]
movsd xmm0, qword [ebx + eax]
mov eax, dword [ecx*4 + 0x46a4a8]
movsd qword [ebp + ecx*8 - 0x24], xmm0
movsd xmm0, qword [ebx + eax]
lea eax, [esi + 1]
movsd qword [ebp + ecx*8 - 0x44], xmm0
movzx ecx, ax
mov word [0x4697f8], ax
movzx edx, ax
movzx esi, ax
mov eax, ecx
cmp cx, 3
jle 0x4040e0
mov eax, dword [ebp - 0x1960]
movzx eax, word [eax]
mov ecx, eax
mov dword [ebp - 0x1970], ecx
cmp ax, 1
je 0x40447d
cmp ax, 0xc
je 0x40447d
mov eax, dword [0x46a49c]
sub esp, 0x18
movsd xmm0, qword [eax + ebx]
mov eax, dword [0x46a498]
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [ebx + eax]
mov eax, dword [0x46a494]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebx + eax]
movsd qword [esp], xmm0
call fcn.00407a20
mov eax, dword [0x46a4b4]
fstp qword [ebp - 0x1978]
movsd xmm0, qword [ebx + eax]
mov eax, dword [0x46a4b0]
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [ebx + eax]
mov eax, dword [0x46a4ac]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [ebx + eax]
movsd qword [esp], xmm0
call fcn.00407a20
mov eax, 1
add esp, 0x18
fstp qword [ebp - 0x1998]
cmp ax, di
jg 0x404427
movsd xmm0, qword [ebp - 0x1978]
mov edx, 0x4669d6
movzx eax, word [0x469804]
mov ebx, 0x467681
movsd qword [ebp - 0x1978], xmm0
mov esi, 0x469b50
movsd xmm0, qword [ebp - 0x1998]
mov edi, 0x466eb4
mov dword [ebp - 0x1948], edx
mov dword [ebp - 0x1964], eax
movsd qword [ebp - 0x19e8], xmm0
nop dword [eax + eax]
cmp byte [ebx], 1
jne 0x404408
mov ecx, dword [ebp - 0x1958]
movss xmm2, dword [edi]
movsx eax, cx
lea ecx, [eax*8]
mov eax, dword [esi - 4]
cvtps2pd xmm2, xmm2
mov dword [ebp - 0x1968], ecx
movaps xmm3, xmm2
mulsd xmm3, qword [eax + ecx]
mov eax, dword [esi]
add eax, ecx
mov ecx, dword [ebp - 0x1970]
cmp word [edx], cx
mov ecx, dword [ebp - 0x1968]
movsd qword [ebp - 0x1998], xmm3
jne 0x40427f
movaps xmm0, xmm2
mulsd xmm0, qword [eax]
mov eax, dword [esi + 4]
mulsd xmm2, qword [ecx + eax]
jmp 0x4042b0
movss xmm1, dword [edi + 0x320]
cvtps2pd xmm1, xmm1
movaps xmm0, xmm1
mulsd xmm3, xmm0
movaps xmm0, xmm2
mulsd xmm0, qword [eax]
mov eax, dword [esi + 4]
movsd qword [ebp - 0x1998], xmm3
mulsd xmm2, qword [eax + ecx]
mulsd xmm0, xmm1
mulsd xmm2, xmm1
movsd xmm1, qword [ebp - 0x2c]
sub esp, 0x18
addsd xmm1, xmm2
movsd qword [ebp - 0x19f0], xmm2
movsd xmm2, qword [ebp - 0x34]
addsd xmm2, xmm0
movsd qword [ebp - 0x19f8], xmm0
movsd xmm0, qword [ebp - 0x3c]
addsd xmm0, xmm3
movsd qword [esp + 0x10], xmm1
movsd qword [ebp - 0x19d0], xmm1
movsd qword [esp + 8], xmm2
movsd qword [ebp - 0x19c8], xmm2
movsd qword [ebp - 0x19c0], xmm0
movsd qword [esp], xmm0
call fcn.00407a20
fstp qword [ebp - 0x196c]
movsd xmm0, qword [ebp - 0x196c]
add esp, 0x18
comisd xmm0, xmmword [ebp - 0x19e8]
jbe 0x404356
movsd qword [ebp - 0x19e8], xmm0
movsd xmm0, qword [ebp - 0x19c0]
movsd qword [ebp - 0x3c], xmm0
movsd xmm0, qword [ebp - 0x19c8]
movsd qword [ebp - 0x34], xmm0
movsd xmm0, qword [ebp - 0x19d0]
movsd qword [ebp - 0x2c], xmm0
movsd xmm0, qword [ebp - 0xc]
sub esp, 0x18
addsd xmm0, qword [ebp - 0x19f0]
movsd xmm1, qword [ebp - 0x14]
addsd xmm1, qword [ebp - 0x19f8]
movsd xmm2, qword [ebp - 0x1c]
addsd xmm2, qword [ebp - 0x1998]
movsd qword [esp + 0x10], xmm0
movsd qword [ebp - 0x19c0], xmm0
movsd qword [esp + 8], xmm1
movsd qword [ebp - 0x19c8], xmm1
movsd qword [ebp - 0x19d0], xmm2
movsd qword [esp], xmm2
call fcn.00407a20
movsd xmm1, qword [ebp - 0x1978]
add esp, 0x18
mov edx, dword [ebp - 0x1948]
mov eax, dword [ebp - 0x1964]
fstp qword [ebp - 0x196c]
movsd xmm0, qword [ebp - 0x196c]
comisd xmm1, xmm0
jbe 0x404408
movsd qword [ebp - 0x1978], xmm0
movsd xmm0, qword [ebp - 0x19d0]
movsd qword [ebp - 0x1c], xmm0
movsd xmm0, qword [ebp - 0x19c8]
movsd qword [ebp - 0x14], xmm0
movsd xmm0, qword [ebp - 0x19c0]
movsd qword [ebp - 0xc], xmm0
add edx, 2
inc ebx
add edi, 4
mov dword [ebp - 0x1948], edx
add esi, 0x18
sub eax, 1
mov dword [ebp - 0x1964], eax
jne 0x404220
mov ebx, dword [ebp - 0x194c]
mov esi, 1
mov edi, esi
mov eax, esi
movsx edx, ax
movsx eax, si
lea ecx, [ebx + edx]
movsd xmm0, qword [ebp + eax*8 - 0x24]
lea eax, [edi + 1]
movsd qword [ebp + ecx*8 - 0xcc4], xmm0
movsd xmm0, qword [ebp + edx*8 - 0x44]
movsd qword [ebp + ecx*8 - 0x1944], xmm0
movzx ecx, ax
mov word [0x4697f8], ax
movzx esi, ax
movzx edi, ax
mov eax, ecx
cmp cx, 3
jle 0x404436
mov ebx, dword [ebp - 0x19a0]
add dword [ebp - 0x1960], 2
mov esi, 1
add dword [ebp - 0x194c], 0x14
sub dword [ebp - 0x1950], 1
mov di, word [0x469804]
jne 0x4040d0
mov cx, word [0x4661ac]
mov ebx, dword [ebp - 0x1958]
mov edx, 1
mov byte [ebp - 0x1959], 0
cmp dx, cx
jg 0x4045dc
mov eax, 0x466bca
movzx ecx, cx
lea esi, [edx + 0x13]
mov dword [ebp - 0x1968], eax
mov dword [ebp - 0x1948], ecx
nop dword [eax]
movzx eax, word [eax]
cmp ax, 1
je 0x4045b5
cmp ax, 0xc
je 0x4045b5
mov ebx, 1
mov eax, ebx
mov dword [ebp - 0x1950], ebx
mov edi, eax
nop word [eax + eax]
cmp byte [ebp - 0x1959], 0
movzx ecx, di
movzx eax, ax
jne 0x40454b
movsx ecx, ax
movsx eax, bx
add eax, esi
mov byte [ebp - 0x1959], 1
movsd xmm0, qword [ebp + eax*8 - 0xcc4]
lea eax, [esi + ecx]
movsd qword [ebp + ecx*8 - 0x24], xmm0
movsd xmm0, qword [ebp + eax*8 - 0x1944]
jmp 0x404586
mov eax, dword [ebp - 0x1950]
cwde
add eax, esi
movsx ecx, cx
movsd xmm1, qword [ebp + eax*8 - 0xcc4]
movsd xmm0, qword [ebp + ecx*8 - 0x24]
comisd xmm0, xmm1
jbe 0x404572
movsd qword [ebp + ecx*8 - 0x24], xmm1
lea eax, [esi + ecx]
movsd xmm0, qword [ebp + eax*8 - 0x1944]
comisd xmm0, xmmword [ebp + ecx*8 - 0x44]
jbe 0x40458c
movsd qword [ebp + ecx*8 - 0x44], xmm0
inc dx
movzx ecx, dx
movzx eax, dx
mov edi, ecx
mov dword [ebp - 0x1950], eax
mov ebx, eax
mov eax, ecx
cmp cx, 3
jle 0x404510
mov ecx, dword [ebp - 0x1948]
mov edx, 1
mov eax, dword [ebp - 0x1968]
add esi, 0x14
add eax, 2
sub ecx, 1
mov dword [ebp - 0x1968], eax
mov dword [ebp - 0x1948], ecx
jne 0x4044e0
mov ebx, dword [ebp - 0x1958]
mov word [0x4697f8], dx
mov eax, 1
movsx edx, bx
mov esi, eax
add edx, dword [ebp - 0x1954]
movsx ecx, ax
movsx eax, si
movsd xmm0, qword [ebp + ecx*8 - 0x24]
mov eax, dword [eax*4 + 0x46a490]
movsd qword [eax + edx*8], xmm0
movsx eax, word [0x4697f8]
mov ecx, dword [eax*4 + 0x46a4a8]
movsd xmm0, qword [ebp + eax*8 - 0x44]
movsd qword [ecx + edx*8], xmm0
mov ax, word [0x4697f8]
inc ax
movzx ecx, ax
mov word [0x4697f8], ax
mov esi, ecx
movzx eax, ax
cmp cx, 3
jle 0x4045f3
mov cx, word [0x4697ec]
inc ebx
mov dword [ebp - 0x1958], ebx
cmp bx, cx
jg 0x40466a
mov di, word [0x469804]
mov esi, 1
mov edx, dword [ebp - 0x1954]
jmp 0x404090
add cx, word [0x4697e8]
mov si, word [0x4697e0]
movzx edi, cx
mov word [0x4697e8], cx
cmp si, di
jle 0x4046ac
push 0x1a54
push 0x467c00
push 0x4661a8
call fcn.00409700
add esp, 0xc
mov eax, edi
mov ecx, edi
mov ebx, 1
jmp 0x4031a0
push 0x4eabd8
push str.BSMIMXN
push 0x4eb3d8
push str._s_s_s
push 0x4ec7d8
call fcn.00401910
push 0x458500
push 0x4ec7d8
call fcn.0042e9cc
mov ebx, 1
mov esi, eax
add esp, 0x1c
mov dword [0x465a94], esi
mov word [0x4697f8], bx
mov edi, ebx
mov dx, word [0x4697e0]
cmp bx, dx
jg 0x404725
movsx eax, di
mov ecx, 0x500bd8
movzx edx, dx
mov eax, dword [eax*4 + 0x46a490]
add eax, 8
movsd xmm0, qword [eax]
lea eax, [eax + 8]
movsd qword [ecx], xmm0
lea ecx, [ecx + 8]
sub edx, ebx
jne 0x404713
push esi
push 1
push 0x5dc8
push 0x500bd0
call fcn.0042f561
mov ax, word [0x4697f8]
add esp, 0x10
inc ax
mov word [0x4697f8], ax
movzx edi, ax
cmp ax, 3
jg 0x404759
mov esi, dword [0x465a94]
jmp 0x4046f2
mov word [0x4697f8], bx
mov esi, ebx
mov dx, word [0x4697e0]
cmp bx, dx
jg 0x404795
movsx eax, si
mov ecx, 0x500bd8
movzx edx, dx
mov eax, dword [eax*4 + 0x46a4a8]
add eax, 8
movsd xmm0, qword [eax]
lea eax, [eax + 8]
movsd qword [ecx], xmm0
lea ecx, [ecx + 8]
sub edx, ebx
jne 0x404783
push dword [0x465a94]
push 1
push 0x5dc8
push 0x500bd0
call fcn.0042f561
mov ax, word [0x4697f8]
add esp, 0x10
inc ax
mov word [0x4697f8], ax
movzx esi, ax
cmp ax, 3
jle 0x404762
mov eax, dword [0x465a94]
pop edi
pop esi
pop ebx
test eax, eax
je 0x4047db
push eax
call fcn.0042e6de
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408228
mov esp, ebp
pop ebp
ret