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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
mov eax, dword [ebp + 8]
xor edx, edx
imul eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0x40], eax
mov eax, 1
shl eax, cl
test ecx, ecx
push edi
cmovle eax, edx
mov dword [esp + 0x54], ebx
lea eax, [eax*8 + 0x2208]
push eax
push edx
push 1
call fcn.005a6620
push 0x8108
mov esi, eax
push ebx
push 1
mov dword [esp + 0x28], esi
call fcn.005a6680
movsd xmm0, qword [0x674188]
add esp, 0x18
mov dword [esp + 0x50], 0xffffffff
mov edi, eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x4c], 0xffffffff
movsd qword [esp + 0x68], xmm0
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x2c], ebx
test esi, esi
je 0x5e4f60
test edi, edi
je 0x5e4f60
lea eax, [esi + 0x1948]
mov dword [esi + 0x1940], eax
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x5e3df4
push eax
lea eax, [esp + 0x78]
push eax
call fcn.005e3cf0
add esp, 8
mov dword [esp + 0x54], eax
test eax, eax
je 0x5e4f60
push dword [ebp + 0x1c]
lea eax, [esp + 0x84]
push eax
call fcn.005d61b0
push dword [ebp + 0x14]
movq xmm0, qword [eax]
movq qword [esp + 0x64], xmm0
mov eax, dword [eax + 8]
mov dword [esp + 0x6c], eax
call fcn.005d82f0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x5e4f3f
push 1
push dword [ebp + 0x14]
push esi
call fcn.005d9890
mov eax, dword [esp + 0x64]
add esp, 0xc
test eax, eax
je 0x5e3e78
push dword [ebp + 8]
push fcn.005d5c70
push eax
push esi
call fcn.005d8d90
mov eax, dword [esp + 0x68]
add esp, 0x10
add eax, 8
mov dword [esp + 0x58], eax
cmp eax, dword [esp + 0x60]
jne 0x5e3e74
lea eax, [esp + 0x58]
push eax
call fcn.005d61f0
mov eax, dword [esp + 0x5c]
add esp, 4
test eax, eax
jne 0x5e3e40
mov eax, dword [esp + 0x10]
xor edx, edx
mov ecx, dword [esi + 0xca4]
push dword [eax + 0x1940]
mov eax, 1
push dword [esi]
shl eax, cl
test ecx, ecx
cmovle eax, edx
add eax, 0x118
push eax
call fcn.005e4f80
mov eax, dword [esp + 0x1c]
add eax, 0x800
push eax
lea eax, [esi + 4]
push eax
push 0x100
call fcn.005e4f80
mov eax, dword [esp + 0x28]
add eax, 0x1000
push eax
lea eax, [esi + 0x404]
push eax
push 0x100
call fcn.005e4f80
push dword [esp + 0x34]
lea eax, [esi + 0x804]
push eax
push 0x100
call fcn.005e4f80
mov eax, dword [esp + 0x40]
add eax, 0x1800
push eax
lea eax, [esi + 0xc04]
push eax
push 0x28
call fcn.005e4f80
push esi
call fcn.005d8520
mov esi, dword [esp + 0x50]
add esp, 0x40
push esi
push dword [esp + 0x48]
push dword [ebp + 0x20]
push edi
call fcn.005e5110
add esp, 0x10
test eax, eax
je 0x5e4f4c
mov eax, dword [ebp + 0x20]
xor ecx, ecx
mov edx, dword [ebp + 0x10]
movsd xmm3, qword [0x6635a0]
movsd xmm2, qword [0x663598]
mov word [eax], cx
mov ebx, dword [edi + 0x8008]
mov edx, dword [edx]
cmp dword [ebp + 0x14], ecx
jle 0x5e3f92
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
imul esi, edx, 0x1e35a7bd
shr esi, cl
or ecx, 0xffffffff
cmp dword [eax + esi*4], edx
cmove ecx, esi
test ecx, ecx
js 0x5e3f87
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x1940]
movsd xmm1, qword [eax + ecx*8 + 0x8c0]
mulsd xmm1, xmm2
jmp 0x5e3fd0
mov eax, dword [esp + 0x74]
mov dword [eax + esi*4], edx
mov esi, dword [esp + 0x10]
mov eax, edx
mov ecx, edx
shr eax, 0x10
movzx eax, al
shr ecx, 0x18
movsd xmm1, qword [esi + eax*8 + 0x800]
mov eax, edx
addsd xmm1, qword [esi + ecx*8]
shr eax, 8
movzx ecx, al
mov eax, dword [esi + 0x1940]
addsd xmm1, qword [eax + ecx*8]
movzx eax, dl
addsd xmm1, qword [esi + eax*8 + 0x1000]
mulsd xmm1, xmm3
movss xmm0, dword [ebx]
addsd xmm1, qword [0x630e08]
cvtps2pd xmm0, xmm0
comisd xmm0, xmm1
jbe 0x5e3ff8
mov eax, dword [ebp + 0x20]
mov ecx, 1
cvtpd2ps xmm0, xmm1
movss dword [ebx], xmm0
mov word [eax], cx
mov esi, 1
mov dword [esp + 0xc], esi
cmp dword [esp + 0x44], esi
jle 0x5e4f32
nop dword [eax + eax]
mov eax, dword [ebp + 0x18]
mov ebx, dword [edi + 0x8008]
mov eax, dword [eax]
movss xmm1, dword [ebx + esi*4 - 4]
cvtps2pd xmm1, xmm1
mov eax, dword [eax + esi*4]
mov ecx, eax
and eax, 0xfff
shr ecx, 0xc
cmp dword [ebp + 0x14], 0
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x40], ecx
movsd qword [esp + 0x58], xmm1
mov edx, dword [eax + esi*4]
jle 0x5e4090
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x74]
imul esi, edx, 0x1e35a7bd
shr esi, cl
or ecx, 0xffffffff
cmp dword [eax + esi*4], edx
cmove ecx, esi
test ecx, ecx
js 0x5e4085
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
mov eax, dword [eax + 0x1940]
movsd xmm0, qword [eax + ecx*8 + 0x8c0]
mulsd xmm0, xmm2
jmp 0x5e40dc
mov eax, dword [esp + 0x74]
mov dword [eax + esi*4], edx
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov eax, edx
shr eax, 0x10
mov ecx, edx
movzx eax, al
shr ecx, 0x18
movsd xmm0, qword [edi + eax*8 + 0x800]
mov eax, edi
addsd xmm0, qword [eax + ecx*8]
mov eax, edx
shr eax, 8
movzx ecx, al
mov eax, edi
mov eax, dword [eax + 0x1940]
addsd xmm0, qword [eax + ecx*8]
mov ecx, edi
movzx eax, dl
mov edi, dword [esp + 0x38]
addsd xmm0, qword [ecx + eax*8 + 0x1000]
mulsd xmm0, xmm3
addsd xmm1, xmm0
movss xmm0, dword [ebx + esi*4]
cvtps2pd xmm0, xmm0
comisd xmm0, xmm1
jbe 0x5e4103
mov eax, dword [ebp + 0x20]
mov ecx, 1
cvtpd2ps xmm0, xmm1
movss dword [ebx + esi*4], xmm0
mov word [eax + esi*2], cx
mov ebx, dword [esp + 0x20]
cmp ebx, 2
jb 0x5e4e65
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x50]
je 0x5e4749
push eax
push dword [ebp + 8]
call fcn.005d5c70
add esp, 8
cmp eax, 0x200
jge 0x5e4144
movzx eax, word [eax*2 + 0x662088]
movsx edx, al
shr eax, 8
movsx ecx, al
jmp 0x5e4155
lea edx, [eax - 1]
bsr eax, edx
lea ecx, [eax - 1]
sar edx, cl
and edx, 1
lea edx, [edx + eax*2]
mov eax, dword [esp + 0x10]
movsd xmm0, qword [esp + 0x58]
mov ebx, dword [edi]
movd xmm1, ecx
cvtdq2pd xmm1, xmm1
mov dword [esp + 0x14], ebx
mov ebx, dword [edi + 8]
mov dword [esp + 0x34], 1
mov dword [esp + 0x50], ebx
addsd xmm1, qword [eax + edx*8 + 0x1800]
mov edx, dword [esp + 0x20]
movsd qword [esp + 0x68], xmm1
addsd xmm0, xmm1
movsd qword [esp + 0x58], xmm0
cmp edx, 0xa
jae 0x5e420c
mov ebx, dword [esp + 0x20]
mov edx, esi
lea eax, [ebx + esi]
cmp esi, eax
jge 0x5e4e65
mov ecx, dword [esp + 0xc]
lea ebx, [edi + 0x10]
xor esi, esi
nop dword [eax + eax]
addsd xmm0, qword [ebx]
mov eax, dword [edi + 0x8008]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [eax + edx*4]
comiss xmm0, xmm1
jbe 0x5e41ee
movss dword [eax + edx*4], xmm1
lea ecx, [esi + 1]
mov eax, dword [edi + 0x800c]
mov word [eax + edx*2], cx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x20]
inc edx
movsd xmm0, qword [esp + 0x58]
add eax, ecx
mov edi, dword [esp + 0x38]
inc esi
add ebx, 8
cmp edx, eax
jl 0x5e41c0
jmp 0x5e4e5d
xor eax, eax
mov dword [esp + 0x48], eax
cmp dword [edi + 0xc], eax
jbe 0x5e4e61
nop dword [eax + eax]
mov ecx, eax
add ecx, ecx
mov eax, dword [ebx + ecx*8 + 8]
cmp eax, edx
jge 0x5e4e61
addsd xmm0, qword [ebx + ecx*8]
add esi, eax
mov eax, dword [ebx + ecx*8 + 0xc]
cmp eax, edx
mov dword [esp + 0x30], esi
cmovg eax, edx
mov edx, dword [esp + 0xc]
cvtpd2ps xmm2, xmm0
add edx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], edx
test eax, eax
movss dword [esp + 0x28], xmm2
je 0x5e446e
mov ebx, dword [eax + 4]
cmp ebx, edx
jge 0x5e446e
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edx
cmp esi, edx
jge 0x5e4456
movss xmm1, dword [eax]
comiss xmm2, xmm1
movss dword [esp + 0x3c], xmm1
jb 0x5e43cc
cmp esi, ebx
jge 0x5e43ab
cmp dword [edi + 4], 0x1f4
jl 0x5e42de
mov edx, dword [esp + 0xc]
nop dword [eax]
mov eax, dword [edi + 0x8008]
movss xmm0, dword [eax + esi*4]
comiss xmm0, xmm2
jbe 0x5e42d4
movss dword [eax + esi*4], xmm2
mov ecx, esi
mov eax, dword [edi + 0x800c]
sub ecx, edx
inc ecx
mov word [eax + esi*2], cx
inc esi
cmp esi, ebx
jl 0x5e42b0
jmp 0x5e43a3
mov edx, dword [edi + 0x8100]
test edx, edx
je 0x5e4322
mov eax, dword [edx + 0x14]
mov dword [edi + 0x8100], eax
mov eax, dword [esp + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x14]
movss dword [edx], xmm2
mov dword [edx + 4], esi
mov dword [edx + 8], ebx
cmp esi, dword [eax + 4]
jge 0x5e4380
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x5e4306
mov ecx, dword [edi]
mov dword [edx + 0x14], ecx
test ecx, ecx
je 0x5e431e
mov dword [ecx + 0x10], edx
mov dword [edi], edx
jmp 0x5e439d
mov edx, dword [edi + 0x8104]
test edx, edx
je 0x5e4337
mov eax, dword [edx + 0x14]
mov dword [edi + 0x8104], eax
jmp 0x5e42f1
push 0x18
push 0
push 1
call fcn.005a6680
movss xmm2, dword [esp + 0x34]
mov edx, eax
add esp, 0xc
test edx, edx
jne 0x5e42f1
mov eax, dword [edi + 0x8008]
movss xmm0, dword [eax + esi*4]
comiss xmm0, xmm2
jbe 0x5e4377
movss dword [eax + esi*4], xmm2
mov ecx, esi
mov eax, dword [edi + 0x800c]
sub ecx, dword [esp + 0xc]
inc ecx
mov word [eax + esi*2], cx
inc esi
cmp esi, ebx
jl 0x5e4351
jmp 0x5e43a3
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x5e4390
cmp dword [ecx + 4], esi
jge 0x5e4390
mov eax, ecx
jmp 0x5e4380
mov dword [edx + 0x14], ecx
test ecx, ecx
je 0x5e439a
mov dword [ecx + 0x10], edx
mov dword [eax + 0x14], edx
mov dword [edx + 0x10], eax
inc dword [edi + 4]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov esi, edx
mov dword [esp + 0x30], esi
cmp edx, dword [esp + 0x18]
jge 0x5e4720
mov edx, dword [esp + 0x18]
mov eax, ecx
mov dword [esp + 0x14], eax
test ecx, ecx
jmp 0x5e425e
cmp esi, ebx
jg 0x5e444d
cmp edx, dword [esp + 0x18]
jg 0x5e4467
mov eax, dword [eax + 0x10]
test eax, eax
je 0x5e43e6
mov dword [eax + 0x14], ecx
jmp 0x5e43e8
mov dword [edi], ecx
test ecx, ecx
je 0x5e43ef
mov dword [ecx + 0x10], eax
mov ebx, dword [esp + 0x14]
lea eax, [edi + 0x8010]
cmp ebx, eax
jb 0x5e442a
lea eax, [edi + 0x80e8]
cmp ebx, eax
ja 0x5e442a
mov eax, dword [edi + 0x8100]
mov edx, dword [esp + 0x18]
mov dword [ebx + 0x14], eax
mov eax, ecx
dec dword [edi + 4]
test ecx, ecx
mov dword [edi + 0x8100], ebx
mov dword [esp + 0x14], eax
jmp 0x5e425e
mov eax, dword [edi + 0x8104]
mov edx, dword [esp + 0x18]
mov dword [ebx + 0x14], eax
mov eax, ecx
dec dword [edi + 4]
test ecx, ecx
mov dword [edi + 0x8104], ebx
mov dword [esp + 0x14], eax
jmp 0x5e425e
mov dword [eax + 8], esi
cmp dword [esp + 0x18], edx
jl 0x5e44c0
mov edx, dword [esp + 0x18]
mov eax, ecx
mov dword [esp + 0x14], eax
test ecx, ecx
jmp 0x5e425e
mov edx, dword [esp + 0x18]
mov dword [eax + 4], edx
mov ebx, dword [esp + 0x14]
cmp esi, edx
jge 0x5e4720
cmp dword [edi + 4], 0x1f4
jl 0x5e463c
movss xmm1, dword [esp + 0x28]
nop dword [eax]
mov eax, dword [edi + 0x8008]
movss xmm0, dword [eax + esi*4]
comiss xmm0, xmm1
jbe 0x5e44b6
movss dword [eax + esi*4], xmm1
mov ecx, esi
mov eax, dword [edi + 0x800c]
sub ecx, dword [esp + 0xc]
inc ecx
mov word [eax + esi*2], cx
inc esi
cmp esi, edx
jl 0x5e4490
jmp 0x5e4720
cmp dword [edi + 4], 0x1f4
mov ebx, dword [eax + 0xc]
jl 0x5e4521
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [edi + 0x8008]
movss xmm0, dword [eax + edx*4]
comiss xmm0, xmm1
jbe 0x5e4504
movss dword [eax + edx*4], xmm1
mov ecx, edx
mov eax, dword [edi + 0x800c]
sub ecx, ebx
inc ecx
mov word [eax + edx*2], cx
inc edx
cmp edx, esi
jl 0x5e44e0
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x14], ebx
jmp 0x5e4472
mov edx, dword [edi + 0x8100]
test edx, edx
je 0x5e4584
mov eax, dword [edx + 0x14]
mov dword [edi + 0x8100], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [edx + 0xc], ebx
mov ebx, dword [esp + 0x14]
mov dword [edx + 8], eax
mov eax, ebx
movss dword [edx], xmm1
mov dword [edx + 4], ecx
nop
cmp ecx, dword [eax + 4]
jge 0x5e4601
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x5e4550
mov ecx, dword [edi]
mov dword [edx + 0x14], ecx
test ecx, ecx
je 0x5e456c
mov dword [ecx + 0x10], edx
mov dword [edi], edx
mov dword [edx + 0x10], eax
inc dword [edi + 4]
mov ebx, dword [ebx + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], ebx
jmp 0x5e4472
mov edx, dword [edi + 0x8104]
test edx, edx
je 0x5e4599
mov eax, dword [edx + 0x14]
mov dword [edi + 0x8104], eax
jmp 0x5e4534
push 0x18
push 0
push 1
call fcn.005a6680
movss xmm1, dword [esp + 0x48]
mov edx, eax
add esp, 0xc
test edx, edx
jne 0x5e4534
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
nop dword [eax + eax]
mov eax, dword [edi + 0x8008]
movss xmm0, dword [eax + edx*4]
comiss xmm0, xmm1
jbe 0x5e45e4
movss dword [eax + edx*4], xmm1
mov ecx, edx
mov eax, dword [edi + 0x800c]
sub ecx, ebx
inc ecx
mov word [eax + edx*2], cx
inc edx
cmp edx, esi
jl 0x5e45c0
mov ebx, dword [esp + 0x14]
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x14], ebx
jmp 0x5e4472
mov ebx, dword [esp + 0x18]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x5e4615
cmp dword [ecx + 4], ebx
jge 0x5e4615
mov eax, ecx
jmp 0x5e4605
mov ebx, dword [esp + 0x14]
mov dword [edx + 0x14], ecx
test ecx, ecx
je 0x5e4623
mov dword [ecx + 0x10], edx
mov dword [eax + 0x14], edx
mov dword [edx + 0x10], eax
inc dword [edi + 4]
mov ebx, dword [ebx + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], ebx
jmp 0x5e4472
mov edx, dword [edi + 0x8100]
test edx, edx
je 0x5e46a2
mov eax, dword [edx + 0x14]
mov dword [edi + 0x8100], eax
mov eax, dword [esp + 0xc]
movss xmm1, dword [esp + 0x28]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x18]
mov dword [edx + 8], eax
mov eax, ebx
movss dword [edx], xmm1
mov dword [edx + 4], esi
test ebx, ebx
jne 0x5e4676
mov eax, dword [edi]
test eax, eax
je 0x5e4686
cmp esi, dword [eax + 4]
jge 0x5e4700
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x5e4676
mov ecx, dword [edi]
test ecx, ecx
mov dword [edx + 0x14], ecx
je 0x5e4692
mov dword [ecx + 0x10], edx
test eax, eax
je 0x5e4718
mov dword [eax + 0x14], edx
jmp 0x5e471a
mov edx, dword [edi + 0x8104]
test edx, edx
je 0x5e46b7
mov eax, dword [edx + 0x14]
mov dword [edi + 0x8104], eax
jmp 0x5e464f
push 0x18
push 0
push 1
call fcn.005a6680
mov edx, eax
add esp, 0xc
test edx, edx
jne 0x5e464f
movss xmm1, dword [esp + 0x28]
mov eax, dword [edi + 0x8008]
movss xmm0, dword [eax + esi*4]
comiss xmm0, xmm1
jbe 0x5e46f7
movss dword [eax + esi*4], xmm1
mov ecx, esi
mov eax, dword [edi + 0x800c]
sub ecx, dword [esp + 0xc]
inc ecx
mov word [eax + esi*2], cx
inc esi
cmp esi, dword [esp + 0x18]
jl 0x5e46d1
jmp 0x5e4720
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x5e468a
cmp dword [ecx + 4], esi
jge 0x5e4688
mov eax, ecx
jmp 0x5e4700
mov dword [edi], edx
mov dword [edx + 0x10], eax
inc dword [edi + 4]
mov eax, dword [esp + 0x48]
movsd xmm0, qword [esp + 0x58]
inc eax
mov ebx, dword [esp + 0x50]
mov esi, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x48], eax
cmp eax, dword [edi + 0xc]
jb 0x5e4220
jmp 0x5e4e5d
cmp dword [esp + 0x34], 0
je 0x5e4767
mov edx, dword [esp + 0x4c]
add edx, 0xfffffffe
mov dword [esp + 0x34], 0
add edx, esi
mov dword [esp + 0x2c], edx
jmp 0x5e476b
mov edx, dword [esp + 0x2c]
lea eax, [ebx - 1]
add eax, esi
cmp eax, edx
jle 0x5e4e65
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], esi
cmp eax, edx
jg 0x5e47d3
mov edx, dword [ebp + 0x18]
lea ecx, [eax + 1]
mov edx, dword [edx]
lea ecx, [edx + ecx*4]
nop word [eax + eax]
mov eax, dword [ecx]
mov ebx, eax
and ebx, 0xfff
shr eax, 0xc
mov dword [esp + 0x28], ebx
cmp eax, dword [esp + 0x40]
jne 0x5e47c7
inc esi
add ecx, 4
mov dword [esp + 0x1c], esi
cmp esi, dword [esp + 0x2c]
jle 0x5e47a0
jmp 0x5e47d3
mov eax, dword [edx + esi*4]
and eax, 0xfff
mov dword [esp + 0x28], eax
mov eax, dword [edi]
lea edx, [esi - 1]
test eax, eax
je 0x5e4820
nop dword [eax]
cmp dword [eax + 4], edx
jg 0x5e481c
mov esi, dword [eax + 0x14]
cmp dword [eax + 8], edx
jle 0x5e4816
movss xmm1, dword [eax]
mov ecx, edx
sub ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x8008]
movss xmm0, dword [eax + edx*4]
comiss xmm0, xmm1
jbe 0x5e4816
movss dword [eax + edx*4], xmm1
inc ecx
mov eax, dword [edi + 0x800c]
mov word [eax + edx*2], cx
mov eax, esi
test esi, esi
jne 0x5e47e0
mov esi, dword [esp + 0x1c]
mov eax, dword [edi]
test eax, eax
je 0x5e4862
cmp dword [eax + 4], esi
jg 0x5e4862
mov edx, dword [eax + 0x14]
cmp dword [eax + 8], esi
jle 0x5e485c
movss xmm1, dword [eax]
mov ecx, esi
sub ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x8008]
movss xmm0, dword [eax + esi*4]
comiss xmm0, xmm1
jbe 0x5e485c
movss dword [eax + esi*4], xmm1
inc ecx
mov eax, dword [edi + 0x800c]
mov word [eax + esi*2], cx
mov eax, edx
test edx, edx
jne 0x5e4826
mov eax, dword [edi + 0x8008]
mov ebx, dword [edi]
mov edx, dword [edi + 8]
mov dword [esp + 0x18], ebx
movss xmm0, dword [eax + esi*4 - 4]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x50], edx
cvtps2pd xmm0, xmm0
addsd xmm0, qword [esp + 0x68]
movsd qword [esp + 0x58], xmm0
cmp ebx, 0xa
jae 0x5e48fc
lea eax, [esi + ebx]
mov edx, esi
cmp esi, eax
jge 0x5e4e50
mov ecx, dword [esp + 0x1c]
lea ebx, [edi + 0x10]
xor esi, esi
nop dword [eax]
addsd xmm0, qword [ebx]
mov eax, dword [edi + 0x8008]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [eax + edx*4]
comiss xmm0, xmm1
jbe 0x5e48de
movss dword [eax + edx*4], xmm1
lea ecx, [esi + 1]
mov eax, dword [edi + 0x800c]
mov word [eax + edx*2], cx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
inc edx
movsd xmm0, qword [esp + 0x58]
add eax, ecx
mov edi, dword [esp + 0x38]
inc esi
add ebx, 8
cmp edx, eax
jl 0x5e48b0
jmp 0x5e4e50
xor eax, eax
mov dword [esp + 0x4c], eax
cmp dword [edi + 0xc], eax
jbe 0x5e4e50
jmp 0x5e4914
mov esi, dword [esp + 0x1c]
mov ecx, eax
add ecx, ecx
mov eax, dword [edx + ecx*8 + 8]
cmp eax, ebx
jge 0x5e4e50
add esi, eax
mov eax, dword [edx + ecx*8 + 0xc]
mov edx, dword [esp + 0x1c]
cmp eax, ebx
mov dword [esp + 0x3c], esi
cmovg eax, ebx
add edx, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x14], edx
addsd xmm0, qword [eax + ecx*8]
mov eax, dword [esp + 0x18]
test eax, eax
cvtpd2ps xmm2, xmm0
movss dword [esp + 0x2c], xmm2
je 0x5e4b7e
mov ebx, dword [eax + 4]
cmp ebx, edx
jge 0x5e4b7e
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], edx
cmp esi, edx
jge 0x5e4b66
movss xmm1, dword [eax]
comiss xmm2, xmm1
movss dword [esp + 0x48], xmm1
jb 0x5e4adc
cmp esi, ebx
jge 0x5e4abb
cmp dword [edi + 4], 0x1f4
jl 0x5e49de
mov edx, dword [esp + 0x1c]
nop word [eax + eax]
mov eax, dword [edi + 0x8008]
movss xmm0, dword [eax + esi*4]
comiss xmm0, xmm2
jbe 0x5e49d4
movss dword [eax + esi*4], xmm2
mov ecx, esi
mov eax, dword [edi + 0x800c]
sub ecx, edx
inc ecx
mov word [eax + esi*2], cx
inc esi
cmp esi, ebx
jl 0x5e49b0
jmp 0x5e4ab3
mov edx, dword [edi + 0x8100]
test edx, edx
je 0x5e4a29
mov eax, dword [edx + 0x14]
mov dword [edi + 0x8100], eax
mov eax, dword [esp + 0x1c]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x18]
movss dword [edx], xmm2
mov dword [edx + 4], esi
mov dword [edx + 8], ebx
cmp esi, dword [eax + 4]
jge 0x5e4a90
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x5e4a06
mov ecx, dword [edi]
mov dword [edx + 0x14], ecx
test ecx, ecx
je 0x5e4a22
mov dword [ecx + 0x10], edx
mov dword [edi], edx
jmp 0x5e4aad
mov edx, dword [edi + 0x8104]
test edx, edx
je 0x5e4a3e
mov eax, dword [edx + 0x14]
mov dword [edi + 0x8104], eax
jmp 0x5e49f1
push 0x18
push 0
push 1
call fcn.005a6680
movss xmm2, dword [esp + 0x38]
mov edx, eax
add esp, 0xc
test edx, edx
jne 0x5e49f1
nop dword [eax + eax]
mov eax, dword [edi + 0x8008]
movss xmm0, dword [eax + esi*4]
comiss xmm0, xmm2
jbe 0x5e4a86
movss dword [eax + esi*4], xmm2
mov ecx, esi
mov eax, dword [edi + 0x800c]
sub ecx, dword [esp + 0x1c]
inc ecx
mov word [eax + esi*2], cx
inc esi
cmp esi, ebx
jl 0x5e4a60
jmp 0x5e4ab3
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x5e4aa0
cmp dword [ecx + 4], esi
jge 0x5e4aa0
mov eax, ecx
jmp 0x5e4a90
mov dword [edx + 0x14], ecx
test ecx, ecx
je 0x5e4aaa
mov dword [ecx + 0x10], edx
mov dword [eax + 0x14], edx
mov dword [edx + 0x10], eax
inc dword [edi + 4]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov esi, edx
mov dword [esp + 0x3c], esi
cmp edx, dword [esp + 0x14]
jge 0x5e4e30
mov edx, dword [esp + 0x14]
mov eax, ecx
mov dword [esp + 0x18], eax
test ecx, ecx
jmp 0x5e4956
cmp esi, ebx
jg 0x5e4b5d
cmp edx, dword [esp + 0x14]
jg 0x5e4b77
mov eax, dword [eax + 0x10]
test eax, eax
je 0x5e4af6
mov dword [eax + 0x14], ecx
jmp 0x5e4af8
mov dword [edi], ecx
test ecx, ecx
je 0x5e4aff
mov dword [ecx + 0x10], eax
mov ebx, dword [esp + 0x18]
lea eax, [edi + 0x8010]
cmp ebx, eax
jb 0x5e4b3a
lea eax, [edi + 0x80e8]
cmp ebx, eax
ja 0x5e4b3a
mov eax, dword [edi + 0x8100]
mov edx, dword [esp + 0x14]
mov dword [ebx + 0x14], eax
mov eax, ecx
dec dword [edi + 4]
test ecx, ecx
mov dword [edi + 0x8100], ebx
mov dword [esp + 0x18], eax
jmp 0x5e4956
mov eax, dword [edi + 0x8104]
mov edx, dword [esp + 0x14]
mov dword [ebx + 0x14], eax
mov eax, ecx
dec dword [edi + 4]
test ecx, ecx
mov dword [edi + 0x8104], ebx
mov dword [esp + 0x18], eax
jmp 0x5e4956
mov dword [eax + 8], esi
cmp dword [esp + 0x14], edx
jl 0x5e4bd0
mov edx, dword [esp + 0x14]
mov eax, ecx
mov dword [esp + 0x18], eax
test ecx, ecx
jmp 0x5e4956
mov edx, dword [esp + 0x14]
mov dword [eax + 4], edx
mov ebx, dword [esp + 0x18]
cmp esi, edx
jge 0x5e4e30
cmp dword [edi + 4], 0x1f4
jl 0x5e4d4c
movss xmm1, dword [esp + 0x2c]
nop dword [eax]
mov eax, dword [edi + 0x8008]
movss xmm0, dword [eax + esi*4]
comiss xmm0, xmm1
jbe 0x5e4bc6
movss dword [eax + esi*4], xmm1
mov ecx, esi
mov eax, dword [edi + 0x800c]
sub ecx, dword [esp + 0x1c]
inc ecx
mov word [eax + esi*2], cx
inc esi
cmp esi, edx
jl 0x5e4ba0
jmp 0x5e4e30
cmp dword [edi + 4], 0x1f4
mov ebx, dword [eax + 0xc]
jl 0x5e4c31
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [edi + 0x8008]
movss xmm0, dword [eax + edx*4]
comiss xmm0, xmm1
jbe 0x5e4c14
movss dword [eax + edx*4], xmm1
mov ecx, edx
mov eax, dword [edi + 0x800c]
sub ecx, ebx
inc ecx
mov word [eax + edx*2], cx
inc edx
cmp edx, esi
jl 0x5e4bf0
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x18], ebx
jmp 0x5e4b82
mov edx, dword [edi + 0x8100]
test edx, edx
je 0x5e4c94
mov eax, dword [edx + 0x14]
mov dword [edi + 0x8100], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov dword [edx + 0xc], ebx
mov ebx, dword [esp + 0x18]
mov dword [edx + 8], eax
mov eax, ebx
movss dword [edx], xmm1
mov dword [edx + 4], ecx
nop
cmp ecx, dword [eax + 4]
jge 0x5e4d11
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x5e4c60
mov ecx, dword [edi]
mov dword [edx + 0x14], ecx
test ecx, ecx
je 0x5e4c7c
mov dword [ecx + 0x10], edx
mov dword [edi], edx
mov dword [edx + 0x10], eax
inc dword [edi + 4]
mov ebx, dword [ebx + 0x14]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], ebx
jmp 0x5e4b82
mov edx, dword [edi + 0x8104]
test edx, edx
je 0x5e4ca9
mov eax, dword [edx + 0x14]
mov dword [edi + 0x8104], eax
jmp 0x5e4c44
push 0x18
push 0
push 1
call fcn.005a6680
movss xmm1, dword [esp + 0x54]
mov edx, eax
add esp, 0xc
test edx, edx
jne 0x5e4c44
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
nop dword [eax + eax]
mov eax, dword [edi + 0x8008]
movss xmm0, dword [eax + edx*4]
comiss xmm0, xmm1
jbe 0x5e4cf4
movss dword [eax + edx*4], xmm1
mov ecx, edx
mov eax, dword [edi + 0x800c]
sub ecx, ebx
inc ecx
mov word [eax + edx*2], cx
inc edx
cmp edx, esi
jl 0x5e4cd0
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x18], ebx
jmp 0x5e4b82
mov ebx, dword [esp + 0x14]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x5e4d25
cmp dword [ecx + 4], ebx
jge 0x5e4d25
mov eax, ecx
jmp 0x5e4d15
mov ebx, dword [esp + 0x18]
mov dword [edx + 0x14], ecx
test ecx, ecx
je 0x5e4d33
mov dword [ecx + 0x10], edx
mov dword [eax + 0x14], edx
mov dword [edx + 0x10], eax
inc dword [edi + 4]
mov ebx, dword [ebx + 0x14]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], ebx
jmp 0x5e4b82
mov edx, dword [edi + 0x8100]
test edx, edx
je 0x5e4db2
mov eax, dword [edx + 0x14]
mov dword [edi + 0x8100], eax
mov eax, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x2c]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [edx + 8], eax
mov eax, ebx
movss dword [edx], xmm1
mov dword [edx + 4], esi
test ebx, ebx
jne 0x5e4d86
mov eax, dword [edi]
test eax, eax
je 0x5e4d96
cmp esi, dword [eax + 4]
jge 0x5e4e10
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x5e4d86
mov ecx, dword [edi]
test ecx, ecx
mov dword [edx + 0x14], ecx
je 0x5e4da2
mov dword [ecx + 0x10], edx
test eax, eax
je 0x5e4e28
mov dword [eax + 0x14], edx
jmp 0x5e4e2a
mov edx, dword [edi + 0x8104]
test edx, edx
je 0x5e4dc7
mov eax, dword [edx + 0x14]
mov dword [edi + 0x8104], eax
jmp 0x5e4d5f
push 0x18
push 0
push 1
call fcn.005a6680
mov edx, eax
add esp, 0xc
test edx, edx
jne 0x5e4d5f
movss xmm1, dword [esp + 0x2c]
mov eax, dword [edi + 0x8008]
movss xmm0, dword [eax + esi*4]
comiss xmm0, xmm1
jbe 0x5e4e07
movss dword [eax + esi*4], xmm1
mov ecx, esi
mov eax, dword [edi + 0x800c]
sub ecx, dword [esp + 0x1c]
inc ecx
mov word [eax + esi*2], cx
inc esi
cmp esi, dword [esp + 0x14]
jl 0x5e4de1
jmp 0x5e4e30
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x5e4d9a
cmp dword [ecx + 4], esi
jge 0x5e4d98
mov eax, ecx
jmp 0x5e4e10
mov dword [edi], edx
mov dword [edx + 0x10], eax
inc dword [edi + 4]
mov eax, dword [esp + 0x4c]
movsd xmm0, qword [esp + 0x58]
inc eax
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x4c], eax
cmp eax, dword [edi + 0xc]
jb 0x5e4910
mov eax, dword [esp + 0x1c]
dec eax
add eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov esi, dword [esp + 0xc]
mov ebx, dword [esp + 0x20]
mov ecx, dword [edi]
test ecx, ecx
je 0x5e4f07
nop
cmp dword [ecx + 4], esi
jg 0x5e4f07
mov edx, dword [ecx + 0x14]
cmp dword [ecx + 8], esi
jg 0x5e4ed2
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x5e4e8d
mov dword [eax + 0x14], edx
jmp 0x5e4e8f
mov dword [edi], edx
test edx, edx
je 0x5e4e96
mov dword [edx + 0x10], eax
lea eax, [edi + 0x8010]
cmp ecx, eax
jb 0x5e4ebe
lea eax, [edi + 0x80e8]
cmp ecx, eax
ja 0x5e4ebe
mov eax, dword [edi + 0x8100]
mov dword [ecx + 0x14], eax
dec dword [edi + 4]
mov dword [edi + 0x8100], ecx
jmp 0x5e4efd
mov eax, dword [edi + 0x8104]
mov dword [ecx + 0x14], eax
dec dword [edi + 4]
mov dword [edi + 0x8104], ecx
jmp 0x5e4efd
movss xmm1, dword [ecx]
mov eax, esi
sub eax, dword [ecx + 0xc]
mov ecx, dword [edi + 0x8008]
movss xmm0, dword [ecx + esi*4]
comiss xmm0, xmm1
jbe 0x5e4efd
movss dword [ecx + esi*4], xmm1
lea ecx, [eax + 1]
mov eax, dword [edi + 0x800c]
mov word [eax + esi*2], cx
mov ecx, edx
test edx, edx
jne 0x5e4e70
mov eax, dword [esp + 0x40]
inc esi
movsd xmm2, qword [0x663598]
movsd xmm3, qword [0x6635a0]
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0xc], esi
cmp esi, dword [esp + 0x44]
jl 0x5e4010
mov eax, dword [ebp + 0x1c]
xor ebx, ebx
cmp dword [eax + 4], ebx
sete bl
jmp 0x5e4f48
push esi
call fcn.005d8520
add esp, 4
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x54], 0
je 0x5e4f60
lea eax, [esp + 0x74]
push eax
call fcn.005e3cd0
add esp, 4
push edi
call fcn.005e5060
push esi
call fcn.00447f00
push edi
call fcn.00447f00
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret