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

Disassembly:
mov eax, 0x10102ed8
call fcn.100ff2c0
sub esp, 0x1fc
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x54], ecx
mov ecx, edi
mov dword [ebp - 0x40], edi
call fcn.10043907
xor ebx, ebx
xorps xmm0, xmm0
mov ecx, edi
mov dword [edi + 4], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x24], ebx
movups xmmword [edi + 0x2c], xmm0
call fcn.10042683
mov esi, ebx
mov byte [ebp - 0x31], bl
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x8c], esi
mov dword [ebp - 4], ebx
mov eax, ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x54]
mov dword [ebp - 0x58], eax
push 8
pop edx
mov dword [ebp - 0x28], edx
test eax, eax
jle 0x100459c9
cmp eax, edx
mov ecx, eax
cmovl ecx, edx
mov dword [ebp - 0x20], ecx
test ecx, ecx
jle 0x100459c9
imul ecx, ecx, 0x54
call fcn.1002b54d
mov esi, eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x8c], esi
mov edx, dword [edi + 0x3c]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x1c], edx
test edx, edx
jle 0x10045a06
cmp edx, 8
mov ecx, edx
cmovl ecx, dword [ebp - 0x28]
mov dword [ebp - 0x20], ecx
test ecx, ecx
jle 0x10045a06
imul ecx, ecx, 0x18
call fcn.1002b54d
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x84], ecx
imul eax, eax, 0x54
mov dword [ebp - 0x88], edx
push eax
push ebx
push esi
call fcn.100d26e0
imul eax, dword [ebp - 0x1c], 0x18
add esp, 0xc
push eax
push ebx
push dword [ebp - 0x5c]
call fcn.100d26e0
add esp, 0xc
mov dword [ebp - 0x18], ebx
cmp dword [edi + 0x54], ebx
jle 0x10045b38
mov ecx, ebx
lea edx, [esi + 0x34]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [edi + 0x5c]
or dword [edx - 4], 0xffffffff
add eax, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x38], ebx
cmp dword [edi + 0x3c], ebx
jle 0x100465fd
or ecx, 0xffffffff
mov ebx, eax
mov esi, ecx
cmp ecx, 0xffffffff
jne 0x10045a8e
or dword [ebp - 0x20], ecx
mov esi, dword [ebp - 0x38]
mov ecx, dword [edi + 0x44]
mov eax, dword [ebx + 0x74]
cmp eax, dword [ecx + esi*4]
mov eax, esi
jne 0x10045a80
mov dword [edx - 4], eax
mov ecx, eax
jmp 0x10045a83
mov ecx, dword [ebp - 0x20]
inc eax
mov esi, ecx
mov dword [ebp - 0x38], eax
cmp eax, dword [edi + 0x3c]
jl 0x10045a5f
push 0
cmp esi, 0xffffffff
mov esi, dword [ebp - 0x50]
pop ebx
je 0x100465fd
push dword [ebp + 8]
lea eax, [edx - 0x34]
push dword [ebp - 0x14]
mov ecx, eax
mov dword [ebp - 0x20], eax
push dword [ebp - 0x54]
call fcn.100451a7
test al, al
je 0x100465fd
mov edx, dword [ebp - 0x14]
mov ecx, 0x10184900
mov eax, dword [edx + 0x40]
shr eax, 8
and al, 1
or byte [ebp - 0x31], al
mov eax, dword [ebp - 0x20]
imul eax, dword [eax + 0x30], 0x18
add eax, dword [ebp - 0x5c]
cmp dword [edx + 0x30], ebx
mov dword [ebp - 0x3c], eax
cmovne ecx, dword [edx + 0x30]
mov edx, dword [ebp - 0x30]
mov dword [edx - 8], ecx
cmp word [ecx], bx
je 0x10045b08
movzx eax, word [ecx + 2]
test ax, ax
je 0x10045b05
cmp dword [edx], eax
cmovge eax, dword [edx]
add ecx, 4
mov dword [edx], eax
cmp word [ecx], bx
jne 0x10045aed
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x3c]
inc dword [eax]
mov eax, dword [edx]
cmp dword [ecx + 4], eax
cmovge eax, dword [ecx + 4]
add edx, 0x54
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
inc eax
add ecx, 0x78
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ecx
cmp eax, dword [edi + 0x54]
jl 0x10045a42
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x38], ebx
test eax, eax
jle 0x10045d47
lea edi, [esi + 0x38]
mov dword [ebp - 0x18], eax
imul eax, dword [edi - 8], 0x18
lea ecx, [edi + 4]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0x20], eax
mov eax, dword [edi - 4]
add eax, 0x20
sar eax, 5
push eax
call fcn.1003a8d4
mov eax, dword [edi + 4]
shl eax, 2
push eax
push ebx
push dword [edi + 0xc]
call fcn.100d26e0
mov esi, dword [ebp - 0x20]
add esp, 0xc
lea ecx, [esi + 0xc]
cmp dword [ecx], ebx
jne 0x10045ba7
mov eax, dword [esi + 4]
add eax, 0x20
sar eax, 5
push eax
call fcn.1003a8d4
mov eax, dword [esi + 0xc]
shl eax, 2
push eax
push ebx
push dword [esi + 0x14]
call fcn.100d26e0
add esp, 0xc
mov eax, dword [edi - 0xc]
jmp 0x10045c22
movzx edx, word [eax + 2]
test dx, dx
je 0x10045c2a
movzx ecx, word [eax]
mov dword [ebp - 0x14], ecx
cmp ecx, edx
ja 0x10045c1c
mov ebx, dword [ebp - 0x24]
xor eax, eax
mov edx, ecx
and ecx, 0x1f
sar edx, 5
inc eax
mov dword [ebp - 0x20], edx
shl eax, cl
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x14]
mov ecx, dword [ebp - 0x3c]
test dword [eax + edx*4], ecx
jne 0x10045c0b
push dword [ebp - 0x14]
push dword [edi - 0x20]
call fcn.10059c70
pop ecx
pop ecx
test eax, eax
je 0x10045c0b
inc dword [edi]
inc dword [esi + 8]
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x3c]
or dword [eax + ecx*4], edx
mov eax, dword [esi + 0x14]
or dword [eax + ecx*4], edx
inc dword [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
movzx eax, word [ebx + 2]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, eax
jle 0x10045bc2
xor ebx, ebx
mov eax, dword [ebp - 0x24]
add eax, 4
mov dword [ebp - 0x24], eax
cmp word [eax], bx
jne 0x10045bac
add edi, 0x54
sub dword [ebp - 0x18], 1
jne 0x10045b4c
mov esi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x58]
add esi, 0x48
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x18], ecx
push dword [esi - 0x10]
mov ecx, esi
call fcn.10046701
mov ecx, dword [esi - 4]
mov edi, ecx
mov eax, dword [esi - 0xc]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], ecx
lea eax, [ecx + eax*4]
mov dword [ebp - 0x54], eax
cmp ecx, eax
jae 0x10045d1a
mov esi, dword [edi]
mov dword [ebp - 0x28], esi
test esi, esi
je 0x10045d09
mov edx, ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x3c], edx
xor eax, eax
mov ecx, edx
inc eax
shl eax, cl
test esi, eax
je 0x10045cf8
mov esi, dword [ebx + 4]
lea edi, [ebp - 0xd0]
push 8
pop eax
mov ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebx]
shl eax, 3
and eax, 0xffffffe0
add eax, edx
movzx eax, ax
mov dword [ebp - 0xb8], eax
cmp ecx, esi
jne 0x10045cde
inc ecx
test esi, esi
je 0x10045ccb
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x10045cce
push 8
pop eax
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, ebx
call fcn.10046701
mov edx, dword [ebp - 0x3c]
mov edi, dword [ebx]
lea esi, [ebp - 0xd0]
shl edi, 5
add edi, dword [ebx + 8]
push 8
pop eax
mov ecx, eax
rep movsd dword es:[edi], dword [esi]
inc dword [ebx]
mov esi, dword [ebp - 0x28]
inc edx
mov dword [ebp - 0x3c], edx
cmp edx, 0x20
jb 0x10045c81
mov edi, dword [ebp - 0x14]
xor ebx, ebx
mov eax, dword [ebp - 0x54]
add edi, 4
mov dword [ebp - 0x14], edi
cmp edi, eax
jb 0x10045c6c
mov esi, dword [ebp - 0x24]
mov ecx, dword [esi - 4]
test ecx, ecx
je 0x10045d2f
mov dword [esi - 8], ebx
mov dword [esi - 0xc], ebx
call fcn.1002b564
mov dword [esi - 4], ebx
add esi, 0x54
sub dword [ebp - 0x18], 1
mov dword [ebp - 0x24], esi
jne 0x10045c46
mov edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x50]
jmp 0x10045d4a
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp - 0x1c]
test eax, eax
jle 0x10045d7b
mov edi, dword [ebp - 0x5c]
add edi, 0x14
mov ecx, dword [edi]
test ecx, ecx
je 0x10045d6d
mov dword [edi - 4], ebx
mov dword [edi - 8], ebx
call fcn.1002b564
mov eax, dword [ebp - 0x1c]
mov dword [edi], ebx
add edi, 0x18
sub eax, 1
mov dword [ebp - 0x1c], eax
jne 0x10045d57
mov edi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x10045d9d
mov ecx, eax
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x88], ebx
call fcn.1002b564
mov eax, ebx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb0]
mov eax, dword [ebp - 0x38]
push eax
call fcn.10044f60
imul eax, dword [ebp - 0xb0], 0x18
push eax
mov eax, dword [ebp - 0xa8]
push ebx
push eax
mov dword [ebp - 0x20], eax
call fcn.100d26e0
add esp, 0xc
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x74], ebx
mov ecx, 0x40000
mov byte [ebp - 4], 7
call fcn.1002b54d
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x7c]
lea eax, [ebp - 0x28]
push eax
call fcn.10039db5
mov eax, dword [ebp - 0x58]
movss xmm0, dword [0x10184bec]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ebx
test eax, eax
jle 0x10046043
mov ecx, dword [ebp - 0x74]
mov edx, ebx
mov dword [ebp - 0x38], ecx
add esi, 0x48
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x70], ecx
cmp dword [esi - 0x10], 0
mov ecx, dword [edi + 0x5c]
je 0x10046024
imul eax, dword [ebp - 0x14], 0x18
add eax, dword [ebp - 0x20]
mov dword [esi - 0x20], eax
mov eax, dword [ebp - 0x14]
add eax, dword [esi - 0x10]
movss xmm1, dword [ecx + edx + 0x44]
ucomiss xmm1, xmm0
mov dword [ebp - 0x14], eax
movss dword [ebp - 0x28], xmm1
lahf
test ah, 0x44
jnp 0x10045ebf
mov edi, ebx
mov byte [ebp - 0xd], 1
mov ebx, 0xff
movd xmm0, edi
mov eax, edi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10184fb0]
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm1
call fcn.100d1130
movss xmm1, dword [ebp - 0x28]
cmp eax, ebx
movzx ecx, al
cmova ecx, ebx
mov byte [ebp + edi - 0x208], cl
inc edi
cmp edi, 0x100
jb 0x10045e75
mov edi, dword [ebp - 0x40]
xor ebx, ebx
mov edx, dword [ebp - 0x24]
jmp 0x10045ec2
mov byte [ebp - 0xd], bl
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x30], ebx
cmp dword [esi], ebx
jle 0x10046021
mov edi, ebx
mov dword [ebp - 0x2c], ebx
mov ecx, ebx
mov eax, dword [esi + 8]
add eax, ecx
mov dword [ebp - 0x48], eax
push dword [eax + 0x18]
push dword [esi - 0x30]
call fcn.10059c70
pop ecx
pop ecx
test eax, eax
je 0x10046000
push dword [esi - 0x28]
push eax
push dword [esi - 0x30]
call fcn.1005a5b0
add esp, 0xc
test eax, eax
jne 0x10046000
test byte [esi - 0x2c], 0x20
mov eax, dword [esi - 0x30]
mov eax, dword [eax + 0x54]
mov dword [ebp - 0x3c], eax
je 0x10045f27
push eax
call fcn.10061990
mov eax, dword [ebp - 0x3c]
pop ecx
test byte [esi - 0x2c], 0x40
je 0x10045f34
push eax
call fcn.10061a90
pop ecx
mov eax, dword [ebp - 0x3c]
add eax, 0x18
je 0x10046000
mov edx, dword [ebp - 0x48]
lea ecx, [esi - 0x48]
push edx
call fcn.1004536f
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x10046000
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
imul eax, dword [edx]
shl eax, 2
mov dword [ebp - 0x54], eax
add eax, ecx
cmp eax, 0x40000
jle 0x10045f9e
mov ecx, 0x40000
mov dword [ebp - 0x1c], ebx
call fcn.1002b54d
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x7c]
lea eax, [ebp - 0x28]
push eax
call fcn.10039db5
mov ecx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x70], ecx
mov ecx, ebx
mov dword [ebp - 0x38], eax
jmp 0x10045fa1
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x70]
and dword [ebp - 0x28], 0
add ecx, dword [eax + edx*4 - 4]
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x48]
cmp byte [ebp - 0xd], 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x208]
cmove eax, dword [ebp - 0x28]
push eax
push dword [edx]
mov dword [edx + 0x1c], ecx
push ecx
push dword [ebp - 0x6c]
call fcn.100453f7
mov edx, dword [ebp - 0x48]
mov eax, dword [esi - 0x20]
mov ecx, dword [edx]
add ecx, dword [ebp - 0x18]
mov dword [eax + edi + 4], ecx
mov eax, dword [esi - 0x20]
mov ecx, dword [edx + 4]
add ecx, dword [ebp - 0x18]
mov dword [eax + edi + 8], ecx
mov ecx, dword [esi - 0x20]
mov eax, dword [ecx + edi + 8]
imul eax, dword [ecx + edi + 4]
add dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x30]
add edi, 0x18
mov ecx, dword [ebp - 0x2c]
inc eax
add ecx, 0x20
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
cmp eax, dword [esi]
jl 0x10045eda
mov edi, dword [ebp - 0x40]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x44]
movss xmm0, dword [0x10184bec]
add edx, 0x78
add esi, 0x54
mov dword [ebp - 0x24], edx
sub eax, 1
mov dword [ebp - 0x44], eax
jne 0x10045e36
jmp 0x1004604f
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x70], eax
movd xmm0, dword [ebp - 0x4c]
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
call fcn.100ffea0
mov esi, dword [edi + 8]
cvtsd2ss xmm0, xmm0
mov dword [edi + 0x28], ebx
cvttss2si eax, xmm0
inc eax
test esi, esi
jg 0x100460ab
movd xmm0, eax
mov esi, 0x200
cvtdq2ps xmm0, xmm0
mov eax, 0x400
comiss xmm0, dword [0x10184d0c]
cmovae esi, eax
mov eax, 0x800
comiss xmm0, dword [0x10184d18]
cmovae esi, eax
mov eax, 0x1000
comiss xmm0, dword [0x10184d1c]
cmovae esi, eax
mov dword [edi + 0x24], esi
mov edx, ebx
sub esi, dword [edi + 0xc]
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x98], edx
push 8
pop ecx
mov byte [ebp - 4], cl
test esi, esi
jle 0x100460f6
cmp esi, ecx
mov eax, esi
cmovl eax, ecx
mov dword [ebp - 0x28], eax
test eax, eax
jle 0x100460f6
imul ecx, eax, 0xc
call fcn.1002b54d
mov ecx, dword [ebp - 0x28]
mov edx, eax
mov dword [ebp - 0x98], edx
mov dword [ebp - 0x9c], ecx
push esi
push edx
mov edx, dword [edi + 0x24]
lea ecx, [ebp - 0x108]
sub edx, dword [edi + 0xc]
mov eax, 0x8000
sub eax, dword [edi + 0xc]
push eax
mov dword [ebp - 0xa0], esi
call fcn.100457a1
add esp, 0xc
lea edx, [ebp - 0x108]
mov ecx, edi
call fcn.10042cee
mov ecx, dword [ebp - 0x58]
test ecx, ecx
jle 0x1004618f
mov esi, dword [ebp - 0x50]
mov eax, ecx
add esi, 0x38
mov dword [ebp - 0x4c], ecx
cmp dword [esi], 0
je 0x10046184
push dword [esi]
mov edx, dword [esi - 0x10]
lea ecx, [ebp - 0x108]
call fcn.10045825
mov edx, ebx
pop ecx
cmp dword [esi], ebx
jle 0x10046181
mov ecx, ebx
mov eax, dword [esi - 0x10]
cmp dword [ecx + eax + 0x14], ebx
je 0x10046179
mov edi, dword [esi - 0x10]
mov eax, dword [ecx + eax + 0x10]
add eax, dword [ecx + edi + 8]
mov edi, dword [ebp - 0x40]
cmp dword [edi + 0x28], eax
cmovge eax, dword [edi + 0x28]
mov dword [edi + 0x28], eax
inc edx
add ecx, 0x18
cmp edx, dword [esi]
jl 0x10046158
mov eax, dword [ebp - 0x4c]
add esi, 0x54
sub eax, 1
mov dword [ebp - 0x4c], eax
jne 0x1004613a
test byte [edi], 1
mov eax, dword [edi + 0x28]
jne 0x100461bc
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
movd xmm0, dword [edi + 0x24]
lea esi, [eax + 1]
movss xmm2, dword [0x10184bec]
cvtdq2ps xmm0, xmm0
mov dword [edi + 0x28], esi
movaps xmm1, xmm2
divss xmm1, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
imul esi, dword [edi + 0x24]
cmp byte [ebp - 0x31], 0
divss xmm2, xmm0
movss dword [edi + 0x2c], xmm1
movss dword [edi + 0x30], xmm2
je 0x10046207
shl esi, 2
mov ecx, esi
call fcn.1002b54d
mov dword [edi + 0x20], eax
jmp 0x10046211
mov ecx, esi
call fcn.1002b54d
mov dword [edi + 0x1c], eax
push esi
push ebx
push eax
call fcn.100d26e0
mov eax, dword [ebp - 0x58]
add esp, 0xc
mov byte [ebp - 0xd], bl
test eax, eax
jle 0x10046555
mov ecx, dword [ebp - 0x50]
mov edx, ebx
add ecx, 8
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], eax
cmp dword [ecx + 0x30], ebx
je 0x1004653d
mov edx, dword [edi + 0x5c]
add edx, dword [ebp - 0x3c]
movss xmm0, dword [ecx - 4]
movss dword [ebp - 0x54], xmm0
movss xmm0, dword [ecx]
cmp byte [edx + 0x3c], 0
mov eax, dword [edx + 0x74]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], eax
movss dword [ebp - 0x6c], xmm0
lea edi, [eax + 0x50]
mov dword [ebp - 0x18], edi
lea esi, [eax + 0x38]
mov edi, dword [ebp - 0x40]
jne 0x100462b1
mov ecx, eax
call fcn.10043ba2
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
movss xmm0, dword [ebp - 0x54]
mov eax, dword [edx + 0x10]
mov dword [ecx + 0x10], eax
xor eax, eax
mov word [esi], ax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 0x34], edx
mov dword [ecx + 0x30], edi
movss dword [eax], xmm0
movss xmm0, dword [ebp - 0x6c]
movss dword [ecx + 0x54], xmm0
mov ecx, dword [ebp - 0x1c]
jmp 0x100462b4
mov eax, dword [ebp - 0x18]
movss xmm0, dword [eax]
addss xmm0, dword [0x10184bb8]
inc word [esi]
movss xmm2, dword [edx + 0x28]
movss dword [ebp - 0x14], xmm2
mov dword [ebp - 0x6c], ebx
cvttss2si eax, xmm0
movd xmm1, eax
mov eax, dword [edi + 0xc]
cvtdq2ps xmm1, xmm1
mov dword [ebp - 0xa4], eax
addss xmm1, dword [edx + 0x2c]
movss dword [ebp - 0x24], xmm1
cmp dword [ecx + 0x30], ebx
jle 0x10046534
mov dword [ebp - 0x18], ebx
mov eax, ebx
mov dword [ebp - 0x54], ebx
mov edx, dword [ecx + 0x48]
add edx, eax
mov eax, dword [ecx + 0x20]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x64], edx
cmp dword [eax + 4], ebx
jne 0x1004631b
cmp dword [eax + 8], ebx
je 0x10046517
mov ecx, dword [eax + 0xc]
sub esp, 0x20
mov eax, dword [eax + 0x10]
add eax, dword [ebp - 0xa4]
add ecx, dword [ebp - 0xa4]
movd xmm0, dword [edx + 8]
movd xmm7, dword [edx + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [edx]
movd xmm3, dword [ebp - 0x2c]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x30], ecx
mov esi, dword [ebp - 0x30]
mov ecx, dword [edx + 4]
movd xmm6, eax
add eax, esi
addss xmm0, xmm2
movd xmm4, esi
cvtdq2ps xmm7, xmm7
mov esi, dword [ebp - 0x48]
movd xmm2, eax
mov eax, dword [ebp - 0x2c]
addss xmm7, xmm1
movd xmm1, dword [edi + 0x24]
add eax, ecx
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm6, xmm6
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm2, xmm2
movss dword [ebp - 0x68], xmm0
addss xmm6, xmm0
movd xmm0, dword [edi + 0x28]
divss xmm4, xmm1
divss xmm2, xmm1
movd xmm1, eax
cvtdq2ps xmm0, xmm0
movzx eax, word [edx + 0x18]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm3, xmm3
divss xmm1, xmm0
divss xmm3, xmm0
movss xmm0, dword [edx + 0x10]
movd xmm5, ecx
mov ecx, dword [ebp - 0x4c]
cvtdq2ps xmm5, xmm5
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x18], xmm1
addss xmm5, xmm7
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x10], xmm3
movss xmm3, dword [ebp - 0x68]
movss dword [esp + 0xc], xmm4
movss dword [esp + 8], xmm5
movss dword [esp + 4], xmm6
movss dword [esp], xmm7
push eax
push esi
call fcn.10043f47
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x64]
imul edx, dword [eax + 0x20], 0x28
cmp byte [ecx + 0x14], 0
mov eax, dword [eax + 0x28]
je 0x1004641b
or dword [eax + edx - 0x28], 1
mov byte [ebp - 0xd], 1
mov esi, dword [edi + 0x24]
mov eax, dword [ecx + 0x1c]
mov edx, dword [ecx]
mov dword [ebp - 0x68], esi
imul esi, dword [ebp - 0x2c]
mov dword [ebp - 0x44], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x2c], esi
test eax, eax
je 0x10046495
mov edi, esi
add edi, eax
mov eax, dword [ebp - 0x44]
add edi, dword [ebp - 0x30]
mov dword [ebp - 0x60], edi
mov edi, dword [ebp - 0x40]
mov dword [ebp - 0x30], ebx
cmp dword [ecx + 4], ebx
jle 0x1004650a
mov esi, edx
shl esi, 2
mov dword [ebp - 0x64], esi
mov esi, dword [ebp - 0x60]
mov edi, ebx
test edx, edx
jle 0x1004647e
lea ebx, [eax + 3]
mov al, byte [ebx]
lea ebx, [ebx + 4]
mov byte [edi + esi], al
inc edi
mov edx, dword [ecx]
cmp edi, edx
jl 0x1004646a
mov eax, dword [ebp - 0x44]
xor ebx, ebx
mov edi, dword [ebp - 0x30]
add eax, dword [ebp - 0x64]
inc edi
add esi, dword [ebp - 0x68]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x44], eax
cmp edi, dword [ecx + 4]
jl 0x10046461
jmp 0x10046507
mov ecx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x2c]
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x30], ebx
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x2c], eax
cmp dword [ecx + 4], ebx
jle 0x1004650a
mov eax, dword [ebp - 0x68]
mov edi, ebx
mov esi, dword [ebp - 0x2c]
shl eax, 2
mov dword [ebp - 0x68], eax
mov eax, edx
shl eax, 2
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x60], ebx
test edx, edx
jle 0x100464f2
mov ebx, eax
mov edi, esi
sub ebx, esi
mov esi, dword [ebp - 0x60]
mov eax, dword [ebx + edi]
inc esi
mov dword [edi], eax
lea edi, [edi + 4]
mov edx, dword [ecx]
cmp esi, edx
jl 0x100464d8
mov eax, dword [ebp - 0x44]
xor ebx, ebx
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x30]
add esi, dword [ebp - 0x68]
inc edi
add eax, dword [ebp - 0x64]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x44], eax
cmp edi, dword [ecx + 4]
jl 0x100464c8
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x1c]
movss xmm2, dword [ebp - 0x14]
movss xmm1, dword [ebp - 0x24]
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x54]
inc edx
add dword [ebp - 0x18], 0x18
add eax, 0x20
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x54], eax
cmp edx, dword [ecx + 0x30]
jl 0x100462ff
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x28]
mov dword [ecx + 0x20], ebx
add ecx, 0x54
add edx, 0x78
sub eax, 1
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x28], eax
jne 0x1004623b
cmp dword [ebp - 0x70], 0
mov al, byte [ebp - 0xd]
mov esi, dword [ebp - 0x50]
mov byte [edi + 0x19], al
jle 0x1004657d
mov edi, dword [ebp - 0x38]
mov esi, ebx
mov ecx, dword [edi + esi*4]
call fcn.1002b564
inc esi
cmp esi, dword [ebp - 0x70]
jl 0x10046569
mov edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x58]
test ecx, ecx
jle 0x1004659e
mov dword [ebp - 0x60], esi
mov edi, ecx
mov ecx, esi
call fcn.1004674a
add esi, 0x54
sub edi, 1
jne 0x10046589
mov edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x100465bd
mov ecx, esi
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x94], ebx
call fcn.1002b564
mov esi, ebx
mov dword [ebp - 0x8c], esi
mov ecx, edi
call fcn.100439b9
mov bl, 1
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x98]
test ecx, ecx
je 0x100465d9
call fcn.1002b564
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x100465eb
mov ecx, eax
call fcn.1002b564
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x100465fd
mov ecx, eax
call fcn.1002b564
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x1004660f
mov ecx, eax
call fcn.1002b564
mov dword [ebp - 4], 0xd
test esi, esi
je 0x10046621
mov ecx, esi
call fcn.1002b564
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret