Function at 0x405cd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x135c
call fcn.004251a0
mov eax, dword [0x447040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.MinMaxOf_UZ
call fcn.004022d0
add esp, 4
mov dword [0x47a3b8], 0x1069
mov eax, 1
mov word [ebp - 0x12e0], ax
jmp 0x405d1f
mov cx, word [ebp - 0x12e0]
add cx, 1
mov word [ebp - 0x12e0], cx
movsx edx, word [ebp - 0x12e0]
movsx eax, word [0x47f352]
cmp edx, eax
jg 0x40747e
push 0x4ccaf0
mov ecx, dword [0x47a158]
push ecx
movsx edx, word [ebp - 0x12e0]
push edx
push 0x4ccce0
push 0x43c730
push 0x4cc900
call fcn.00401f00
add esp, 0x18
push 0x43c748
push 0x4cc900
call fcn.0042b546
add esp, 8
mov dword [0x46ac90], eax
cmp dword [0x46ac90], 0
je 0x405d9b
mov eax, dword [0x46ac90]
push eax
call fcn.0042b45f
add esp, 4
push 0x4cc900
call fcn.0042c12a
add esp, 4
push 0x4ccaf0
mov ecx, dword [0x47a158]
push ecx
movsx edx, word [ebp - 0x12e0]
push edx
push 0x4ccce0
push 0x43c74c
push 0x4cc900
call fcn.00401f00
add esp, 0x18
push 0x43c764
push 0x4cc900
call fcn.0042b546
add esp, 8
mov dword [0x46ac90], eax
cmp dword [0x46ac90], 0
je 0x405e01
mov eax, dword [0x46ac90]
push eax
call fcn.0042b45f
add esp, 4
push 0x4cc900
call fcn.0042c12a
add esp, 4
push 0x4ccaf0
mov ecx, dword [0x47a158]
push ecx
movsx edx, word [ebp - 0x12e0]
push edx
push 0x4ccce0
push 0x43c768
push 0x4cc900
call fcn.00401f00
add esp, 0x18
push 0x43c780
push 0x4cc900
call fcn.0042b546
add esp, 8
mov dword [0x46ac90], eax
cmp dword [0x46ac90], 0
je 0x405e67
mov eax, dword [0x46ac90]
push eax
call fcn.0042b45f
add esp, 4
push 0x4cc900
call fcn.0042c12a
add esp, 4
push 0x4ccaf0
mov ecx, dword [0x47a158]
push ecx
movsx edx, word [ebp - 0x12e0]
push edx
push 0x4ccce0
push 0x43c784
push 0x4cc900
call fcn.00401f00
add esp, 0x18
push 0x43c79c
push 0x4cc900
call fcn.0042b546
add esp, 8
mov dword [0x46ac90], eax
cmp dword [0x46ac90], 0
je 0x405ecd
mov eax, dword [0x46ac90]
push eax
call fcn.0042b45f
add esp, 4
push 0x4cc900
call fcn.0042c12a
add esp, 4
xor ecx, ecx
mov word [ebp - 0x12f4], cx
mov edx, 1
mov word [ebp - 0x12f0], dx
jmp 0x405ef6
mov ax, word [ebp - 0x12f0]
add ax, 1
mov word [ebp - 0x12f0], ax
movsx ecx, word [ebp - 0x12f0]
movsx edx, word [ebp - 0x12e0]
shl edx, 9
movsx eax, word [edx + 0x46b12e]
cmp ecx, eax
jg 0x405f3f
movsx ecx, word [ebp - 0x12e0]
shl ecx, 9
movsx edx, word [ebp - 0x12f0]
movsx eax, word [ecx + edx*2 + 0x46af82]
movsx ecx, word [ebp - 0x12f4]
lea edx, [ecx + eax + 1]
mov word [ebp - 0x12f4], dx
jmp 0x405ee4
mov ax, word [ebp - 0x12f4]
mov word [ebp - 0x12e8], ax
xor ecx, ecx
mov word [0x47a15c], cx
mov byte [0x448278], 0
mov byte [0x448279], 0
mov byte [0x44827a], 0
movsx edx, word [ebp - 0x12e8]
movsx eax, word [0x47a15c]
sub edx, eax
mov word [0x47a3bc], dx
movsx ecx, word [0x47a3bc]
movsx edx, word [0x47f648]
sub edx, 1
cmp ecx, edx
jle 0x405fa7
movsx eax, word [0x47f648]
sub eax, 1
mov word [0x47a3bc], ax
mov cx, word [0x47a15c]
mov word [0x467f74], cx
mov edx, 1
mov word [ebp - 0x12d4], dx
jmp 0x405fd5
mov ax, word [ebp - 0x12d4]
add ax, 1
mov word [ebp - 0x12d4], ax
movsx ecx, word [ebp - 0x12d4]
movsx edx, word [0x47f638]
cmp ecx, edx
jg 0x406199
movsx eax, word [ebp - 0x12d4]
movsx ecx, word [eax*2 + 0x47abec]
cmp ecx, dword [0x47a158]
jne 0x406194
push 0x4ccaf0
movsx edx, word [ebp - 0x12d4]
movsx eax, word [edx*2 + 0x47a2f0]
push eax
movsx ecx, word [ebp - 0x12e0]
push ecx
push 0x43c7a0
push 0x4ccce0
push 0x43c7a4
push 0x4cc900
call fcn.00401f00
add esp, 0x1c
push 0x4cc900
call fcn.00402370
add esp, 4
push 0x43c7b0
push 0x4cc900
call fcn.0042b546
add esp, 8
mov dword [0x46ac90], eax
cmp dword [0x46ac90], 0
je 0x40610a
push 0
movsx edx, word [0x47a15c]
shl edx, 2
push edx
mov eax, dword [0x46ac90]
push eax
call fcn.0042bbe9
add esp, 0xc
mov ecx, 1
mov word [ebp - 0x12d0], cx
jmp 0x4060ab
mov dx, word [ebp - 0x12d0]
add dx, 1
mov word [ebp - 0x12d0], dx
movsx eax, word [ebp - 0x12d0]
movsx ecx, word [0x47a3bc]
cmp eax, ecx
jg 0x4060fb
mov edx, dword [0x46ac90]
push edx
push 1
push 4
lea eax, [ebp - 0x12ec]
push eax
call fcn.0042b7c5
add esp, 0x10
cvtss2sd xmm0, dword [ebp - 0x12ec]
movsx ecx, word [ebp - 0x12d4]
movsx edx, word [ebp - 0x12d0]
mov eax, dword [ecx*4 + 0x449fa8]
movsd qword [eax + edx*8], xmm0
jmp 0x406099
mov ecx, dword [0x46ac90]
push ecx
call fcn.0042b45f
add esp, 4
movsx edx, word [ebp - 0x12d4]
movzx eax, byte [edx + 0x448280]
test eax, eax
jne 0x406194
mov ecx, 1
mov word [ebp - 0x12d0], cx
jmp 0x40613c
mov dx, word [ebp - 0x12d0]
add dx, 1
mov word [ebp - 0x12d0], dx
movsx eax, word [ebp - 0x12d0]
movsx ecx, word [0x47a3bc]
cmp eax, ecx
jg 0x406194
movsx edx, word [ebp - 0x12d4]
movsx eax, word [ebp - 0x12d0]
mov ecx, dword [edx*4 + 0x449fa8]
movsx edx, word [ebp - 0x12d4]
cvtss2sd xmm0, dword [edx*4 + 0x47aed4]
mulsd xmm0, qword [ecx + eax*8]
movsx eax, word [ebp - 0x12d4]
movsx ecx, word [ebp - 0x12d0]
mov edx, dword [eax*4 + 0x449fa8]
movsd qword [edx + ecx*8], xmm0
jmp 0x40612a
jmp 0x405fc3
mov eax, 1
mov word [ebp - 0x12d4], ax
jmp 0x4061b9
mov cx, word [ebp - 0x12d4]
add cx, 1
mov word [ebp - 0x12d4], cx
movsx edx, word [ebp - 0x12d4]
movsx eax, word [0x47f628]
cmp edx, eax
jg 0x406376
xor ecx, ecx
mov word [ebp - 0x12e4], cx
mov edx, 1
mov word [ebp - 0x12dc], dx
jmp 0x4061f8
mov ax, word [ebp - 0x12dc]
add ax, 1
mov word [ebp - 0x12dc], ax
movsx ecx, word [ebp - 0x12dc]
movsx edx, word [0x47f638]
cmp ecx, edx
jg 0x406371
movsx eax, word [ebp - 0x12dc]
movsx ecx, word [eax*2 + 0x47abec]
cmp ecx, dword [0x47a158]
jne 0x40636c
movsx edx, word [ebp - 0x12dc]
movsx eax, byte [edx + 0x47a4f0]
cmp eax, 0x47
jne 0x40636c
movsx ecx, word [ebp - 0x12dc]
movsx edx, word [ecx*2 + 0x47a998]
movsx eax, word [ebp - 0x12d4]
cmp edx, eax
jne 0x40636c
movsx ecx, word [ebp - 0x12e4]
test ecx, ecx
jne 0x4062c6
mov dx, word [ebp - 0x12dc]
mov word [ebp - 0x12e4], dx
movsx eax, word [ebp - 0x12dc]
movsx ecx, byte [eax + 0x47a3c6]
cmp ecx, 0x41
jne 0x4062a8
movsx edx, word [ebp - 0x12dc]
mov byte [edx + 0x47a4f0], 0x41
movsx eax, word [ebp - 0x12dc]
mov byte [eax + 0x47a86e], 0x54
jmp 0x4062b6
movsx ecx, word [ebp - 0x12dc]
mov byte [ecx + 0x47a4f0], 0x51
movsx edx, word [ebp - 0x12e4]
mov byte [edx + 0x47b898], 1
jmp 0x4062d4
movsx eax, word [ebp - 0x12dc]
mov byte [eax + 0x47b898], 0
movsx ecx, word [ebp - 0x12dc]
movsx edx, word [ebp - 0x12e4]
cmp ecx, edx
je 0x40636c
mov eax, 1
mov word [ebp - 0x12d0], ax
jmp 0x40630a
mov cx, word [ebp - 0x12d0]
add cx, 1
mov word [ebp - 0x12d0], cx
movsx edx, word [ebp - 0x12d0]
movsx eax, word [0x47a3bc]
cmp edx, eax
jg 0x40636c
movsx ecx, word [ebp - 0x12e4]
movsx edx, word [ebp - 0x12d0]
mov eax, dword [ecx*4 + 0x449fa8]
movsx ecx, word [ebp - 0x12dc]
movsx esi, word [ebp - 0x12d0]
mov ecx, dword [ecx*4 + 0x449fa8]
movsd xmm0, qword [eax + edx*8]
addsd xmm0, qword [ecx + esi*8]
movsx edx, word [ebp - 0x12e4]
movsx eax, word [ebp - 0x12d0]
mov ecx, dword [edx*4 + 0x449fa8]
movsd qword [ecx + eax*8], xmm0
jmp 0x4062f8
jmp 0x4061e6
jmp 0x4061a7
mov edx, 1
mov word [ebp - 0x12d4], dx
jmp 0x406396
mov ax, word [ebp - 0x12d4]
add ax, 1
mov word [ebp - 0x12d4], ax
movsx ecx, word [ebp - 0x12d4]
movsx edx, word [0x47f638]
cmp ecx, edx
jg 0x406482
movsx eax, word [ebp - 0x12d4]
movsx ecx, byte [eax + 0x47a86e]
cmp ecx, 0x54
jne 0x40647d
movsx edx, word [ebp - 0x12d4]
movsx eax, word [edx*2 + 0x47abec]
cmp eax, dword [0x47a158]
jne 0x40647d
mov ecx, 1
mov word [ebp - 0x12d0], cx
jmp 0x4063fe
mov dx, word [ebp - 0x12d0]
add dx, 1
mov word [ebp - 0x12d0], dx
movsx eax, word [ebp - 0x12d0]
movsx ecx, word [0x47a3bc]
cmp eax, ecx
jg 0x40647b
movsx edx, word [ebp - 0x12d4]
movsx eax, word [ebp - 0x12d0]
mov ecx, dword [edx*4 + 0x449fa8]
cvtsd2ss xmm0, qword [ecx + eax*8]
movsx edx, word [0x467f74]
movsx eax, word [ebp - 0x12d0]
add edx, eax
movss dword [ebp + edx*4 - 0x12cc], xmm0
movsx ecx, word [ebp - 0x12d4]
movsx edx, word [ebp - 0x12d0]
mov eax, dword [ecx*4 + 0x449fa8]
cvtsd2ss xmm0, qword [eax + edx*8]
movsx ecx, word [0x467f74]
movsx edx, word [ebp - 0x12d0]
add ecx, edx
movss dword [ebp + ecx*4 - 0x968], xmm0
jmp 0x4063ec
jmp 0x406482
jmp 0x406384
mov eax, 1
mov word [ebp - 0x12d4], ax
jmp 0x4064a2
mov cx, word [ebp - 0x12d4]
add cx, 1
mov word [ebp - 0x12d4], cx
movsx edx, word [ebp - 0x12d4]
movsx eax, word [0x47f638]
cmp edx, eax
jg 0x4065d8
movsx ecx, word [ebp - 0x12d4]
movsx edx, byte [ecx + 0x47a86e]
cmp edx, 0x54
jne 0x4065d3
movsx eax, word [ebp - 0x12d4]
movsx ecx, word [eax*2 + 0x47abec]
cmp ecx, dword [0x47a158]
jne 0x4065d3
mov edx, 1
mov word [ebp - 0x12d0], dx
jmp 0x40650a
mov ax, word [ebp - 0x12d0]
add ax, 1
mov word [ebp - 0x12d0], ax
movsx ecx, word [ebp - 0x12d0]
movsx edx, word [0x47a3bc]
cmp ecx, edx
jg 0x4065d3
movsx eax, word [ebp - 0x12d4]
movsx ecx, word [ebp - 0x12d0]
mov edx, dword [eax*4 + 0x449fa8]
movsd xmm0, qword [edx + ecx*8]
movsd qword [0x449c48], xmm0
movsx eax, word [0x467f74]
movsx ecx, word [ebp - 0x12d0]
add eax, ecx
cvtss2sd xmm0, dword [ebp + eax*4 - 0x968]
movsd xmm1, qword [0x449c48]
comisd xmm1, xmm0
jbe 0x40658a
cvtsd2ss xmm0, qword [0x449c48]
movsx edx, word [0x467f74]
movsx eax, word [ebp - 0x12d0]
add edx, eax
movss dword [ebp + edx*4 - 0x968], xmm0
movsx ecx, word [0x467f74]
movsx edx, word [ebp - 0x12d0]
add ecx, edx
cvtss2sd xmm0, dword [ebp + ecx*4 - 0x12cc]
comisd xmm0, xmmword [0x449c48]
jbe 0x4065ce
cvtsd2ss xmm0, qword [0x449c48]
movsx eax, word [0x467f74]
movsx ecx, word [ebp - 0x12d0]
add eax, ecx
movss dword [ebp + eax*4 - 0x12cc], xmm0
jmp 0x4064f8
jmp 0x406490
mov edx, 1
mov word [ebp - 0x12d4], dx
jmp 0x4065f8
mov ax, word [ebp - 0x12d4]
add ax, 1
mov word [ebp - 0x12d4], ax
movsx ecx, word [ebp - 0x12d4]
movsx edx, word [0x47f638]
cmp ecx, edx
jg 0x406793
movsx eax, word [ebp - 0x12d4]
movsx ecx, word [eax*2 + 0x47abec]
cmp ecx, dword [0x47a158]
jne 0x40678e
movsx edx, word [ebp - 0x12d4]
movsx eax, byte [edx + 0x47a4f0]
cmp eax, 0x41
jne 0x4066de
movzx ecx, byte [0x44827a]
test ecx, ecx
jne 0x4066de
mov edx, 1
mov word [ebp - 0x12d0], dx
jmp 0x40666f
mov ax, word [ebp - 0x12d0]
add ax, 1
mov word [ebp - 0x12d0], ax
movsx ecx, word [ebp - 0x12d0]
movsx edx, word [0x47a3bc]
cmp ecx, edx
jg 0x4066b6
movsx eax, word [0x467f74]
movsx ecx, word [ebp - 0x12d0]
add eax, ecx
cvtss2sd xmm0, dword [ebp + eax*4 - 0x968]
movsx edx, word [ebp - 0x12d4]
movsx eax, word [ebp - 0x12d0]
mov ecx, dword [edx*4 + 0x449fa8]
movsd qword [ecx + eax*8], xmm0
jmp 0x40665d
mov byte [0x44827a], 1
movsx edx, word [ebp - 0x12d4]
mov byte [edx + 0x47a4f0], 0x58
movsx eax, word [ebp - 0x12d4]
mov byte [eax + 0x47b898], 1
jmp 0x4065e6
movsx ecx, word [ebp - 0x12d4]
movsx edx, byte [ecx + 0x47a4f0]
cmp edx, 0x41
jne 0x40678e
movzx eax, byte [0x448279]
test eax, eax
jne 0x40678e
mov ecx, 1
mov word [ebp - 0x12d0], cx
jmp 0x406724
mov dx, word [ebp - 0x12d0]
add dx, 1
mov word [ebp - 0x12d0], dx
movsx eax, word [ebp - 0x12d0]
movsx ecx, word [0x47a3bc]
cmp eax, ecx
jg 0x40676b
movsx edx, word [0x467f74]
movsx eax, word [ebp - 0x12d0]
add edx, eax
cvtss2sd xmm0, dword [ebp + edx*4 - 0x12cc]
movsx ecx, word [ebp - 0x12d4]
movsx edx, word [ebp - 0x12d0]
mov eax, dword [ecx*4 + 0x449fa8]
movsd qword [eax + edx*8], xmm0
jmp 0x406712
mov byte [0x448279], 1
movsx ecx, word [ebp - 0x12d4]
mov byte [ecx + 0x47a4f0], 0x4d
movsx edx, word [ebp - 0x12d4]
mov byte [edx + 0x47b898], 1
jmp 0x4065e6
movsx eax, word [0x47f638]
push eax
call fcn.00402400
add esp, 4
mov ecx, 1
mov word [ebp - 0x12d0], cx
jmp 0x4067c3
mov dx, word [ebp - 0x12d0]
add dx, 1
mov word [ebp - 0x12d0], dx
movsx eax, word [ebp - 0x12d0]
movsx ecx, word [0x47a3bc]
cmp eax, ecx
jg 0x40680f
movsx edx, word [0x467f74]
movsx eax, word [ebp - 0x12d0]
add edx, eax
xorps xmm0, xmm0
movss dword [ebp + edx*4 - 0x12cc], xmm0
movsx ecx, word [0x467f74]
movsx edx, word [ebp - 0x12d0]
add ecx, edx
xorps xmm0, xmm0
movss dword [ebp + ecx*4 - 0x968], xmm0
jmp 0x4067b1
mov dword [ebp - 0x1320], 0
call fcn.00401260
mov eax, 1
mov word [ebp - 0x12d4], ax
jmp 0x40683e
mov cx, word [ebp - 0x12d4]
add cx, 1
mov word [ebp - 0x12d4], cx
movsx edx, word [ebp - 0x12d4]
movsx eax, word [0x47f638]
cmp edx, eax
jg 0x406ab4
movsx ecx, word [ebp - 0x12d4]
movsx edx, word [ecx*2 + 0x47abec]
cmp edx, dword [0x47a158]
jne 0x406aaf
movsx eax, word [ebp - 0x12d4]
movsx ecx, word [eax*2 + 0x47abec]
cmp ecx, 1
je 0x40689b
movsx edx, word [ebp - 0x12d4]
movsx eax, word [edx*2 + 0x47abec]
cmp eax, 0xc
jne 0x406aaf
mov ecx, 1
mov word [ebp - 0x12d0], cx
jmp 0x4068bb
mov dx, word [ebp - 0x12d0]
add dx, 1
mov word [ebp - 0x12d0], dx
movsx eax, word [ebp - 0x12d0]
movsx ecx, word [0x47a3bc]
cmp eax, ecx
jg 0x406aaf
movsx edx, word [ebp - 0x12d4]
movsx eax, word [ebp - 0x12d0]
mov ecx, dword [edx*4 + 0x449fa8]
movsx edx, word [ebp - 0x12d4]
cvtss2sd xmm0, dword [edx*4 + 0x47b0c8]
mulsd xmm0, qword [ecx + eax*8]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x12f8], xmm0
movsx eax, word [ebp - 0x12d4]
movsx ecx, word [ebp - 0x12d0]
mov edx, dword [eax*4 + 0x449fa8]
movsx eax, word [ebp - 0x12d4]
cvtss2sd xmm0, dword [eax*4 + 0x47b258]
mulsd xmm0, qword [edx + ecx*8]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x12fc], xmm0
movss xmm0, dword [ebp - 0x12fc]
comiss xmm0, dword [ebp - 0x12f8]
jbe 0x406960
movss xmm0, dword [ebp - 0x12f8]
movss dword [ebp - 0x1310], xmm0
jmp 0x406970
movss xmm0, dword [ebp - 0x12fc]
movss dword [ebp - 0x1310], xmm0
movss xmm0, dword [ebp - 0x1310]
movss dword [ebp - 0x1318], xmm0
movss xmm0, dword [ebp - 0x12f8]
comiss xmm0, dword [ebp - 0x12fc]
jbe 0x4069a3
movss xmm0, dword [ebp - 0x12f8]
movss dword [ebp - 0x1314], xmm0
jmp 0x4069b3
movss xmm0, dword [ebp - 0x12fc]
movss dword [ebp - 0x1314], xmm0
movss xmm0, dword [ebp - 0x1314]
movss dword [ebp - 0x131c], xmm0
movsx ecx, word [ebp - 0x12d4]
movsx edx, byte [ecx + 0x47a86e]
cmp edx, 0x57
je 0x406a4c
movsx eax, word [0x467f74]
movsx ecx, word [ebp - 0x12d0]
add eax, ecx
movss xmm0, dword [ebp + eax*4 - 0x12cc]
addss xmm0, dword [ebp - 0x1318]
movsx edx, word [ebp - 0x12d0]
movsx eax, word [0x467f74]
add eax, edx
movss dword [ebp + eax*4 - 0x12cc], xmm0
movsx ecx, word [0x467f74]
movsx edx, word [ebp - 0x12d0]
add ecx, edx
movss xmm0, dword [ebp + ecx*4 - 0x968]
addss xmm0, dword [ebp - 0x131c]
movsx eax, word [ebp - 0x12d0]
movsx ecx, word [0x467f74]
add ecx, eax
movss dword [ebp + ecx*4 - 0x968], xmm0
jmp 0x406aaa
mov dword [ebp - 0x1320], 1
mov edx, 0x2c
shl edx, 0
movsx eax, word [ebp - 0x12d4]
movsx ecx, word [ebp - 0x12d0]
mov edx, dword [edx + eax*4 + 0x46ac98]
movss xmm0, dword [ebp - 0x1318]
movss dword [edx + ecx*4], xmm0
mov eax, 0x2c
shl eax, 0
movsx ecx, word [ebp - 0x12d4]
movsx edx, word [ebp - 0x12d0]
mov eax, dword [eax + ecx*4 + 0x46adf8]
movss xmm0, dword [ebp - 0x131c]
movss dword [eax + edx*4], xmm0
jmp 0x4068a9
jmp 0x40682c
cmp dword [ebp - 0x1320], 1
jne 0x406bb4
mov ecx, 1
mov word [ebp - 0x12d0], cx
jmp 0x406ae1
mov dx, word [ebp - 0x12d0]
add dx, 1
mov word [ebp - 0x12d0], dx
movsx eax, word [ebp - 0x12d0]
movsx ecx, word [0x47a3bc]
cmp eax, ecx
jg 0x406bb4
movsx esi, word [0x467f74]
movsx edx, word [ebp - 0x12d0]
add esi, edx
movsx eax, word [ebp - 0x12d0]
push eax
movsx ecx, word [0x47f638]
push ecx
push 1
push 1
call section..text
add esp, 0x10
fstp dword [ebp - 0x1328]
movss xmm0, dword [ebp - 0x1328]
addss xmm0, dword [ebp + esi*4 - 0x12cc]
movsx edx, word [ebp - 0x12d0]
movsx eax, word [0x467f74]
add eax, edx
movss dword [ebp + eax*4 - 0x12cc], xmm0
movsx esi, word [0x467f74]
movsx ecx, word [ebp - 0x12d0]
add esi, ecx
movsx edx, word [ebp - 0x12d0]
push edx
movsx eax, word [0x47f638]
push eax
push 1
push 1
call fcn.00401130
add esp, 0x10
fstp dword [ebp - 0x132c]
movss xmm0, dword [ebp - 0x132c]
addss xmm0, dword [ebp + esi*4 - 0x968]
movsx ecx, word [ebp - 0x12d0]
movsx edx, word [0x467f74]
add edx, ecx
movss dword [ebp + edx*4 - 0x968], xmm0
jmp 0x406acf
cmp dword [0x47a158], 1
je 0x406bc6
cmp dword [0x47a158], 0xc
jne 0x406bd0
jmp 0x406fd9
mov eax, 1
mov word [ebp - 0x12d0], ax
jmp 0x406bf0
mov cx, word [ebp - 0x12d0]
add cx, 1
mov word [ebp - 0x12d0], cx
movsx edx, word [ebp - 0x12d0]
movsx eax, word [0x47a3bc]
cmp edx, eax
jg 0x406fd9
mov ecx, 1
mov word [ebp - 0x12d8], cx
jmp 0x406c26
mov dx, word [ebp - 0x12d8]
add dx, 1
mov word [ebp - 0x12d8], dx
movsx eax, word [ebp - 0x12d8]
movsx ecx, word [0x47a3c4]
cmp eax, ecx
jg 0x406e77
movsx edx, word [0x467f74]
movsx eax, word [ebp - 0x12d0]
add edx, eax
cvtss2sd xmm0, dword [ebp + edx*4 - 0x12cc]
movsd qword [ebp - 0x130c], xmm0
movsx ecx, word [0x467f74]
movsx edx, word [ebp - 0x12d0]
add ecx, edx
cvtss2sd xmm0, dword [ebp + ecx*4 - 0x968]
movsd qword [ebp - 0x1304], xmm0
movsx eax, word [ebp - 0x12d8]
movsx ecx, word [eax*2 + 0x47ade0]
cmp ecx, 1
je 0x406ca6
movsx edx, word [ebp - 0x12d8]
movsx eax, word [edx*2 + 0x47ade0]
cmp eax, 0xc
jne 0x406cab
jmp 0x406c14
mov ecx, 1
mov word [ebp - 0x12d4], cx
jmp 0x406ccb
mov dx, word [ebp - 0x12d4]
add dx, 1
mov word [ebp - 0x12d4], dx
movsx eax, word [ebp - 0x12d4]
movsx ecx, word [0x47f638]
cmp eax, ecx
jg 0x406e42
movsx edx, word [ebp - 0x12d4]
movzx eax, byte [edx + 0x47b898]
cmp eax, 1
jne 0x406e3d
movsx ecx, word [ebp - 0x12d4]
movsx edx, word [ecx*2 + 0x47abec]
cmp edx, dword [0x47a158]
jne 0x406e3d
movsx eax, word [ebp - 0x12d4]
movsx ecx, word [eax*2 + 0x47abec]
movsx edx, word [ebp - 0x12d8]
movsx eax, word [edx*2 + 0x47ade0]
cmp ecx, eax
jne 0x406d69
movsx ecx, word [ebp - 0x12d4]
movsx edx, word [ebp - 0x12d0]
mov eax, dword [ecx*4 + 0x449fa8]
movsx ecx, word [ebp - 0x12d4]
cvtss2sd xmm0, dword [ecx*4 + 0x47b0c8]
mulsd xmm0, qword [eax + edx*8]
movsd qword [0x449c48], xmm0
jmp 0x406daf
movsx edx, word [ebp - 0x12d4]
movsx eax, word [ebp - 0x12d0]
mov ecx, dword [edx*4 + 0x449fa8]
movsx edx, word [ebp - 0x12d4]
cvtss2sd xmm0, dword [edx*4 + 0x47b0c8]
mulsd xmm0, qword [ecx + eax*8]
movsx eax, word [ebp - 0x12d4]
cvtss2sd xmm1, dword [eax*4 + 0x47b3e8]
mulsd xmm0, xmm1
movsd qword [0x449c48], xmm0
movsx ecx, word [ebp - 0x12d4]
movsx edx, byte [ecx + 0x47a4f0]
cmp edx, 0x4d
je 0x406df4
movsd xmm0, qword [ebp - 0x1304]
addsd xmm0, qword [0x449c48]
comisd xmm0, xmmword [ebp - 0x1304]
jbe 0x406df4
movsd xmm0, qword [ebp - 0x1304]
addsd xmm0, qword [0x449c48]
movsd qword [ebp - 0x1304], xmm0
movsx eax, word [ebp - 0x12d4]
movsx ecx, byte [eax + 0x47a4f0]
cmp ecx, 0x58
je 0x406e3d
movsd xmm0, qword [ebp - 0x130c]
addsd xmm0, qword [0x449c48]
movsd xmm1, qword [ebp - 0x130c]
comisd xmm1, xmm0
jbe 0x406e3d
movsd xmm0, qword [ebp - 0x130c]
addsd xmm0, qword [0x449c48]
movsd qword [ebp - 0x130c], xmm0
jmp 0x406cb9
movsx edx, word [ebp - 0x12d8]
movsd xmm0, qword [ebp - 0x130c]
movsd qword [edx*8 + 0x449c68], xmm0
movsx eax, word [ebp - 0x12d8]
movsd xmm0, qword [ebp - 0x1304]
movsd qword [eax*8 + 0x449d10], xmm0
jmp 0x406c14
mov dword [ebp - 0x1324], 0
mov ecx, 1
mov word [ebp - 0x12d8], cx
jmp 0x406ea1
mov dx, word [ebp - 0x12d8]
add dx, 1
mov word [ebp - 0x12d8], dx
movsx eax, word [ebp - 0x12d8]
movsx ecx, word [0x47a3c4]
cmp eax, ecx
jg 0x406f92
movsx edx, word [ebp - 0x12d8]
movsx eax, word [edx*2 + 0x47ade0]
cmp eax, 1
je 0x406edf
movsx ecx, word [ebp - 0x12d8]
movsx edx, word [ecx*2 + 0x47ade0]
cmp edx, 0xc
jne 0x406ee1
jmp 0x406e8f
cmp dword [ebp - 0x1324], 0
jne 0x406f29
movsx eax, word [ebp - 0x12d8]
movsd xmm0, qword [eax*8 + 0x449c68]
movsd qword [ebp - 0x130c], xmm0
movsx ecx, word [ebp - 0x12d8]
movsd xmm0, qword [ecx*8 + 0x449d10]
movsd qword [ebp - 0x1304], xmm0
mov dword [ebp - 0x1324], 1
jmp 0x406e8f
movsx edx, word [ebp - 0x12d8]
movsd xmm0, qword [ebp - 0x130c]
comisd xmm0, xmmword [edx*8 + 0x449c68]
jbe 0x406f5b
movsx eax, word [ebp - 0x12d8]
movsd xmm0, qword [eax*8 + 0x449c68]
movsd qword [ebp - 0x130c], xmm0
movsx ecx, word [ebp - 0x12d8]
movsd xmm0, qword [ecx*8 + 0x449d10]
comisd xmm0, xmmword [ebp - 0x1304]
jbe 0x406f8d
movsx edx, word [ebp - 0x12d8]
movsd xmm0, qword [edx*8 + 0x449d10]
movsd qword [ebp - 0x1304], xmm0
jmp 0x406e8f
cvtsd2ss xmm0, qword [ebp - 0x1304]
movsx eax, word [0x467f74]
movsx ecx, word [ebp - 0x12d0]
add eax, ecx
movss dword [ebp + eax*4 - 0x968], xmm0
cvtsd2ss xmm0, qword [ebp - 0x130c]
movsx edx, word [0x467f74]
movsx eax, word [ebp - 0x12d0]
add edx, eax
movss dword [ebp + edx*4 - 0x12cc], xmm0
jmp 0x406bde
movsx ecx, word [0x47a3bc]
movsx edx, word [0x47a15c]
add edx, ecx
mov word [0x47a15c], dx
movsx eax, word [ebp - 0x12e8]
movsx ecx, word [0x47a15c]
cmp eax, ecx
jle 0x40701e
push 0x1a70
push 0x47be30
push 0x47a3c0
call fcn.00425eb0
add esp, 0xc
jmp 0x405f56
push 0x4ccaf0
mov edx, dword [0x47a158]
push edx
movsx eax, word [ebp - 0x12e0]
push eax
push 0x4ccce0
push str._sKOMBI_ULDS_d__i_1__s
push 0x4cc900
call fcn.00401f00
add esp, 0x18
push 0x43c7cc
push 0x4cc900
call fcn.0042b546
add esp, 8
mov dword [0x46ac90], eax
cmp dword [0x46ac90], 0
je 0x4070dd
mov ecx, 1
mov word [ebp - 0x12d0], cx
jmp 0x407089
mov dx, word [ebp - 0x12d0]
add dx, 1
mov word [ebp - 0x12d0], dx
movsx eax, word [ebp - 0x12d0]
movsx ecx, word [ebp - 0x12e8]
cmp eax, ecx
jg 0x4070ce
movsx edx, word [ebp - 0x12d0]
movss xmm0, dword [ebp + edx*4 - 0x968]
movss dword [ebp - 0x12ec], xmm0
mov eax, dword [0x46ac90]
push eax
push 1
push 4
lea ecx, [ebp - 0x12ec]
push ecx
call fcn.0042bee8
add esp, 0x10
jmp 0x407077
mov edx, dword [0x46ac90]
push edx
call fcn.0042b45f
add esp, 4
push 0x4ccaf0
mov eax, dword [0x47a158]
push eax
movsx ecx, word [ebp - 0x12e0]
push ecx
push 0x4ccce0
push str._sKOMBI_ULDS_d__i_2__s
push 0x4cc900
call fcn.00401f00
add esp, 0x18
push 0x43c7e8
push 0x4cc900
call fcn.0042b546
add esp, 8
mov dword [0x46ac90], eax
cmp dword [0x46ac90], 0
je 0x40719d
mov edx, 1
mov word [ebp - 0x12d0], dx
jmp 0x407147
mov ax, word [ebp - 0x12d0]
add ax, 1
mov word [ebp - 0x12d0], ax
movsx ecx, word [ebp - 0x12d0]
movsx edx, word [ebp - 0x12e8]
cmp ecx, edx
jg 0x40718d
movsx eax, word [ebp - 0x12d0]
movss xmm0, dword [ebp + eax*4 - 0x12cc]
movss dword [ebp - 0x12ec], xmm0
mov ecx, dword [0x46ac90]
push ecx
push 1
push 4
lea edx, [ebp - 0x12ec]
push edx
call fcn.0042bee8
add esp, 0x10
jmp 0x407135
mov eax, dword [0x46ac90]
push eax
call fcn.0042b45f
add esp, 4
jmp 0x4071aa
push 0x4cc900
call fcn.00402310
add esp, 4
push 0x4ccaf0
mov ecx, dword [0x47a158]
push ecx
movsx edx, word [ebp - 0x12e0]
push edx
push 0x4ccce0
push str._sKOMBI_ULDS_d__i_3__s
push 0x4cc900
call fcn.00401f00
add esp, 0x18
push 0x43c804
push 0x4cc900
call fcn.0042b546
add esp, 8
mov dword [0x46ac90], eax
cmp dword [0x46ac90], 0
je 0x407301
mov eax, 1
mov word [ebp - 0x12d0], ax
jmp 0x407219
mov cx, word [ebp - 0x12d0]
add cx, 1
mov word [ebp - 0x12d0], cx
movsx edx, word [ebp - 0x12d0]
movsx eax, word [ebp - 0x12e8]
cmp edx, eax
jg 0x4072f2
movsx ecx, word [ebp - 0x12d0]
cvtss2sd xmm0, dword [ebp + ecx*4 - 0x968]
sub esp, 8
movsd qword [esp], xmm0
call fcn.0042c1e3
add esp, 8
fstp qword [ebp - 0x1334]
movsd xmm0, qword [ebp - 0x1334]
movsx edx, word [ebp - 0x12d0]
cvtss2sd xmm1, dword [ebp + edx*4 - 0x12cc]
sub esp, 8
movsd qword [esp], xmm1
movsd qword [ebp - 0x1344], xmm0
call fcn.0042c1e3
add esp, 8
fstp qword [ebp - 0x133c]
movsd xmm0, qword [ebp - 0x133c]
movsd xmm1, qword [ebp - 0x1344]
comisd xmm0, xmm1
jbe 0x4072bb
movsx eax, word [ebp - 0x12d0]
movss xmm0, dword [ebp + eax*4 - 0x968]
movss dword [ebp - 0x12ec], xmm0
jmp 0x4072d3
movsx ecx, word [ebp - 0x12d0]
movss xmm0, dword [ebp + ecx*4 - 0x12cc]
movss dword [ebp - 0x12ec], xmm0
mov edx, dword [0x46ac90]
push edx
push 1
push 4
lea eax, [ebp - 0x12ec]
push eax
call fcn.0042bee8
add esp, 0x10
jmp 0x407207
mov ecx, dword [0x46ac90]
push ecx
call fcn.0042b45f
add esp, 4
push 0x4ccaf0
mov edx, dword [0x47a158]
push edx
movsx eax, word [ebp - 0x12e0]
push eax
push 0x4ccce0
push str._sKOMBI_ULDS_d__i_4__s
push 0x4cc900
call fcn.00401f00
add esp, 0x18
push 0x43c820
push 0x4cc900
call fcn.0042b546
add esp, 8
mov dword [0x46ac90], eax
cmp dword [0x46ac90], 0
je 0x407455
mov ecx, 1
mov word [ebp - 0x12d0], cx
jmp 0x407370
mov dx, word [ebp - 0x12d0]
add dx, 1
mov word [ebp - 0x12d0], dx
movsx eax, word [ebp - 0x12d0]
movsx ecx, word [ebp - 0x12e8]
cmp eax, ecx
jg 0x407444
movsx edx, word [ebp - 0x12d0]
cvtss2sd xmm0, dword [ebp + edx*4 - 0x968]
sub esp, 8
movsd qword [esp], xmm0
call fcn.0042c1e3
add esp, 8
fstp qword [ebp - 0x134c]
movsd xmm0, qword [ebp - 0x134c]
movsx eax, word [ebp - 0x12d0]
cvtss2sd xmm1, dword [ebp + eax*4 - 0x12cc]
sub esp, 8
movsd qword [esp], xmm1
movsd qword [ebp - 0x1354], xmm0
call fcn.0042c1e3
add esp, 8
fstp qword [ebp - 0x135c]
movsd xmm0, qword [ebp - 0x1354]
comisd xmm0, xmmword [ebp - 0x135c]
jbe 0x40740e
movsx ecx, word [ebp - 0x12d0]
movss xmm0, dword [ebp + ecx*4 - 0x968]
movss dword [ebp - 0x12ec], xmm0
jmp 0x407426
movsx edx, word [ebp - 0x12d0]
movss xmm0, dword [ebp + edx*4 - 0x12cc]
movss dword [ebp - 0x12ec], xmm0
mov eax, dword [0x46ac90]
push eax
push 1
push 4
lea ecx, [ebp - 0x12ec]
push ecx
call fcn.0042bee8
add esp, 0x10
jmp 0x40735e
mov edx, dword [0x46ac90]
push edx
call fcn.0042b45f
add esp, 4
jmp 0x407462
push 0x4cc900
call fcn.00402310
add esp, 4
push 0x1a70
push 0x47be30
push 0x47a3c0
call fcn.00425eb0
add esp, 0xc
jmp 0x405d0d
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00424f84
mov esp, ebp
pop ebp
ret