Function at 0x404e30
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x132c
call fcn.00420ab0
mov eax, dword [0x47b040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xorps xmm0, xmm0
movsd qword [ebp - 0x1300], xmm0
xorps xmm0, xmm0
movsd qword [ebp - 0x12f8], xmm0
push str.MinMaxOf_UZ
call fcn.004022a0
add esp, 4
mov dword [0x4ae458], 0x1069
mov eax, 1
mov word [ebp - 0x12e0], ax
jmp 0x404e95
mov cx, word [ebp - 0x12e0]
add cx, 1
mov word [ebp - 0x12e0], cx
movsx edx, word [ebp - 0x12e0]
movsx eax, word [0x4b1982]
cmp edx, eax
jg 0x406196
push 0x4fecf8
movsx ecx, word [0x4b1c54]
push ecx
movsx edx, word [ebp - 0x12e0]
push edx
push str.ULDS
push 0x4feee8
push str._s_s_d_d_s
push 0x4feb08
call fcn.00401f10
add esp, 0x1c
push 0x46f52c
push 0x4feb08
call fcn.0044745b
add esp, 8
mov dword [0x49ead0], eax
cmp dword [0x49ead0], 0
je 0x404f17
mov eax, dword [0x49ead0]
push eax
call fcn.0044716d
add esp, 4
push 0x4feb08
call fcn.004482ce
add esp, 4
push 0x4fecf8
movsx ecx, word [0x4b1c58]
push ecx
movsx edx, word [ebp - 0x12e0]
push edx
push str.ULDS
push 0x4feee8
push str._s_s_d_d_s
push 0x4feb08
call fcn.00401f10
add esp, 0x1c
push 0x46f52c
push 0x4feb08
call fcn.0044745b
add esp, 8
mov dword [0x49ead0], eax
cmp dword [0x49ead0], 0
je 0x404f83
mov eax, dword [0x49ead0]
push eax
call fcn.0044716d
add esp, 4
push 0x4feb08
call fcn.004482ce
add esp, 4
xor ecx, ecx
mov word [ebp - 0x12f0], cx
mov edx, 1
mov word [ebp - 0x12e8], dx
jmp 0x404fac
mov ax, word [ebp - 0x12e8]
add ax, 1
mov word [ebp - 0x12e8], ax
movsx ecx, word [ebp - 0x12e8]
movsx edx, word [ebp - 0x12e0]
shl edx, 9
movsx eax, word [edx + 0x49f1d6]
cmp ecx, eax
jg 0x404ff5
movsx ecx, word [ebp - 0x12e0]
shl ecx, 9
movsx edx, word [ebp - 0x12e8]
movsx eax, word [ecx + edx*2 + 0x49f02a]
movsx ecx, word [ebp - 0x12f0]
lea edx, [ecx + eax + 1]
mov word [ebp - 0x12f0], dx
jmp 0x404f9a
mov ax, word [ebp - 0x12f0]
mov word [ebp - 0x12ec], ax
xor ecx, ecx
mov word [0x4ae45c], cx
mov byte [0x47c328], 0
mov byte [0x47c329], 0
mov byte [0x47c32a], 0
mov byte [0x47c32b], 0
movsx edx, word [ebp - 0x12ec]
movsx eax, word [0x4ae45c]
sub edx, eax
mov word [0x4b1c4c], dx
movsx ecx, word [0x4b1c4c]
movsx edx, word [0x4b1c7c]
sub edx, 1
cmp ecx, edx
jle 0x405064
movsx eax, word [0x4b1c7c]
sub eax, 1
mov word [0x4b1c4c], ax
mov cx, word [0x4ae45c]
mov word [0x49bdb4], cx
mov edx, 1
mov word [ebp - 0x12d4], dx
jmp 0x405092
mov ax, word [ebp - 0x12d4]
add ax, 1
mov word [ebp - 0x12d4], ax
movsx ecx, word [ebp - 0x12d4]
movsx edx, word [0x4b1c6c]
cmp ecx, edx
jg 0x40523b
push 0x4fecf8
movsx eax, word [ebp - 0x12d4]
movsx ecx, word [eax*2 + 0x4ae200]
push ecx
movsx edx, word [ebp - 0x12e0]
push edx
push 0x46f5e4
push 0x4feee8
push str._s_s_i0_d_s
push 0x4feb08
call fcn.00401f10
add esp, 0x1c
push 0x4feb08
call fcn.00402340
add esp, 4
push 0x46f52c
push 0x4feb08
call fcn.0044745b
add esp, 8
mov dword [0x49ead0], eax
cmp dword [0x49ead0], 0
je 0x4051ac
push 0
movsx eax, word [0x4ae45c]
shl eax, 2
push eax
mov ecx, dword [0x49ead0]
push ecx
call fcn.00447c27
add esp, 0xc
mov edx, 1
mov word [ebp - 0x12d0], dx
jmp 0x40514e
mov ax, word [ebp - 0x12d0]
add ax, 1
mov word [ebp - 0x12d0], ax
movsx ecx, word [ebp - 0x12d0]
movsx edx, word [0x4b1c4c]
cmp ecx, edx
jg 0x40519d
mov eax, dword [0x49ead0]
push eax
push 1
push 4
lea ecx, [ebp - 0x1324]
push ecx
call fcn.0044770d
add esp, 0x10
cvtss2sd xmm0, dword [ebp - 0x1324]
movsx edx, word [ebp - 0x12d4]
movsx eax, word [ebp - 0x12d0]
mov ecx, dword [edx*4 + 0x47e050]
movsd qword [ecx + eax*8], xmm0
jmp 0x40513c
mov edx, dword [0x49ead0]
push edx
call fcn.0044716d
add esp, 4
movsx eax, word [ebp - 0x12d4]
movzx ecx, byte [eax + 0x47c330]
test ecx, ecx
jne 0x405236
mov edx, 1
mov word [ebp - 0x12d0], dx
jmp 0x4051de
mov ax, word [ebp - 0x12d0]
add ax, 1
mov word [ebp - 0x12d0], ax
movsx ecx, word [ebp - 0x12d0]
movsx edx, word [0x4b1c4c]
cmp ecx, edx
jg 0x405236
movsx eax, word [ebp - 0x12d4]
movsx ecx, word [ebp - 0x12d0]
mov edx, dword [eax*4 + 0x47e050]
movsx eax, word [ebp - 0x12d4]
cvtss2sd xmm0, dword [eax*4 + 0x4aef74]
mulsd xmm0, qword [edx + ecx*8]
movsx ecx, word [ebp - 0x12d4]
movsx edx, word [ebp - 0x12d0]
mov eax, dword [ecx*4 + 0x47e050]
movsd qword [eax + edx*8], xmm0
jmp 0x4051cc
jmp 0x405080
mov ecx, 1
mov word [ebp - 0x12d4], cx
jmp 0x40525b
mov dx, word [ebp - 0x12d4]
add dx, 1
mov word [ebp - 0x12d4], dx
movsx eax, word [ebp - 0x12d4]
movsx ecx, word [0x4b1c5c]
cmp eax, ecx
jg 0x4053fd
xor edx, edx
mov word [ebp - 0x12e4], dx
mov eax, 1
mov word [ebp - 0x12dc], ax
jmp 0x40529a
mov cx, word [ebp - 0x12dc]
add cx, 1
mov word [ebp - 0x12dc], cx
movsx edx, word [ebp - 0x12dc]
movsx eax, word [0x4b1c6c]
cmp edx, eax
jg 0x4053f8
movsx ecx, word [ebp - 0x12dc]
movsx edx, byte [ecx + 0x4ae590]
cmp edx, 0x47
jne 0x4053f3
movsx eax, word [ebp - 0x12dc]
movsx ecx, word [eax*2 + 0x4aea38]
movsx edx, word [ebp - 0x12d4]
cmp ecx, edx
jne 0x4053f3
movsx eax, word [ebp - 0x12e4]
test eax, eax
jne 0x40534d
mov cx, word [ebp - 0x12dc]
mov word [ebp - 0x12e4], cx
movsx edx, word [ebp - 0x12dc]
movsx eax, byte [edx + 0x4ae466]
cmp eax, 0x41
jne 0x40532f
movsx ecx, word [ebp - 0x12dc]
mov byte [ecx + 0x4ae590], 0x41
movsx edx, word [ebp - 0x12dc]
mov byte [edx + 0x4ae90e], 0x54
jmp 0x40533d
movsx eax, word [ebp - 0x12dc]
mov byte [eax + 0x4ae590], 0x51
movsx ecx, word [ebp - 0x12e4]
mov byte [ecx + 0x4af938], 1
jmp 0x40535b
movsx edx, word [ebp - 0x12dc]
mov byte [edx + 0x4af938], 0
movsx eax, word [ebp - 0x12dc]
movsx ecx, word [ebp - 0x12e4]
cmp eax, ecx
je 0x4053f3
mov edx, 1
mov word [ebp - 0x12d0], dx
jmp 0x405391
mov ax, word [ebp - 0x12d0]
add ax, 1
mov word [ebp - 0x12d0], ax
movsx ecx, word [ebp - 0x12d0]
movsx edx, word [0x4b1c4c]
cmp ecx, edx
jg 0x4053f3
movsx eax, word [ebp - 0x12e4]
movsx ecx, word [ebp - 0x12d0]
mov edx, dword [eax*4 + 0x47e050]
movsx eax, word [ebp - 0x12dc]
movsx esi, word [ebp - 0x12d0]
mov eax, dword [eax*4 + 0x47e050]
movsd xmm0, qword [edx + ecx*8]
addsd xmm0, qword [eax + esi*8]
movsx ecx, word [ebp - 0x12e4]
movsx edx, word [ebp - 0x12d0]
mov eax, dword [ecx*4 + 0x47e050]
movsd qword [eax + edx*8], xmm0
jmp 0x40537f
jmp 0x405288
jmp 0x405249
mov ecx, 1
mov word [ebp - 0x12d4], cx
jmp 0x40541d
mov dx, word [ebp - 0x12d4]
add dx, 1
mov word [ebp - 0x12d4], dx
movsx eax, word [ebp - 0x12d4]
movsx ecx, word [0x4b1c6c]
cmp eax, ecx
jg 0x4054ee
movsx edx, word [ebp - 0x12d4]
movsx eax, byte [edx + 0x4ae90e]
cmp eax, 0x54
jne 0x4054e9
mov ecx, 1
mov word [ebp - 0x12d0], cx
jmp 0x40546a
mov dx, word [ebp - 0x12d0]
add dx, 1
mov word [ebp - 0x12d0], dx
movsx eax, word [ebp - 0x12d0]
movsx ecx, word [0x4b1c4c]
cmp eax, ecx
jg 0x4054e7
movsx edx, word [ebp - 0x12d4]
movsx eax, word [ebp - 0x12d0]
mov ecx, dword [edx*4 + 0x47e050]
cvtsd2ss xmm0, qword [ecx + eax*8]
movsx edx, word [0x49bdb4]
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 + 0x47e050]
cvtsd2ss xmm0, qword [eax + edx*8]
movsx ecx, word [0x49bdb4]
movsx edx, word [ebp - 0x12d0]
add ecx, edx
movss dword [ebp + ecx*4 - 0x968], xmm0
jmp 0x405458
jmp 0x4054ee
jmp 0x40540b
mov eax, 1
mov word [ebp - 0x12d4], ax
jmp 0x40550e
mov cx, word [ebp - 0x12d4]
add cx, 1
mov word [ebp - 0x12d4], cx
movsx edx, word [ebp - 0x12d4]
movsx eax, word [0x4b1c6c]
cmp edx, eax
jg 0x405629
movsx ecx, word [ebp - 0x12d4]
movsx edx, byte [ecx + 0x4ae90e]
cmp edx, 0x54
jne 0x405624
mov eax, 1
mov word [ebp - 0x12d0], ax
jmp 0x40555b
mov cx, word [ebp - 0x12d0]
add cx, 1
mov word [ebp - 0x12d0], cx
movsx edx, word [ebp - 0x12d0]
movsx eax, word [0x4b1c4c]
cmp edx, eax
jg 0x405624
movsx ecx, word [ebp - 0x12d4]
movsx edx, word [ebp - 0x12d0]
mov eax, dword [ecx*4 + 0x47e050]
movsd xmm0, qword [eax + edx*8]
movsd qword [0x47dcf0], xmm0
movsx ecx, word [0x49bdb4]
movsx edx, word [ebp - 0x12d0]
add ecx, edx
cvtss2sd xmm0, dword [ebp + ecx*4 - 0x968]
movsd xmm1, qword [0x47dcf0]
comisd xmm1, xmm0
jbe 0x4055db
cvtsd2ss xmm0, qword [0x47dcf0]
movsx eax, word [0x49bdb4]
movsx ecx, word [ebp - 0x12d0]
add eax, ecx
movss dword [ebp + eax*4 - 0x968], xmm0
movsx edx, word [0x49bdb4]
movsx eax, word [ebp - 0x12d0]
add edx, eax
cvtss2sd xmm0, dword [ebp + edx*4 - 0x12cc]
comisd xmm0, xmmword [0x47dcf0]
jbe 0x40561f
cvtsd2ss xmm0, qword [0x47dcf0]
movsx ecx, word [0x49bdb4]
movsx edx, word [ebp - 0x12d0]
add ecx, edx
movss dword [ebp + ecx*4 - 0x12cc], xmm0
jmp 0x405549
jmp 0x4054fc
mov eax, 1
mov word [ebp - 0x12d4], ax
jmp 0x405649
mov cx, word [ebp - 0x12d4]
add cx, 1
mov word [ebp - 0x12d4], cx
movsx edx, word [ebp - 0x12d4]
movsx eax, word [0x4b1c6c]
cmp edx, eax
jg 0x4057c9
movsx ecx, word [ebp - 0x12d4]
movsx edx, byte [ecx + 0x4ae90e]
cmp edx, 0x54
jne 0x405714
movzx eax, byte [0x47c32b]
test eax, eax
jne 0x405714
mov ecx, 1
mov word [ebp - 0x12d0], cx
jmp 0x4056a5
mov dx, word [ebp - 0x12d0]
add dx, 1
mov word [ebp - 0x12d0], dx
movsx eax, word [ebp - 0x12d0]
movsx ecx, word [0x4b1c4c]
cmp eax, ecx
jg 0x4056ec
movsx edx, word [0x49bdb4]
movsx eax, word [ebp - 0x12d0]
add edx, eax
cvtss2sd xmm0, dword [ebp + edx*4 - 0x968]
movsx ecx, word [ebp - 0x12d4]
movsx edx, word [ebp - 0x12d0]
mov eax, dword [ecx*4 + 0x47e050]
movsd qword [eax + edx*8], xmm0
jmp 0x405693
mov byte [0x47c32b], 1
movsx ecx, word [ebp - 0x12d4]
mov byte [ecx + 0x4ae590], 0x58
movsx edx, word [ebp - 0x12d4]
mov byte [edx + 0x4af938], 1
jmp 0x405637
movsx eax, word [ebp - 0x12d4]
movsx ecx, byte [eax + 0x4ae90e]
cmp ecx, 0x54
jne 0x4057c4
movzx edx, byte [0x47c32a]
test edx, edx
jne 0x4057c4
mov eax, 1
mov word [ebp - 0x12d0], ax
jmp 0x40575a
mov cx, word [ebp - 0x12d0]
add cx, 1
mov word [ebp - 0x12d0], cx
movsx edx, word [ebp - 0x12d0]
movsx eax, word [0x4b1c4c]
cmp edx, eax
jg 0x4057a1
movsx ecx, word [0x49bdb4]
movsx edx, word [ebp - 0x12d0]
add ecx, edx
cvtss2sd xmm0, dword [ebp + ecx*4 - 0x12cc]
movsx eax, word [ebp - 0x12d4]
movsx ecx, word [ebp - 0x12d0]
mov edx, dword [eax*4 + 0x47e050]
movsd qword [edx + ecx*8], xmm0
jmp 0x405748
mov byte [0x47c32a], 1
movsx eax, word [ebp - 0x12d4]
mov byte [eax + 0x4ae590], 0x4d
movsx ecx, word [ebp - 0x12d4]
mov byte [ecx + 0x4af938], 1
jmp 0x405637
movsx edx, word [0x4b1c6c]
push edx
call fcn.004023d0
add esp, 4
mov eax, 1
mov word [ebp - 0x12d0], ax
jmp 0x4057f9
mov cx, word [ebp - 0x12d0]
add cx, 1
mov word [ebp - 0x12d0], cx
movsx edx, word [ebp - 0x12d0]
movsx eax, word [0x4b1c4c]
cmp edx, eax
jg 0x405845
movsx ecx, word [0x49bdb4]
movsx edx, word [ebp - 0x12d0]
add ecx, edx
xorps xmm0, xmm0
movss dword [ebp + ecx*4 - 0x12cc], xmm0
movsx eax, word [0x49bdb4]
movsx ecx, word [ebp - 0x12d0]
add eax, ecx
xorps xmm0, xmm0
movss dword [ebp + eax*4 - 0x968], xmm0
jmp 0x4057e7
mov dword [ebp - 0x131c], 0
call fcn.00401260
mov edx, 1
mov word [ebp - 0x12d4], dx
jmp 0x405874
mov ax, word [ebp - 0x12d4]
add ax, 1
mov word [ebp - 0x12d4], ax
movsx ecx, word [ebp - 0x12d4]
movsx edx, word [0x4b1c6c]
cmp ecx, edx
jg 0x405acf
movsx eax, word [ebp - 0x12d4]
movsx ecx, word [eax*2 + 0x4aec8c]
cmp ecx, 1
je 0x4058b6
movsx edx, word [ebp - 0x12d4]
movsx eax, word [edx*2 + 0x4aec8c]
cmp eax, 0xc
jne 0x405aca
mov ecx, 1
mov word [ebp - 0x12d0], cx
jmp 0x4058d6
mov dx, word [ebp - 0x12d0]
add dx, 1
mov word [ebp - 0x12d0], dx
movsx eax, word [ebp - 0x12d0]
movsx ecx, word [0x4b1c4c]
cmp eax, ecx
jg 0x405aca
movsx edx, word [ebp - 0x12d4]
movsx eax, word [ebp - 0x12d0]
mov ecx, dword [edx*4 + 0x47e050]
movsx edx, word [ebp - 0x12d4]
cvtss2sd xmm0, dword [edx*4 + 0x4af168]
mulsd xmm0, qword [ecx + eax*8]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x1304], xmm0
movsx eax, word [ebp - 0x12d4]
movsx ecx, word [ebp - 0x12d0]
mov edx, dword [eax*4 + 0x47e050]
movsx eax, word [ebp - 0x12d4]
cvtss2sd xmm0, dword [eax*4 + 0x4af2f8]
mulsd xmm0, qword [edx + ecx*8]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x1308], xmm0
movss xmm0, dword [ebp - 0x1308]
comiss xmm0, dword [ebp - 0x1304]
jbe 0x40597b
movss xmm0, dword [ebp - 0x1304]
movss dword [ebp - 0x130c], xmm0
jmp 0x40598b
movss xmm0, dword [ebp - 0x1308]
movss dword [ebp - 0x130c], xmm0
movss xmm0, dword [ebp - 0x130c]
movss dword [ebp - 0x1314], xmm0
movss xmm0, dword [ebp - 0x1304]
comiss xmm0, dword [ebp - 0x1308]
jbe 0x4059be
movss xmm0, dword [ebp - 0x1304]
movss dword [ebp - 0x1310], xmm0
jmp 0x4059ce
movss xmm0, dword [ebp - 0x1308]
movss dword [ebp - 0x1310], xmm0
movss xmm0, dword [ebp - 0x1310]
movss dword [ebp - 0x1318], xmm0
movsx ecx, word [ebp - 0x12d4]
movsx edx, byte [ecx + 0x4ae90e]
cmp edx, 0x57
je 0x405a67
movsx eax, word [0x49bdb4]
movsx ecx, word [ebp - 0x12d0]
add eax, ecx
movss xmm0, dword [ebp + eax*4 - 0x12cc]
addss xmm0, dword [ebp - 0x1314]
movsx edx, word [ebp - 0x12d0]
movsx eax, word [0x49bdb4]
add eax, edx
movss dword [ebp + eax*4 - 0x12cc], xmm0
movsx ecx, word [0x49bdb4]
movsx edx, word [ebp - 0x12d0]
add ecx, edx
movss xmm0, dword [ebp + ecx*4 - 0x968]
addss xmm0, dword [ebp - 0x1318]
movsx eax, word [ebp - 0x12d0]
movsx ecx, word [0x49bdb4]
add ecx, eax
movss dword [ebp + ecx*4 - 0x968], xmm0
jmp 0x405ac5
mov dword [ebp - 0x131c], 1
mov edx, 0x2c
shl edx, 0
movsx eax, word [ebp - 0x12d4]
movsx ecx, word [ebp - 0x12d0]
mov edx, dword [edx + eax*4 + 0x49ed40]
movss xmm0, dword [ebp - 0x1314]
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 + 0x49eea0]
movss xmm0, dword [ebp - 0x1318]
movss dword [eax + edx*4], xmm0
jmp 0x4058c4
jmp 0x405862
cmp dword [ebp - 0x131c], 1
jne 0x405bcf
mov ecx, 1
mov word [ebp - 0x12d0], cx
jmp 0x405afc
mov dx, word [ebp - 0x12d0]
add dx, 1
mov word [ebp - 0x12d0], dx
movsx eax, word [ebp - 0x12d0]
movsx ecx, word [0x4b1c4c]
cmp eax, ecx
jg 0x405bcf
movsx esi, word [0x49bdb4]
movsx edx, word [ebp - 0x12d0]
add esi, edx
movsx eax, word [ebp - 0x12d0]
push eax
movsx ecx, word [0x4b1c6c]
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 [0x49bdb4]
add eax, edx
movss dword [ebp + eax*4 - 0x12cc], xmm0
movsx esi, word [0x49bdb4]
movsx ecx, word [ebp - 0x12d0]
add esi, ecx
movsx edx, word [ebp - 0x12d0]
push edx
movsx eax, word [0x4b1c6c]
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 [0x49bdb4]
add edx, ecx
movss dword [ebp + edx*4 - 0x968], xmm0
jmp 0x405aea
mov eax, 1
mov word [ebp - 0x12d0], ax
jmp 0x405bef
mov cx, word [ebp - 0x12d0]
add cx, 1
mov word [ebp - 0x12d0], cx
movsx edx, word [ebp - 0x12d0]
movsx eax, word [0x4b1c4c]
cmp edx, eax
jg 0x405fbd
mov ecx, 1
mov word [ebp - 0x12d8], cx
jmp 0x405c25
mov dx, word [ebp - 0x12d8]
add dx, 1
mov word [ebp - 0x12d8], dx
movsx eax, word [ebp - 0x12d8]
movsx ecx, word [0x4ae464]
cmp eax, ecx
jg 0x405e5b
movsx edx, word [0x49bdb4]
movsx eax, word [ebp - 0x12d0]
add edx, eax
cvtss2sd xmm0, dword [ebp + edx*4 - 0x12cc]
movsd qword [ebp - 0x1300], xmm0
movsx ecx, word [0x49bdb4]
movsx edx, word [ebp - 0x12d0]
add ecx, edx
cvtss2sd xmm0, dword [ebp + ecx*4 - 0x968]
movsd qword [ebp - 0x12f8], xmm0
movsx eax, word [ebp - 0x12d8]
movsx ecx, word [eax*2 + 0x4aee80]
cmp ecx, 1
je 0x405ca5
movsx edx, word [ebp - 0x12d8]
movsx eax, word [edx*2 + 0x4aee80]
cmp eax, 0xc
jne 0x405caa
jmp 0x405c13
mov ecx, 1
mov word [ebp - 0x12d4], cx
jmp 0x405cca
mov dx, word [ebp - 0x12d4]
add dx, 1
mov word [ebp - 0x12d4], dx
movsx eax, word [ebp - 0x12d4]
movsx ecx, word [0x4b1c6c]
cmp eax, ecx
jg 0x405e26
movsx edx, word [ebp - 0x12d4]
movzx eax, byte [edx + 0x4af938]
cmp eax, 1
jne 0x405e21
movsx ecx, word [ebp - 0x12d4]
movsx edx, word [ecx*2 + 0x4aec8c]
movsx eax, word [ebp - 0x12d8]
movsx ecx, word [eax*2 + 0x4aee80]
cmp edx, ecx
jne 0x405d4d
movsx edx, word [ebp - 0x12d4]
movsx eax, word [ebp - 0x12d0]
mov ecx, dword [edx*4 + 0x47e050]
movsx edx, word [ebp - 0x12d4]
cvtss2sd xmm0, dword [edx*4 + 0x4af168]
mulsd xmm0, qword [ecx + eax*8]
movsd qword [0x47dcf0], xmm0
jmp 0x405d93
movsx eax, word [ebp - 0x12d4]
movsx ecx, word [ebp - 0x12d0]
mov edx, dword [eax*4 + 0x47e050]
movsx eax, word [ebp - 0x12d4]
cvtss2sd xmm0, dword [eax*4 + 0x4af168]
mulsd xmm0, qword [edx + ecx*8]
movsx ecx, word [ebp - 0x12d4]
cvtss2sd xmm1, dword [ecx*4 + 0x4af488]
mulsd xmm0, xmm1
movsd qword [0x47dcf0], xmm0
movsx edx, word [ebp - 0x12d4]
movsx eax, byte [edx + 0x4ae590]
cmp eax, 0x4d
je 0x405dd8
movsd xmm0, qword [ebp - 0x12f8]
addsd xmm0, qword [0x47dcf0]
comisd xmm0, xmmword [ebp - 0x12f8]
jbe 0x405dd8
movsd xmm0, qword [ebp - 0x12f8]
addsd xmm0, qword [0x47dcf0]
movsd qword [ebp - 0x12f8], xmm0
movsx ecx, word [ebp - 0x12d4]
movsx edx, byte [ecx + 0x4ae590]
cmp edx, 0x58
je 0x405e21
movsd xmm0, qword [ebp - 0x1300]
addsd xmm0, qword [0x47dcf0]
movsd xmm1, qword [ebp - 0x1300]
comisd xmm1, xmm0
jbe 0x405e21
movsd xmm0, qword [ebp - 0x1300]
addsd xmm0, qword [0x47dcf0]
movsd qword [ebp - 0x1300], xmm0
jmp 0x405cb8
movsx eax, word [ebp - 0x12d8]
movsd xmm0, qword [ebp - 0x1300]
movsd qword [eax*8 + 0x47dd10], xmm0
movsx ecx, word [ebp - 0x12d8]
movsd xmm0, qword [ebp - 0x12f8]
movsd qword [ecx*8 + 0x47ddb8], xmm0
jmp 0x405c13
mov dword [ebp - 0x1320], 0
mov edx, 1
mov word [ebp - 0x12d8], dx
jmp 0x405e85
mov ax, word [ebp - 0x12d8]
add ax, 1
mov word [ebp - 0x12d8], ax
movsx ecx, word [ebp - 0x12d8]
movsx edx, word [0x4ae464]
cmp ecx, edx
jg 0x405f76
movsx eax, word [ebp - 0x12d8]
movsx ecx, word [eax*2 + 0x4aee80]
cmp ecx, 1
je 0x405ec3
movsx edx, word [ebp - 0x12d8]
movsx eax, word [edx*2 + 0x4aee80]
cmp eax, 0xc
jne 0x405ec5
jmp 0x405e73
cmp dword [ebp - 0x1320], 0
jne 0x405f0d
movsx ecx, word [ebp - 0x12d8]
movsd xmm0, qword [ecx*8 + 0x47dd10]
movsd qword [ebp - 0x1300], xmm0
movsx edx, word [ebp - 0x12d8]
movsd xmm0, qword [edx*8 + 0x47ddb8]
movsd qword [ebp - 0x12f8], xmm0
mov dword [ebp - 0x1320], 1
jmp 0x405e73
movsx eax, word [ebp - 0x12d8]
movsd xmm0, qword [ebp - 0x1300]
comisd xmm0, xmmword [eax*8 + 0x47dd10]
jbe 0x405f3f
movsx ecx, word [ebp - 0x12d8]
movsd xmm0, qword [ecx*8 + 0x47dd10]
movsd qword [ebp - 0x1300], xmm0
movsx edx, word [ebp - 0x12d8]
movsd xmm0, qword [edx*8 + 0x47ddb8]
comisd xmm0, xmmword [ebp - 0x12f8]
jbe 0x405f71
movsx eax, word [ebp - 0x12d8]
movsd xmm0, qword [eax*8 + 0x47ddb8]
movsd qword [ebp - 0x12f8], xmm0
jmp 0x405e73
cvtsd2ss xmm0, qword [ebp - 0x12f8]
movsx ecx, word [0x49bdb4]
movsx edx, word [ebp - 0x12d0]
add ecx, edx
movss dword [ebp + ecx*4 - 0x968], xmm0
cvtsd2ss xmm0, qword [ebp - 0x1300]
movsx eax, word [0x49bdb4]
movsx ecx, word [ebp - 0x12d0]
add eax, ecx
movss dword [ebp + eax*4 - 0x12cc], xmm0
jmp 0x405bdd
movsx edx, word [0x4b1c4c]
movsx eax, word [0x4ae45c]
add eax, edx
mov word [0x4ae45c], ax
movsx ecx, word [ebp - 0x12ec]
movsx edx, word [0x4ae45c]
cmp ecx, edx
jle 0x406001
push 0x1a70
push 0x4afed0
push 0x4ae460
call fcn.00421c60
add esp, 0xc
jmp 0x40500c
push 0x4fecf8
movsx eax, word [0x4b1c54]
push eax
movsx ecx, word [ebp - 0x12e0]
push ecx
push str.ULDS
push 0x4feee8
push str._s_s_d_d_s
push 0x4feb08
call fcn.00401f10
add esp, 0x1c
push 0x46f5f4
push 0x4feb08
call fcn.0044745b
add esp, 8
mov dword [0x49ead0], eax
cmp dword [0x49ead0], 0
je 0x4060b5
mov edx, 1
mov word [ebp - 0x12d0], dx
jmp 0x406072
mov ax, word [ebp - 0x12d0]
add ax, 1
mov word [ebp - 0x12d0], ax
movsx ecx, word [ebp - 0x12d0]
movsx edx, word [ebp - 0x12ec]
cmp ecx, edx
jg 0x4060a7
mov eax, dword [0x49ead0]
push eax
push 1
push 4
movsx ecx, word [ebp - 0x12d0]
lea edx, [ebp + ecx*4 - 0x968]
push edx
call fcn.00447ff0
add esp, 0x10
jmp 0x406060
mov eax, dword [0x49ead0]
push eax
call fcn.0044716d
add esp, 4
push 0x4fecf8
movsx ecx, word [0x4b1c58]
push ecx
movsx edx, word [ebp - 0x12e0]
push edx
push str.ULDS
push 0x4feee8
push str._s_s_d_d_s
push 0x4feb08
call fcn.00401f10
add esp, 0x1c
push 0x46f5f4
push 0x4feb08
call fcn.0044745b
add esp, 8
mov dword [0x49ead0], eax
cmp dword [0x49ead0], 0
je 0x40616d
mov eax, 1
mov word [ebp - 0x12d0], ax
jmp 0x406126
mov cx, word [ebp - 0x12d0]
add cx, 1
mov word [ebp - 0x12d0], cx
movsx edx, word [ebp - 0x12d0]
movsx eax, word [ebp - 0x12ec]
cmp edx, eax
jg 0x40615c
mov ecx, dword [0x49ead0]
push ecx
push 1
push 4
movsx edx, word [ebp - 0x12d0]
lea eax, [ebp + edx*4 - 0x12cc]
push eax
call fcn.00447ff0
add esp, 0x10
jmp 0x406114
mov ecx, dword [0x49ead0]
push ecx
call fcn.0044716d
add esp, 4
jmp 0x40617a
push 0x4feb08
call fcn.004022e0
add esp, 4
push 0x1a70
push 0x4afed0
push 0x4ae460
call fcn.00421c60
add esp, 0xc
jmp 0x404e83
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420778
mov esp, ebp
pop ebp
ret