Function at 0x613701
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x8b0
mov al, byte [esp + 0x8d8]
cmp al, 0x1f
ja 0x6145be
mov esi, edx
mov byte [esp + 4], al
mov eax, dword [esp + 0x8cc]
mov edx, dword [esp + 0x8c8]
mov ebx, ecx
lea ecx, [esp + 0x168]
mov dword [ecx], edx
mov dword [ecx + 4], eax
and dword [ecx + 8], 0
call fcn.0060e3bf
test ax, ax
je 0x6145be
mov ebp, dword [esp + 0x170]
lea ecx, [esp + 0x1ac]
mov edi, edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x10], esi
add ebp, 8
mov dword [esp + 0x170], ebp
call fcn.0061356f
test di, di
jle 0x6140df
mov eax, dword [esp + 0x168]
mov esi, dword [esp + 0x16c]
xor ebx, ebx
add eax, ebp
sub esi, ebp
cmovae ebx, eax
jb 0x6145be
lea ecx, [esp + 0x10c]
mov edx, edi
mov dword [ecx], ebx
mov dword [ecx + 4], esi
and dword [ecx + 8], 0
call fcn.0060e3db
test eax, eax
je 0x6145be
mov edi, edx
test edx, 0x1fffe
je 0x6145be
mov ebp, eax
mov eax, edi
mov edx, edi
shr eax, 1
mov ecx, ebp
dec eax
push eax
call fcn.006132ea
pop ecx
test ax, ax
je 0x6145be
inc dx
je 0x6145be
cmp dx, 1
jne 0x6144ea
mov ecx, str.dest_is_out_of_bounds
xor esi, esi
xor ebp, ebp
xor ebx, ebx
xor edi, edi
xor eax, eax
xor edx, edx
mov dword [esp + 0x1c], 0
mov dword [esp + 4], str.dest_is_out_of_bounds
mov dword [esp + 0xc], str.dest_is_out_of_bounds
mov dword [esp + 0x18], str.dest_is_out_of_bounds
shl edx, 0x10
movzx eax, ax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x14], esi
or eax, edx
mov edx, dword [esp + 4]
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x60], edi
movzx edx, word [esp + 0x8c4]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x6c], ebx
and dword [esp + 0x70], 0
and word [esp + 0x74], 0
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x18]
and dword [esp + 0x80], 0
and word [esp + 0x84], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], esi
and dword [esp + 0x90], 0
and word [esp + 0x94], 0
mov word [esp + 0x98], bp
lea eax, [esp + 0x1ac]
movsd xmm0, qword [esp + 0x5c]
movsd qword [esp + 0x1a0], xmm0
push eax
mov dword [esp + 0x24], ebp
push ebp
push dword [esp + 0x8dc]
push dword [esp + 0x8dc]
call fcn.006145cb
add esp, 0x10
test al, al
je 0x6145be
lea ecx, [esp + 0x14c]
lea edx, [esp + 0x5c]
call fcn.00614c8f
mov bl, byte [esp + 0x151]
cmp bl, 2
je 0x6144e3
mov eax, dword [esp + 0x1a8]
movsd xmm0, qword [esp + 0x1a0]
mov ecx, dword [esp + 0x14c]
mov bh, byte [esp + 0x150]
mov dword [esp + 0x15c], eax
mov eax, dword [esp + 0x68]
movsd qword [esp + 0x154], xmm0
movsd xmm0, qword [esp + 0x5c]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
movsd qword [esp + 0x18c], xmm0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x3c], eax
mov al, byte [esp + 0x74]
mov byte [esp + 0x38], al
mov al, byte [esp + 0x75]
mov byte [esp + 0x24], al
mov eax, dword [esp + 0x64]
mov dword [esp + 0x194], eax
movsx eax, cx
cvtsi2ss xmm0, eax
mov eax, ecx
shr ecx, 0x10
sar eax, 0x10
movss dword [esp + 4], xmm0
mov dword [esp + 0x19c], ecx
lea ecx, [esp + 0x1ac]
cvtsi2ss xmm0, eax
mov eax, dword [esp + 0x78]
movss dword [esp], xmm0
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x54], eax
movzx eax, word [esp + 0x84]
mov word [esp + 0x2e], ax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x48], eax
movzx eax, word [esp + 0x94]
mov word [esp + 0x2c], ax
movzx eax, word [esp + 0x98]
mov word [esp + 0x2a], ax
call fcn.00614db0
mov edi, eax
imul ebp, edx, 0x38
add edi, 0x10
test ebp, ebp
je 0x613e8a
cmp byte [edi + 0xb], 3
jne 0x613a73
lea edx, [edi + 0x10]
lea ecx, [esp + 0x9c]
call fcn.00614e06
movss xmm0, dword [0x646218]
cmp dword [esp + 0x9c], 0
movaps xmm1, xmm0
je 0x613e61
movss xmm0, dword [esp + 0xa0]
movss xmm1, dword [esp + 0xa4]
jmp 0x613e61
mov ecx, edi
lea esi, [edi - 0x10]
call fcn.00614dd3
test al, 1
jne 0x613c2f
mov eax, dword [esp + 0x194]
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
mov ecx, esi
lea edx, [esp + 0xf4]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x15c]
movsd qword [esp + 0xf4], xmm0
movsd xmm0, qword [esp + 0x18c]
movsd qword [esp + 0xfc], xmm1
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x10]
movsd qword [esp + 0x10c], xmm0
movsd xmm0, qword [esp + 0x154]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x40]
movsd qword [esp + 0x9c], xmm0
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x120], eax
mov al, byte [esp + 0x38]
mov byte [esp + 0x124], al
mov al, byte [esp + 0x24]
mov byte [esp + 0x125], al
mov eax, dword [esp + 0x34]
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x130], eax
movzx eax, word [esp + 0x2e]
mov word [esp + 0x134], ax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x138], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x140], eax
movzx eax, word [esp + 0x2c]
mov word [esp + 0x144], ax
movzx eax, word [esp + 0x2a]
mov word [esp + 0x148], ax
mov eax, dword [esp + 0xc]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x44]
and dword [esp + 0xb0], 0
and word [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x18]
and dword [esp + 0xc0], 0
and word [esp + 0xc4], 0
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x20]
and dword [esp + 0xd0], 0
and word [esp + 0xd4], 0
mov word [esp + 0xd8], ax
mov eax, dword [esp + 8]
mov dword [esp + 0x174], eax
mov byte [esp + 0x178], bh
mov byte [esp + 0x179], bl
lea eax, [esp + 0x174]
jmp 0x613e28
lea edx, [edi + 0x10]
lea ecx, [esp + 0x174]
call fcn.00614e06
cmp dword [esp + 0x174], 0
je 0x613c83
movss xmm0, dword [esp + 0x178]
movss xmm1, dword [esp + 0x17c]
mov eax, dword [esp + 8]
mov dword [edi - 0x10], 1
movss dword [edi - 0xc], xmm0
movss dword [edi - 8], xmm1
mov word [edi - 4], ax
mov eax, dword [esp + 0x19c]
mov word [edi - 2], ax
jmp 0x613e41
mov eax, dword [esp + 0x194]
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
mov ecx, esi
lea edx, [esp + 0xf4]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x15c]
movsd qword [esp + 0xf4], xmm0
movsd xmm0, qword [esp + 0x18c]
movsd qword [esp + 0xfc], xmm1
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x10]
movsd qword [esp + 0x10c], xmm0
movsd xmm0, qword [esp + 0x154]
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x40]
movsd qword [esp + 0x9c], xmm0
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x120], eax
mov al, byte [esp + 0x38]
mov byte [esp + 0x124], al
mov al, byte [esp + 0x24]
mov byte [esp + 0x125], al
mov eax, dword [esp + 0x34]
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x130], eax
movzx eax, word [esp + 0x2e]
mov word [esp + 0x134], ax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x138], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x140], eax
movzx eax, word [esp + 0x2c]
mov word [esp + 0x144], ax
movzx eax, word [esp + 0x2a]
mov word [esp + 0x148], ax
mov eax, dword [esp + 0xc]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x44]
and dword [esp + 0xb0], 0
and word [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x18]
and dword [esp + 0xc0], 0
and word [esp + 0xc4], 0
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x20]
and dword [esp + 0xd0], 0
and word [esp + 0xd4], 0
mov word [esp + 0xd8], ax
mov eax, dword [esp + 8]
mov dword [esp + 0x160], eax
lea eax, [esp + 0x160]
mov byte [esp + 0x164], bh
mov byte [esp + 0x165], bl
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x114]
push eax
call fcn.00614e5e
add esp, 0xc
test bl, bl
je 0x613e61
and dword [edi - 0x10], 0
movsd xmm2, qword [esp + 0x9c]
movsd qword [edi - 0xc], xmm2
mov eax, dword [esp + 0xa4]
mov dword [edi - 4], eax
movss xmm2, dword [esp + 4]
add edi, 0x38
add ebp, 0xffffffc8
addss xmm2, xmm0
movss dword [esp + 4], xmm2
movss xmm2, dword [esp]
addss xmm2, xmm1
movss dword [esp], xmm2
jmp 0x613a26
mov esi, dword [esp + 0x8dc]
cmp dword [esi], 0
je 0x613f01
cmp dword [esi + 0x18], 0
je 0x613f6d
movss xmm0, dword [esi + 0x1c]
movss xmm1, dword [esi + 0x20]
test bh, 1
jne 0x613f90
movss xmm3, dword [esp + 4]
movss xmm4, dword [esp]
movss xmm2, dword [0x6460f0]
mov dword [esi + 0x18], 1
movss dword [esi + 0x1c], xmm3
subss xmm3, xmm0
movss dword [esi + 0x20], xmm4
subss xmm4, xmm1
mulss xmm3, xmm2
mulss xmm4, xmm2
addss xmm3, xmm0
addss xmm4, xmm1
sub esp, 4
movss dword [esp], xmm4
mov ecx, esi
movaps xmm2, xmm3
jmp 0x613faa
test bh, 1
jne 0x613fb2
cmp dword [esi + 0xc], 0
je 0x613fea
movss xmm4, dword [esp + 4]
movss xmm1, dword [esi + 0x10]
movss xmm3, dword [0x6460f0]
movss xmm5, dword [esp]
movss xmm2, dword [esi + 0x14]
xor eax, eax
inc eax
mov dword [esi], eax
movaps xmm0, xmm4
subss xmm0, xmm1
mulss xmm0, xmm3
addss xmm0, xmm1
movaps xmm1, xmm5
subss xmm1, xmm2
movss dword [esi + 4], xmm0
mulss xmm1, xmm3
addss xmm1, xmm2
movss dword [esi + 8], xmm1
mov dword [esi + 0x18], eax
movss dword [esi + 0x1c], xmm4
movss dword [esi + 0x20], xmm5
jmp 0x613fcd
test bh, 1
jne 0x613fd6
movss xmm0, dword [esp + 4]
movss xmm1, dword [esp]
mov dword [esi + 0x18], 1
movss dword [esi + 0x1c], xmm0
movss dword [esi + 0x20], xmm1
jmp 0x614006
and dword [esi + 0x18], 0
sub esp, 4
movss xmm2, dword [esp + 4]
mov ecx, esi
movss dword [esp], xmm2
movss xmm2, dword [esp + 8]
call fcn.004298f7
pop eax
jmp 0x614006
movss xmm0, dword [esp + 4]
movss xmm1, dword [esp]
mov dword [esi], 1
movss dword [esi + 4], xmm0
movss dword [esi + 8], xmm1
mov ecx, esi
call fcn.00429881
jmp 0x614006
movss xmm0, dword [esp + 4]
movss xmm1, dword [esp]
mov ecx, esi
call fcn.004299d9
jmp 0x614006
movss xmm0, dword [esp + 4]
movss xmm1, dword [esp]
mov dword [esi + 0xc], 1
movss dword [esi + 0x10], xmm0
movss dword [esi + 0x14], xmm1
test bl, 1
je 0x6138f6
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x614068
cmp dword [esi + 0x18], 1
jne 0x614068
movss xmm1, dword [esi + 0x20]
movss xmm3, dword [esi + 0x14]
movss xmm0, dword [esi + 0x1c]
movss xmm2, dword [esi + 0x10]
movss xmm4, dword [0x6460f0]
and dword [esi + 0x18], 0
subss xmm2, xmm0
subss xmm3, xmm1
mulss xmm2, xmm4
mulss xmm3, xmm4
addss xmm2, xmm0
addss xmm3, xmm1
sub esp, 4
mov ecx, esi
movss dword [esp], xmm3
call fcn.004298f7
pop eax
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
movss xmm2, dword [esi + 4]
movss xmm1, dword [esi + 8]
cmp ecx, 1
jne 0x61408a
cmp eax, 1
jne 0x61408a
movss xmm0, dword [esi + 0x10]
movss xmm3, dword [esi + 0x14]
jmp 0x61409f
cmp ecx, 1
jne 0x6140ce
cmp dword [esi + 0x18], 1
jne 0x6140ce
movss xmm0, dword [esi + 0x1c]
movss xmm3, dword [esi + 0x20]
sub esp, 4
movss dword [esp], xmm1
mov ecx, esi
movaps xmm1, xmm3
call fcn.004298f7
pop eax
and dword [esi], 0
and dword [esi + 0xc], 0
and dword [esi + 0x18], 0
mov eax, dword [esi + 0x28]
push dword [esi + 0x24]
call dword [eax + 0x1c]
add esp, 4
jmp 0x6138f6
cmp ecx, 1
jne 0x6140b2
mov ecx, esi
movaps xmm0, xmm2
call fcn.004299d9
jmp 0x6140b2
xor eax, eax
test di, di
jns 0x6145c0
mov edi, dword [esp + 0x168]
mov ecx, dword [esp + 0x16c]
add edi, ebp
sub ecx, ebp
mov ebp, dword [esp + 0x10]
cmovb edi, eax
jb 0x6145be
lea ebx, [esp + 0x10c]
xor esi, esi
mov dword [esp], ecx
mov dword [ebx], edi
mov dword [ebx + 4], ecx
and dword [ebx + 8], 0
lea ecx, [esp + 0x9c]
mov edx, ebx
call fcn.00615196
cmp dword [esp + 0x9c], 0
je 0x614139
inc esi
jmp 0x61411e
movzx edx, word [esp + 0x8c4]
mov ecx, ebp
lea eax, [esp + 0x1ac]
push eax
push esi
push dword [esp + 0x8dc]
push dword [esp + 0x8dc]
call fcn.006145cb
add esp, 0x10
mov ecx, dword [esp]
test al, al
je 0x6145be
mov edx, dword [esp + 0x8dc]
lea eax, [esp + 0x154]
inc byte [esp + 4]
mov dword [eax], edi
mov dword [eax + 4], ecx
and dword [eax + 8], 0
lea ecx, [edx + 0x2c]
lea ebp, [edx + 0x44]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], ebp
lea ecx, [esp + 0x10c]
lea edx, [esp + 0x154]
call fcn.00615196
cmp dword [esp + 0x10c], 0
je 0x6144e3
lea eax, [esp + 0x110]
lea ecx, [esp + 0x1ac]
movsd xmm0, qword [eax + 0x10]
movsd xmm2, qword [eax]
movsd xmm1, qword [eax + 8]
movzx eax, word [esp + 0x128]
mov dword [esp + 0x3c], eax
movzx eax, word [esp + 0x12a]
movsd qword [esp + 0x184], xmm0
movsd qword [esp + 0x17c], xmm1
movsd qword [esp + 0x174], xmm2
mov dword [esp + 0x38], eax
call fcn.00614db0
imul ebp, edx, 0x38
xorps xmm0, xmm0
mov ebx, eax
add ebp, eax
movss dword [esp], xmm0
movss dword [esp + 8], xmm0
lea esi, [ebx - 0x18]
xor ecx, ecx
mov edi, ecx
lea ecx, [esi + 0x18]
cmp ecx, ebp
je 0x6142bc
cmp byte [ecx + 0x1b], 3
je 0x614253
add ecx, 0x10
call fcn.00614dd3
add esi, 0x38
lea ecx, [edi - 0x38]
test al, 1
je 0x614225
mov edx, ebx
sub edx, ecx
add edx, 0xffffffe8
jmp 0x61425a
mov edx, ebx
sub edx, edi
add edx, 0x20
lea ecx, [esp + 0x9c]
call fcn.00614e06
cmp dword [esp + 0x9c], 0
movss xmm0, dword [0x646218]
je 0x614281
movss xmm0, dword [esp + 0xa4]
movss xmm1, dword [0x646218]
je 0x614294
movss xmm1, dword [esp + 0xa0]
movss xmm2, dword [esp]
sub ebx, edi
add ebx, 0x38
addss xmm2, xmm0
movss dword [esp], xmm2
movss xmm2, dword [esp + 8]
addss xmm2, xmm1
movss dword [esp + 8], xmm2
jmp 0x614220
mov eax, dword [esp + 0x24]
test byte [esp + 0x38], 2
lea edi, [esp + 0x9c]
lea esi, [esp + 0x5c]
movsd xmm0, qword [eax + 0x10]
movsd xmm2, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x104], xmm0
movsd qword [esp + 0xfc], xmm1
movsd qword [esp + 0xf4], xmm2
je 0x61436f
mov eax, dword [esp + 0x24]
movss xmm2, dword [esp + 8]
lea ecx, [esp + 0xf4]
mov edx, esi
movsd xmm1, qword [eax + 8]
movsd xmm0, qword [eax + 0x10]
movsd xmm3, qword [eax]
mov eax, 0x3f800000
mov dword [esp + 0x9c], eax
and dword [esp + 0xa0], 0
and dword [esp + 0xa4], 0
mov dword [esp + 0xa8], eax
movss dword [esp + 0xac], xmm2
movsd qword [esp + 0x64], xmm1
movss xmm1, dword [esp]
movsd qword [esp + 0x6c], xmm0
movsd qword [esp + 0x5c], xmm3
movss dword [esp + 0xb0], xmm1
push edi
call fcn.006153f3
pop eax
movsd xmm1, qword [esp + 0xfc]
movsd xmm2, qword [esp + 0xf4]
movsd xmm0, qword [esp + 0x104]
mov edx, esi
lea ecx, [esp + 0xf4]
movsd qword [esp + 0x64], xmm1
movsd xmm1, qword [esp + 0x184]
movsd qword [esp + 0x5c], xmm2
movsd xmm2, qword [esp + 0x174]
movsd qword [esp + 0x6c], xmm0
movsd qword [esp + 0xac], xmm1
movsd xmm1, qword [esp + 0x17c]
movsd qword [esp + 0x9c], xmm2
movsd qword [esp + 0xa4], xmm1
push edi
call fcn.006153f3
pop eax
movsd xmm1, qword [esp + 0xfc]
mov ebp, dword [esp + 0x34]
movsd xmm0, qword [esp + 0x104]
movsd xmm3, qword [esp + 0xf4]
mov eax, dword [esp + 0x8dc]
mov edx, esi
mov ecx, edi
movsd qword [esp + 0x64], xmm1
movsd xmm2, qword [ebp]
movsd xmm1, qword [ebp + 8]
movsd qword [esp + 0x6c], xmm0
movsd qword [esp + 0x5c], xmm3
movsd qword [esp + 0x194], xmm1
movsd qword [esp + 0x18c], xmm2
push dword [eax + 0x28]
push dword [eax + 0x24]
lea eax, [esp + 0x194]
push eax
call fcn.00428b7b
add esp, 0xc
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov ecx, esi
mov edx, edi
call fcn.0061365c
mov ebx, edx
mov edx, dword [esp + 0x10]
test eax, eax
je 0x6145be
mov ecx, dword [esi + 0x10]
movsd xmm0, qword [esi]
movsd xmm1, qword [esi + 8]
lea esi, [esp + 0x9c]
mov dword [esp + 0x6c], ecx
movzx ecx, byte [esp + 4]
movsd qword [esp + 0x64], xmm1
movsd qword [esp + 0x5c], xmm0
mov dword [esp], ecx
lea ecx, [esp + 0x5c]
push esi
push dword [esp + 4]
push dword [esp + 0x8dc]
push dword [esp + 0x8dc]
push ebx
push eax
push edi
call fcn.00613701
add esp, 0x1c
test al, al
je 0x6145be
lea eax, [esp + 0xe0]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [ebp + 8], xmm1
movsd qword [ebp], xmm0
jmp 0x614196
mov al, 1
jmp 0x6145c0
lea ecx, [esp + 0x10c]
mov dword [esp + 0x20], edx
call fcn.0060e3bf
mov ecx, dword [esp + 0x20]
test ax, ax
je 0x6145be
movzx eax, dx
lea edx, [esp + 0x10c]
add eax, dword [edx + 8]
mov dword [esp + 0xc], eax
mov dword [edx + 8], eax
mov eax, ecx
lea ecx, [esp + 0x9c]
push eax
call fcn.00612df0
pop eax
lea eax, [esp + 0x9c]
cmp dword [eax], 0
je 0x6145be
mov eax, dword [esp + 0xa0]
mov ecx, ebp
mov ebp, dword [esp + 0x114]
mov edx, edi
mov dword [esp + 4], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x14], eax
push 0
call fcn.006132ea
pop ecx
test ax, ax
je 0x6145be
mov eax, ebp
sub eax, dword [esp + 0xc]
jb 0x6145be
mov ecx, ebp
cmp ebp, esi
ja 0x6145be
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
lea ebp, [ecx + eax]
cmp ebp, ecx
jb 0x6145be
cmp ebp, esi
ja 0x6145be
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ebp
add eax, ebp
cmp eax, ebp
jb 0x6145be
cmp eax, esi
ja 0x6145be
add dword [esp + 0xc], ebx
add ecx, ebx
add dword [esp + 0x18], ebx
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x30]
xor eax, eax
inc eax
jmp 0x613826
xor eax, eax
add esp, 0x8b0
pop esi
pop edi
pop ebx
pop ebp
ret