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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1019c5f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x1c0
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x44], esi
cmp dword [esi + 0x458], 0
jge 0x10061e20
test byte [esi + 4], 2
jne 0x10061e11
push 0x1b
push 0xd9
jmp 0x10061e15
push 2
push 2
call fcn.100619f0
mov dword [esi + 0x458], eax
cmp dword [esi + 0x45c], 0
jge 0x10061e40
test byte [esi + 4], 4
jne 0x10061e40
push 0x40
push 0x41
mov ecx, esi
call fcn.100619f0
mov dword [esi + 0x45c], eax
mov ecx, esi
mov dword [esi + 8], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.10060dd0
xor eax, eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], eax
xor edi, edi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x5c], edi
mov byte [ebp - 4], 1
lea edx, [eax + 8]
mov ecx, dword [esi + 0x4c]
mov dword [ebp - 0x40], ecx
test ecx, ecx
jle 0x10061f01
cmp ecx, edx
mov eax, ecx
cmovl eax, edx
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x10061f01
mov ecx, dword [0x102062d4]
test ecx, ecx
je 0x10061ed4
inc dword [ecx + 0x374]
push dword [0x102069e8]
imul eax, eax, 0xc4
push eax
call dword [0x101eaf50]
mov ecx, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 0x84], ecx
mov edx, 8
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x88], ecx
mov ecx, dword [esi + 0x34]
mov dword [ebp - 0x24], ecx
test ecx, ecx
jle 0x10061f57
cmp ecx, 8
mov eax, ecx
cmovl eax, edx
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x10061f57
mov ecx, dword [0x102062d4]
test ecx, ecx
je 0x10061f30
inc dword [ecx + 0x374]
push dword [0x102069e8]
lea eax, [eax + eax*2]
shl eax, 3
push eax
call dword [0x101eaf50]
mov ecx, dword [ebp - 0x24]
mov edi, eax
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], ecx
imul ecx, dword [ebp - 0x40], 0xc4
push ecx
push 0
push dword [ebp - 0x4c]
call fcn.101383d0
mov eax, dword [ebp - 0x24]
add esp, 0xc
lea eax, [eax + eax*2]
shl eax, 3
push eax
push 0
push edi
call fcn.101383d0
add esp, 0xc
mov dword [ebp - 0x38], 0
cmp dword [esi + 0x4c], 0
jle 0x1006218b
mov eax, dword [ebp - 0x4c]
xor edx, edx
add eax, 0xa4
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
nop word [eax + eax]
mov ecx, dword [esi + 0x54]
add ecx, edx
mov dword [eax - 4], 0xffffffff
xor edx, edx
mov dword [ebp - 0x34], ecx
cmp dword [esi + 0x34], edx
jle 0x100621e3
mov edi, dword [ebp - 0x44]
or esi, 0xffffffff
mov eax, esi
cmp esi, 0xffffffff
jne 0x10061ff7
mov eax, dword [ebp - 0x34]
or esi, esi
mov ecx, dword [edi + 0x3c]
mov eax, dword [eax + 0x74]
cmp eax, dword [ecx + edx*4]
jne 0x10061fef
mov eax, dword [ebp - 0x2c]
mov esi, edx
mov dword [eax - 4], edx
inc edx
mov eax, esi
cmp edx, dword [edi + 0x34]
jl 0x10061fd0
mov edi, dword [ebp - 0x48]
cmp eax, 0xffffffff
je 0x100621e3
mov eax, dword [ebp - 0x34]
mov esi, dword [eax]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x14], ecx
mov al, byte [esi]
cmp al, 0x31
jne 0x1006201a
cmp byte [esi + 1], 0
jmp 0x1006205f
cmp al, 0x74
jne 0x10062042
cmp byte [esi + 1], 0x79
jne 0x10062030
cmp byte [esi + 2], 0x70
jne 0x10062073
cmp byte [esi + 3], 0x31
jmp 0x1006206b
cmp byte [esi + 1], 0x72
jne 0x10062073
cmp byte [esi + 2], 0x75
jne 0x10062073
cmp byte [esi + 3], 0x65
jmp 0x1006206b
cmp al, 0x4f
jne 0x10062057
cmp byte [esi + 1], 0x54
jne 0x10062073
cmp byte [esi + 2], 0x54
jne 0x10062073
cmp byte [esi + 3], al
jmp 0x1006206b
test al, al
jne 0x10062073
cmp byte [esi + 1], 1
jne 0x10062073
cmp byte [esi + 2], 0
jne 0x10062073
cmp byte [esi + 3], 0
jne 0x10062073
neg ecx
sbb ecx, ecx
jmp 0x100620de
cmp al, 0x74
jne 0x100620db
cmp byte [esi + 1], al
jne 0x100620db
cmp byte [esi + 2], 0x63
jne 0x100620db
cmp byte [esi + 3], 0x66
jne 0x100620db
lea ecx, [esi + 4]
call fcn.10052ec0
cmp eax, 0x10000
je 0x100620a6
lea ecx, [esi + 4]
call fcn.10052ec0
cmp eax, 0x20000
jne 0x100620db
movzx eax, byte [esi + 8]
movzx ecx, byte [esi + 9]
shl eax, 8
add ecx, eax
movzx eax, byte [esi + 0xa]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 0xb]
shl ecx, 8
add ecx, eax
mov eax, dword [ebp - 0x14]
cmp eax, ecx
jge 0x100620db
add eax, 3
lea ecx, [esi + eax*4]
call fcn.10052ec0
mov ecx, eax
jmp 0x100620de
or ecx, 0xffffffff
mov eax, dword [ebp - 0x2c]
mov edx, esi
add eax, 0xffffff5c
push ecx
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.100532f0
add esp, 4
test eax, eax
je 0x100621e3
mov eax, dword [ebp - 0x14]
mov edx, 0x101c0d4c
mov esi, dword [ebp - 0x2c]
mov eax, dword [eax + 0xa0]
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x20], ecx
mov eax, dword [eax + 0x30]
test eax, eax
cmovne edx, eax
mov dword [esi - 8], edx
cmp word [edx], 0
je 0x1006214e
nop dword [eax]
movzx eax, word [edx + 2]
test ax, ax
je 0x1006214b
mov ecx, eax
cmp dword [esi], ecx
cmovge ecx, dword [esi]
add edx, 4
mov dword [esi], ecx
cmp word [edx], 0
jne 0x10062130
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x20]
inc dword [edi + ecx*8]
mov ecx, dword [esi]
mov eax, dword [ebp - 0x38]
cmp dword [edi + edx*8 + 4], ecx
cmovge ecx, dword [edi + edx*8 + 4]
add esi, 0xc4
mov dword [ebp - 0x2c], esi
inc eax
mov esi, dword [ebp - 0x44]
mov dword [edi + edx*8 + 4], ecx
mov edx, dword [ebp - 0x28]
add edx, 0x78
mov dword [ebp - 0x38], eax
cmp eax, dword [esi + 0x4c]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], edx
jl 0x10061fb0
mov eax, dword [ebp - 0x40]
xor esi, esi
mov dword [ebp - 0x2c], esi
test eax, eax
jle 0x100624ed
mov edx, dword [ebp - 0x4c]
add edx, 0xa8
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], edx
nop word [eax + eax]
mov eax, dword [edx - 8]
mov ecx, dword [edx - 4]
add ecx, 0x20
sar ecx, 5
lea esi, [eax + eax*2]
mov dword [ebp - 0x3c], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x14], eax
cmp ecx, eax
jle 0x10062216
test eax, eax
je 0x100621ec
cdq
sub eax, edx
mov edx, dword [ebp - 0x18]
sar eax, 1
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
jmp 0x100621f3
mov byte [ebp - 0x2d], 0
jmp 0x1006323d
mov dword [ebp - 0x20], 8
cmp dword [ebp - 0x20], ecx
lea eax, [edx + 4]
mov dword [ebp - 0x38], eax
mov eax, ecx
cmovg eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x38]
push eax
call fcn.10025250
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
jmp 0x10062219
lea eax, [edx + 4]
mov dword [eax], ecx
lea eax, [ecx*4]
push eax
push 0
push dword [edx + 0xc]
call fcn.101383d0
lea ecx, [esi*8 + 0xc]
add esp, 0xc
add ecx, edi
mov dword [ebp - 0x20], ecx
cmp dword [ecx], 0
jne 0x10062294
mov esi, dword [edi + esi*8 + 4]
mov eax, dword [ecx + 4]
add esi, 0x20
sar esi, 5
mov dword [ebp - 0x14], eax
cmp esi, eax
jle 0x1006227d
test eax, eax
je 0x10062265
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [ebp - 0x14]
jmp 0x1006226a
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, dword [ebp - 0x20]
push eax
call fcn.10025250
mov ecx, dword [ebp - 0x20]
lea eax, [esi*4]
mov dword [ecx], esi
push eax
push 0
push dword [ecx + 8]
call fcn.101383d0
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x1c], eax
cmp word [eax], 0
je 0x10062348
nop word [eax + eax]
movzx ecx, word [eax + 2]
test cx, cx
je 0x10062345
movzx edi, word [eax]
cmp edi, ecx
ja 0x10062332
mov eax, dword [ebp - 0x34]
mov ecx, edi
and ecx, 0x1f
mov edx, 1
shl edx, cl
mov esi, edi
mov ecx, dword [ebp - 0x48]
sar esi, 5
mov dword [ebp - 0x14], edx
mov eax, dword [ecx + eax*8 + 0x14]
test dword [eax + esi*4], edx
jne 0x10062323
mov ecx, dword [ebp - 0x18]
mov edx, edi
add ecx, 0xffffff58
call fcn.10053830
mov edx, dword [ebp - 0x18]
test eax, eax
je 0x10062326
inc dword [edx]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x48]
inc dword [ecx + eax*8 + 8]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x48]
or dword [eax + esi*4], ecx
mov eax, dword [ebp - 0x34]
mov eax, dword [edx + eax*8 + 0x14]
or dword [eax + esi*4], ecx
inc dword [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
inc edi
movzx eax, word [eax + 2]
cmp edi, eax
jbe 0x100622c4
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
cmp word [eax], 0
jne 0x100622b0
mov edi, dword [ebp - 0x48]
add edx, 0xc4
sub dword [ebp - 0x28], 1
mov dword [ebp - 0x18], edx
jne 0x100621b0
mov esi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x40]
add esi, 0xb8
mov dword [ebp - 0x1c], eax
nop word [eax + eax]
mov edi, dword [esi - 0x10]
cmp edi, dword [esi + 4]
jle 0x100623e7
mov eax, dword [0x102062d4]
test eax, eax
je 0x10062387
inc dword [eax + 0x374]
push dword [0x102069e8]
lea eax, [edi*4]
push eax
call dword [0x101eaf50]
mov edx, dword [esi + 8]
add esp, 8
mov dword [ebp - 0x14], eax
test edx, edx
je 0x100623e1
mov ecx, dword [esi]
shl ecx, 2
push ecx
push edx
push eax
call fcn.101378d0
mov ecx, dword [esi + 8]
add esp, 0xc
test ecx, ecx
je 0x100623ce
mov eax, dword [0x102062d4]
test eax, eax
je 0x100623ce
dec dword [eax + 0x374]
push dword [0x102069e8]
push ecx
call dword [0x101eaf54]
mov eax, dword [ebp - 0x14]
add esp, 8
mov dword [esi + 8], eax
mov dword [esi + 4], edi
mov ecx, dword [esi - 4]
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x28], ecx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x50], eax
cmp ecx, eax
jae 0x1006249a
xor edi, edi
mov dword [ebp - 0x34], edi
mov ecx, dword [ecx]
mov dword [ebp - 0x3c], ecx
test ecx, ecx
je 0x10062483
xor eax, eax
mov edx, 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x38], edx
nop dword [eax]
test edx, ecx
je 0x10062472
mov ecx, dword [esi + 4]
and edi, 0xffffffe0
add edi, eax
mov eax, dword [esi]
cmp eax, ecx
jne 0x1006245f
lea edx, [eax + 1]
mov dword [ebp - 0x14], edx
test ecx, ecx
je 0x1006244a
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x14]
sar eax, 1
add eax, ecx
jmp 0x1006244f
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.10024990
mov edx, dword [ebp - 0x38]
mov ecx, dword [esi]
mov eax, dword [esi + 8]
mov dword [eax + ecx*4], edi
inc dword [esi]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x34]
inc eax
rol edx, 1
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x38], edx
cmp eax, 0x20
jb 0x10062420
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x28]
add edi, 0x20
add ecx, 4
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x28], ecx
cmp ecx, eax
jb 0x10062403
mov ecx, dword [esi - 4]
test ecx, ecx
je 0x100624d5
mov eax, dword [0x102062d4]
mov dword [esi - 8], 0
mov dword [esi - 0xc], 0
test eax, eax
je 0x100624be
dec dword [eax + 0x374]
push dword [0x102069e8]
push ecx
call dword [0x101eaf54]
add esp, 8
mov dword [esi - 4], 0
add esi, 0xc4
sub dword [ebp - 0x1c], 1
jne 0x10062370
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x2c]
jmp 0x100624ef
xor esi, esi
cmp dword [ebp - 0x24], 0
jle 0x1006254a
lea eax, [edi + 0x14]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
nop
mov ecx, dword [eax]
test ecx, ecx
je 0x1006253c
mov dword [eax - 4], 0
mov dword [eax - 8], 0
mov eax, dword [0x102062d4]
test eax, eax
je 0x10062523
dec dword [eax + 0x374]
push dword [0x102069e8]
push ecx
call dword [0x101eaf54]
mov eax, dword [ebp - 0x20]
add esp, 8
mov dword [eax], 0
add eax, 0x18
mov dword [ebp - 0x20], eax
sub edi, 1
jne 0x10062500
mov edi, dword [ebp - 0x48]
test edi, edi
je 0x10062583
mov eax, dword [0x102062d4]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
test eax, eax
je 0x1006256b
dec dword [eax + 0x374]
push dword [0x102069e8]
push edi
call dword [0x101eaf54]
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 7
mov eax, 8
test esi, esi
jle 0x100625f8
cmp esi, eax
mov edi, esi
cmovl edi, eax
test edi, edi
jle 0x100625f8
mov eax, dword [0x102062d4]
test eax, eax
je 0x100625d5
inc dword [eax + 0x374]
push dword [0x102069e8]
mov eax, edi
shl eax, 4
push eax
call dword [0x101eaf50]
mov dword [ebp - 0x2c], eax
add esp, 8
mov dword [ebp - 0x68], eax
mov eax, 8
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], esi
test esi, esi
jle 0x10062645
cmp esi, 8
mov edi, esi
cmovl edi, eax
test edi, edi
jle 0x10062645
mov eax, dword [0x102062d4]
test eax, eax
je 0x1006261a
inc dword [eax + 0x374]
push dword [0x102069e8]
lea eax, [edi*8]
sub eax, edi
shl eax, 2
push eax
call dword [0x101eaf50]
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], edi
mov ecx, esi
mov dword [ebp - 0x94], esi
shl ecx, 4
push ecx
push 0
push dword [ebp - 0x2c]
call fcn.101383d0
add esp, 0xc
lea eax, [esi*8]
sub eax, esi
shl eax, 2
push eax
push 0
push dword [ebp - 0x34]
call fcn.101383d0
mov edx, dword [ebp - 0x40]
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x1c], eax
add esp, 0xc
mov dword [ebp - 0x24], ecx
xor edi, edi
test edx, edx
jle 0x100628a3
mov esi, dword [ebp - 0x4c]
add esi, 0x98
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edx
mov edx, dword [esi + 0x10]
test edx, edx
je 0x1006288c
mov eax, ecx
add dword [ebp - 0x24], edx
mov ecx, dword [ebp - 0x34]
shl eax, 4
add eax, dword [ebp - 0x2c]
mov dword [esi - 4], eax
lea eax, [edi*8]
sub eax, edi
add edi, edx
mov dword [ebp - 0x3c], edi
lea ecx, [ecx + eax*4]
mov eax, dword [ebp - 0x44]
mov dword [esi], ecx
mov edi, dword [eax + 0x54]
add edi, dword [ebp - 0x28]
mov dword [ebp - 0x20], edi
mov eax, dword [edi + 0x10]
mov dword [esi - 0x1c], eax
mov eax, dword [esi + 0x28]
mov dword [esi - 0x14], eax
mov eax, dword [esi + 0x20]
mov dword [esi - 0x18], 0
mov dword [esi - 0x10], eax
mov dword [esi - 0xc], ecx
mov al, byte [edi + 0x14]
mov byte [esi - 8], al
mov al, byte [edi + 0x18]
mov byte [esi - 7], al
movss xmm1, dword [edi + 0x10]
comiss xmm1, dword [0x101c7294]
jbe 0x10062767
mov edi, dword [esi - 0x94]
mov eax, dword [esi - 0x7c]
movzx edx, byte [eax + edi + 5]
movzx ecx, byte [eax + edi + 4]
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
mov ecx, dword [ebp - 0x18]
movsx esi, dx
mov eax, dword [ecx - 0x7c]
movzx edx, byte [eax + edi + 7]
movzx ecx, byte [eax + edi + 6]
mov eax, 0x100
mov edi, dword [ebp - 0x20]
cwde
movsx ecx, cx
imul ecx, eax
add dx, cx
movsx eax, dx
sub esi, eax
movd xmm0, esi
mov esi, dword [ebp - 0x18]
jmp 0x1006278d
mov ecx, dword [esi - 0x84]
mov eax, dword [esi - 0x94]
xorps xmm1, xmmword [0x101c7e10]
movzx edx, byte [ecx + eax + 0x12]
movzx eax, byte [ecx + eax + 0x13]
shl edx, 8
add edx, eax
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mov eax, dword [ebp - 0x44]
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov edx, dword [eax + 0x10]
divss xmm1, xmm0
movss dword [ebp - 0x50], xmm1
cmp dword [esi + 0x20], ecx
jle 0x10062883
movzx eax, dx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x7c], eax
nop dword [eax]
mov edx, dword [esi + 0x28]
mov edx, dword [edx + ecx*4]
lea ecx, [esi - 0x98]
call fcn.10053830
movd xmm3, dword [edi + 0x18]
lea ecx, [ebp - 0x54]
movd xmm2, dword [edi + 0x14]
mov edx, eax
push ecx
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x58]
push ecx
cvtdq2ps xmm3, xmm3
lea ecx, [ebp - 0x74]
push ecx
sub esp, 8
lea ecx, [esi - 0x98]
cvtdq2ps xmm2, xmm2
mov dword [esp + 4], 0
mov dword [esp], 0
mulss xmm3, xmm1
mulss xmm2, xmm1
call fcn.100569f0
mov ecx, dword [ebp - 0x18]
add esp, 0x18
sub ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x38]
dec cx
add cx, word [edi + 0x14]
add cx, word [ebp - 0x78]
mov eax, dword [esi - 4]
movss xmm1, dword [ebp - 0x50]
mov word [edx + eax + 4], cx
mov ecx, dword [ebp - 0x7c]
sub ecx, dword [ebp - 0x58]
mov eax, dword [esi - 4]
dec cx
add cx, word [edi + 0x18]
add cx, word [ebp - 0x54]
mov word [edx + eax + 6], cx
mov eax, dword [esi - 4]
movzx ecx, word [edx + eax + 6]
movzx eax, word [edx + eax + 4]
add edx, 0x10
imul ecx, eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x38], edx
add eax, ecx
mov ecx, dword [ebp - 0x20]
inc ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
cmp ecx, dword [esi + 0x20]
jl 0x100627c0
jmp 0x10062886
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x3c]
add dword [ebp - 0x28], 0x78
add esi, 0xc4
sub dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
jne 0x100626a1
movd xmm0, eax
xorps xmm1, xmm1
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
ucomisd xmm1, xmm0
ja 0x100628bc
sqrtsd xmm0, xmm0
jmp 0x100628c1
call fcn.10199330
mov edi, dword [ebp - 0x44]
cvtsd2ss xmm0, xmm0
mov eax, dword [edi + 0xc]
mov dword [edi + 0x20], 0
cvttss2si ecx, xmm0
inc ecx
test eax, eax
jg 0x10062916
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
comiss xmm0, dword [0x101c7528]
jb 0x100628f2
mov eax, 0x1000
jmp 0x10062916
comiss xmm0, dword [0x101c7520]
jb 0x10062902
mov eax, 0x800
jmp 0x10062916
comiss xmm0, dword [0x101c7514]
mov eax, 0x200
mov ecx, 0x400
cmovae eax, ecx
push 0x2c
mov dword [edi + 0x1c], eax
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.101383d0
mov eax, dword [edi + 0x10]
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [0x102062d4]
test eax, eax
je 0x10062947
inc dword [eax + 0x374]
push dword [0x102069e8]
push 0x30
call dword [0x101eaf50]
mov ecx, dword [0x102062d4]
mov esi, eax
mov eax, dword [ebp - 0x14]
add esp, 8
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x54], eax
test ecx, ecx
je 0x10062976
inc dword [ecx + 0x374]
push dword [0x102069e8]
shl eax, 3
push eax
call dword [0x101eaf50]
add esp, 8
test esi, esi
je 0x10062a04
test eax, eax
je 0x100629ec
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xb0], edx
mov edx, dword [ebp - 0x54]
push edx
push eax
mov dword [ebp - 0x98], eax
mov eax, 0x8000
sub eax, ecx
mov dword [ebp - 0xac], ecx
push eax
mov ecx, esi
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xa4], 1
mov dword [ebp - 0xa0], 1
mov dword [ebp - 0xa8], 0
call fcn.10051f60
add esp, 0xc
jmp 0x10062a31
mov eax, dword [0x102062d4]
test eax, eax
je 0x100629fb
dec dword [eax + 0x374]
push dword [0x102069e8]
push esi
jmp 0x10062a1f
test eax, eax
je 0x10062a28
mov ecx, dword [0x102062d4]
test ecx, ecx
je 0x10062a18
dec dword [ecx + 0x374]
push dword [0x102069e8]
push eax
call dword [0x101eaf54]
add esp, 8
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 8
mov esi, dword [edi + 0x40]
mov dword [ebp - 0x1c], esi
test esi, esi
jle 0x10062a94
cmp esi, 8
mov ecx, esi
mov edx, 8
cmovl ecx, edx
test ecx, ecx
jle 0x10062a94
mov eax, dword [0x102062d4]
test eax, eax
je 0x10062a7e
inc dword [eax + 0x374]
push dword [0x102069e8]
shl ecx, 4
push ecx
call dword [0x101eaf50]
add esp, 8
mov dword [ebp - 0x24], eax
mov ecx, esi
shl ecx, 4
push ecx
push 0
push eax
call fcn.101383d0
add esp, 0xc
cmp dword [edi + 0x40], 0
jle 0x10062adc
mov edx, dword [ebp - 0x24]
xor ecx, ecx
add edx, 6
xor esi, esi
mov eax, dword [edi + 0x48]
lea ecx, [ecx + 0x1c]
inc esi
lea edx, [edx + 0x10]
movzx eax, word [ecx + eax - 0x1c]
mov word [edx - 0x12], ax
mov eax, dword [edi + 0x48]
movzx eax, word [ecx + eax - 0x1a]
mov word [edx - 0x10], ax
cmp esi, dword [edi + 0x40]
jl 0x10062ab5
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
push esi
call fcn.10052530
add esp, 4
test esi, esi
jle 0x10062b41
mov edx, dword [ebp - 0x24]
xor esi, esi
mov eax, dword [ebp - 0x1c]
add edx, 0xa
nop word [eax + eax]
cmp dword [edx + 2], 0
je 0x10062b33
mov eax, dword [edi + 0x48]
movzx ecx, word [edx - 2]
mov word [esi + eax + 4], cx
mov eax, dword [edi + 0x48]
movzx ecx, word [edx]
mov word [esi + eax + 6], cx
movzx eax, word [edx]
movzx ecx, word [edx - 4]
add ecx, eax
mov eax, dword [ebp - 0x1c]
cmp dword [edi + 0x20], ecx
cmovge ecx, dword [edi + 0x20]
mov dword [edi + 0x20], ecx
add esi, 0x1c
add edx, 0x10
sub eax, 1
mov dword [ebp - 0x1c], eax
jne 0x10062b00
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10062b6c
mov ecx, dword [0x102062d4]
test ecx, ecx
je 0x10062b5c
dec dword [ecx + 0x374]
push dword [0x102069e8]
push eax
call dword [0x101eaf54]
add esp, 8
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x40]
test esi, esi
jle 0x10062be3
mov esi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x40]
add esi, 0xa8
mov dword [ebp - 0x3c], eax
mov eax, dword [esi]
test eax, eax
je 0x10062bd4
mov edx, dword [esi - 0x14]
mov ecx, dword [ebp - 0x18]
push eax
call fcn.10052530
xor ecx, ecx
add esp, 4
mov dword [ebp - 0x14], ecx
cmp dword [esi], ecx
jle 0x10062bd4
xor edx, edx
mov eax, dword [esi - 0x14]
cmp dword [eax + edx + 0xc], 0
je 0x10062bc9
movzx ecx, word [eax + edx + 0xa]
movzx eax, word [eax + edx + 6]
add ecx, eax
cmp dword [edi + 0x20], ecx
cmovge ecx, dword [edi + 0x20]
mov dword [edi + 0x20], ecx
mov ecx, dword [ebp - 0x14]
inc ecx
add edx, 0x10
mov dword [ebp - 0x14], ecx
cmp ecx, dword [esi]
jl 0x10062ba6
add esi, 0xc4
sub dword [ebp - 0x3c], 1
jne 0x10062b86
mov esi, dword [ebp - 0x40]
test byte [edi + 4], 1
mov eax, dword [edi + 0x20]
jne 0x10062c11
lea ecx, [eax - 1]
mov eax, ecx
sar eax, 1
or ecx, eax
mov eax, ecx
sar eax, 2
or ecx, eax
mov eax, ecx
sar eax, 4
or ecx, eax
mov eax, ecx
sar eax, 8
or ecx, eax
mov eax, ecx
sar eax, 0x10
or eax, ecx
mov ecx, dword [edi + 0x1c]
inc eax
movss xmm1, dword [0x101c736c]
movaps xmm2, xmm1
mov dword [edi + 0x20], eax
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
imul ecx, eax
divss xmm2, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [0x102062d4]
movss dword [edi + 0x24], xmm2
divss xmm1, xmm0
movss dword [edi + 0x28], xmm1
test eax, eax
je 0x10062c55
inc dword [eax + 0x374]
push dword [0x102069e8]
push ecx
call dword [0x101eaf50]
mov ecx, dword [edi + 0x20]
imul ecx, dword [edi + 0x1c]
mov dword [edi + 0x14], eax
push ecx
push 0
push eax
call fcn.101383d0
mov eax, dword [edi + 0x14]
add esp, 0x14
mov dword [ebp - 0x9c], eax
mov eax, dword [edi + 0x20]
mov dword [ebp - 0xb4], eax
test esi, esi
jle 0x10062e05
mov ecx, dword [ebp - 0x4c]
xor eax, eax
mov dword [ebp - 0x3c], eax
mov edx, esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x50], esi
mov esi, dword [edi + 0x54]
add esi, eax
cmp dword [ecx + 0xa8], 0
je 0x10062de2
push dword [ecx + 0x94]
lea eax, [ecx + 0x7c]
mov edx, ecx
push ecx
push eax
lea ecx, [ebp - 0xc0]
call fcn.1005a610
movss xmm1, dword [esi + 0x44]
add esp, 0xc
ucomiss xmm1, dword [0x101c736c]
movss dword [ebp - 0x54], xmm1
lahf
test ah, 0x44
jnp 0x10062dcf
xor esi, esi
nop dword [eax]
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101c7d70]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.10197800
movss xmm1, dword [ebp - 0x54]
mov edx, 0xff
cmp eax, edx
movzx ecx, al
cmovbe edx, ecx
mov byte [ebp + esi - 0x1d0], dl
inc esi
cmp esi, 0x100
jb 0x10062cf0
mov eax, dword [ebp - 0x18]
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov edx, dword [eax + 0x94]
cmp dword [eax + 0xa8], ecx
jle 0x10062dcf
lea eax, [edx + 6]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
cmp dword [eax + 6], 0
je 0x10062dbd
mov ecx, dword [edi + 0x1c]
movzx edx, word [eax + 4]
movzx edi, word [eax]
movzx esi, word [eax - 2]
movzx eax, word [eax + 2]
imul edx, ecx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x44]
add edx, dword [ecx + 0x14]
add edx, eax
test edi, edi
je 0x10062db2
mov eax, dword [ebp - 0x14]
xor ecx, ecx
test esi, esi
je 0x10062da6
nop dword [eax + eax]
movzx eax, byte [edx + ecx]
mov al, byte [ebp + eax - 0x1d0]
mov byte [edx + ecx], al
inc ecx
cmp ecx, esi
jl 0x10062d90
mov eax, dword [ebp - 0x14]
dec edi
add edx, eax
test edi, edi
jg 0x10062d85
mov edi, dword [ebp - 0x44]
jmp 0x10062db4
mov edi, ecx
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
inc ecx
add eax, 0x10
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], eax
cmp ecx, dword [edx + 0xa8]
jl 0x10062d58
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x50]
mov dword [ecx + 0x94], 0
add eax, 0x78
add ecx, 0xc4
sub edx, 1
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x50], edx
jne 0x10062ca2
mov esi, dword [ebp - 0xbc]
jmp 0x10062e08
mov esi, dword [ebp - 0x18]
cmp dword [ebp - 0x98], 0
je 0x10062e20
mov eax, dword [0x102062d4]
test eax, eax
je 0x10062e20
dec dword [eax + 0x374]
push dword [0x102069e8]
push dword [ebp - 0x98]
call dword [0x101eaf54]
add esp, 8
test esi, esi
je 0x10062e48
mov eax, dword [0x102062d4]
test eax, eax
je 0x10062e48
dec dword [eax + 0x374]
push dword [0x102069e8]
push esi
call dword [0x101eaf54]
mov ecx, dword [ebp - 0x2c]
add esp, 8
test ecx, ecx
je 0x10062e94
mov eax, dword [0x102062d4]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
test eax, eax
je 0x10062e7c
dec dword [eax + 0x374]
push dword [0x102069e8]
push ecx
call dword [0x101eaf54]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x40]
test eax, eax
jle 0x100631db
mov ecx, dword [ebp - 0x4c]
xor edx, edx
add ecx, 4
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], eax
cmp dword [ecx + 0xa4], 0
je 0x1006313e
mov esi, dword [ecx]
xorps xmm3, xmm3
mov eax, dword [edi + 0x54]
mov edi, dword [ecx + 0x18]
add eax, edx
mov dword [ebp - 0x24], eax
mov eax, dword [eax + 0x74]
movzx ecx, byte [edi + esi + 4]
movzx edx, byte [edi + esi + 5]
mov dword [ebp - 0x1c], eax
mov eax, 0x100
cwde
movsx ecx, cx
imul ecx, eax
mov eax, 0x100
cwde
add dx, cx
movzx ecx, byte [edi + esi + 6]
movsx ecx, cx
imul ecx, eax
movzx eax, byte [edi + esi + 7]
movsx edx, dx
add cx, ax
mov eax, edx
movsx ecx, cx
sub eax, ecx
movd xmm1, edx
cvtdq2ps xmm1, xmm1
mov edx, dword [ebp - 0x1c]
movd xmm0, eax
mov eax, dword [ebp - 0x24]
cvtdq2ps xmm0, xmm0
movss xmm2, dword [eax + 0x10]
xor eax, eax
divss xmm2, xmm0
comiss xmm1, xmm3
mulss xmm1, xmm2
seta al
lea eax, [eax*2 - 1]
movd xmm0, eax
xor eax, eax
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
lea ecx, [edx + 0x44]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x24]
cvttss2si esi, xmm0
comiss xmm1, xmm3
mulss xmm2, xmm1
seta al
cmp byte [ecx + 0x3c], 0
lea eax, [eax*2 - 1]
movd xmm0, eax
lea eax, [edx + 0x38]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x14], eax
addss xmm0, xmm2
cvttss2si edi, xmm0
jne 0x10062fd0
mov ecx, edx
call fcn.10064290
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x34], ecx
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x24]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0x28]
movss dword [eax], xmm0
mov eax, dword [ebp - 0x14]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [edx + 0x48], xmm0
mov edx, dword [ebp - 0x28]
inc word [eax]
movss xmm7, dword [ecx + 0x28]
mov edi, dword [ebp - 0x44]
movss xmm0, dword [edx]
xor edx, edx
addss xmm0, dword [0x101c7324]
movss dword [ebp - 0x58], xmm7
mov dword [ebp - 0x14], edx
cvttss2si eax, xmm0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
addss xmm6, dword [ecx + 0x2c]
mov ecx, dword [ebp - 0x18]
movss dword [ebp - 0x54], xmm6
cmp dword [ecx + 0xa4], edx
jle 0x10063138
xor esi, esi
nop word [eax + eax]
movd xmm0, dword [edi + 0x1c]
sub esp, 0x20
movss xmm1, dword [0x101c736c]
mov eax, dword [ecx + 0xbc]
mov ecx, dword [ecx + 0x94]
movss xmm3, dword [0x101c736c]
cvtdq2ps xmm0, xmm0
mov edx, dword [eax + edx*4]
movzx eax, word [ecx + esi]
divss xmm1, xmm0
movd xmm0, dword [edi + 0x20]
cvtdq2ps xmm0, xmm0
movd xmm5, eax
movzx eax, word [ecx + esi + 2]
divss xmm3, xmm0
movss xmm0, dword [ecx + esi + 0x10]
movd xmm4, eax
movzx eax, word [ecx + esi + 4]
cvtdq2ps xmm5, xmm5
movd xmm2, eax
movzx eax, word [ecx + esi + 6]
cvtdq2ps xmm2, xmm2
mulss xmm5, xmm1
mulss xmm2, xmm1
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [ecx + esi + 0x18]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm4, xmm4
mulss xmm1, xmm3
mulss xmm4, xmm3
movss dword [esp + 0x18], xmm1
xorps xmm1, xmm1
addss xmm0, xmm1
movss xmm3, dword [ecx + esi + 8]
movss dword [esp + 0x14], xmm2
addss xmm3, xmm1
movss dword [esp + 0x10], xmm4
movss dword [esp + 0xc], xmm5
addss xmm0, xmm6
addss xmm3, xmm7
movss dword [esp + 8], xmm0
movss xmm0, dword [ecx + esi + 0x14]
addss xmm0, xmm1
addss xmm0, xmm7
movss dword [esp + 4], xmm0
movss xmm0, dword [ecx + esi + 0xc]
mov ecx, dword [ebp - 0x1c]
addss xmm0, xmm1
addss xmm0, xmm6
movss dword [esp], xmm0
push edx
push dword [ebp - 0x24]
call fcn.10064850
mov edx, dword [ebp - 0x14]
add esi, 0x1c
mov ecx, dword [ebp - 0x18]
inc edx
movss xmm6, dword [ebp - 0x54]
movss xmm7, dword [ebp - 0x58]
mov dword [ebp - 0x14], edx
cmp edx, dword [ecx + 0xa4]
jl 0x10063020
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x38]
add ecx, 0xc4
add edx, 0x78
sub eax, 1
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x20], eax
jne 0x10062eb0
mov eax, dword [ebp - 0x40]
test eax, eax
jle 0x100631db
mov esi, dword [ebp - 0x4c]
add esi, 0xb4
nop dword [eax]
mov byte [ebp - 4], 0xa
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x1006319d
mov eax, dword [0x102062d4]
test eax, eax
je 0x1006318a
dec dword [eax + 0x374]
push dword [0x102069e8]
push ecx
call dword [0x101eaf54]
mov eax, dword [ebp - 0x40]
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, dword [esi]
test ecx, ecx
je 0x100631c9
mov eax, dword [0x102062d4]
test eax, eax
je 0x100631b6
dec dword [eax + 0x374]
push dword [0x102069e8]
push ecx
call dword [0x101eaf54]
mov eax, dword [ebp - 0x40]
add esp, 8
add esi, 0xc4
mov byte [ebp - 4], 7
sub eax, 1
mov dword [ebp - 0x40], eax
jne 0x10063170
mov ecx, edi
call fcn.10063900
mov byte [ebp - 0x2d], 1
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x10063210
mov eax, dword [0x102062d4]
test eax, eax
je 0x10063200
dec dword [eax + 0x374]
push dword [0x102069e8]
push ecx
call dword [0x101eaf54]
add esp, 8
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
je 0x1006323a
mov eax, dword [0x102062d4]
test eax, eax
je 0x1006322a
dec dword [eax + 0x374]
push dword [0x102069e8]
push ecx
call dword [0x101eaf54]
add esp, 8
mov edi, dword [ebp - 0x48]
mov byte [ebp - 4], 0xe
test edi, edi
je 0x10063264
mov eax, dword [0x102062d4]
test eax, eax
je 0x10063254
dec dword [eax + 0x374]
push dword [0x102069e8]
push edi
call dword [0x101eaf54]
add esp, 8
mov dword [ebp - 4], 0xf
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x10063292
mov ecx, dword [0x102062d4]
test ecx, ecx
je 0x10063282
dec dword [ecx + 0x374]
push dword [0x102069e8]
push eax
call dword [0x101eaf54]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x2d]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret