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

Disassembly:
sub esp, 0xd0
mov eax, dword [0x10114380]
xor eax, esp
mov dword [esp + 0xcc], eax
mov eax, dword [0x10114fd8]
push esi
mov esi, dword [esp + 0xd8]
mov dword [esp + 0x50], eax
push edi
xor edi, edi
mov dword [esp + 0x60], esi
mov eax, dword [esi + 0x160]
mov dword [esp + 0x5c], eax
movzx eax, word [esi + 0x1c8]
mov ecx, eax
mov dword [esp + 0x48], eax
movzx eax, word [esi + 0x1cc]
mov dword [esp + 8], ecx
mov ecx, eax
push 0x60
mov dword [esp + 0x18], eax
lea eax, [esp + 0x78]
push edi
push eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x70], edi
call fcn.10098270
add esp, 0xc
lea eax, [esp + 0x78]
push 4
pop ecx
and dword [eax - 4], edi
and dword [eax], edi
lea eax, [eax + 0x18]
and dword [eax - 0x14], edi
and dword [eax - 0x10], edi
sub ecx, 1
jne 0x1004ebe3
mov eax, dword [esi + 0x40]
mov ecx, dword [esp + 0x54]
add ecx, 0x5c0c
lea eax, [eax*2 + 0x23]
sar eax, 3
and eax, 0xfffffffc
imul esi, eax, 5
mov dword [esp + 0x1c], eax
push esi
call fcn.1002374d
mov eax, dword [esp + 0x54]
push esi
push edi
push dword [eax + 0x5c14]
call fcn.10098270
add esp, 0xc
lea edx, [esp + 0x88]
mov ecx, edi
mov edi, dword [esp + 0x1c]
push 4
pop esi
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 0x5c14]
add eax, ecx
add ecx, edi
mov dword [edx], eax
lea edx, [edx + 0x18]
sub esi, 1
jne 0x1004ec41
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x60]
mov eax, dword [eax + 0x5c14]
lea eax, [eax + edi*4]
xor edi, edi
mov dword [esp + 0x44], eax
mov eax, edi
mov dword [esp + 0x50], eax
cmp dword [esi + 0x40], edi
jle 0x1004f218
mov dword [esp + 0x4c], edi
xor edx, edx
mov ecx, eax
and ecx, 0x1f
inc edx
shl edx, cl
mov ecx, eax
mov eax, dword [esi + 0x30]
sar ecx, 5
test dword [eax + ecx*4], edx
je 0x1004eec4
mov esi, dword [esi + 0x10]
xor eax, eax
add esi, dword [esp + 0x4c]
mov edx, edi
cmp word [esp + 0x48], ax
mov dword [esp + 0x28], esi
setg al
mov dword [esp + 0x68], edi
inc eax
mov dword [esp + 0x20], eax
test edx, edx
jne 0x1004ecc8
movzx eax, word [esi + 0x5e]
jmp 0x1004eccc
movzx eax, word [esi + 0x60]
movzx eax, ax
imul ecx, eax, 0x18
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x5c]
add ecx, dword [eax + 0x10]
mov dword [esp + 0x2c], ecx
mov eax, dword [ecx]
mov ecx, eax
test eax, eax
jle 0x1004ed32
imul ecx, eax, 0x28
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x70]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x58], ecx
mov ecx, eax
mov esi, dword [esp + 0x58]
cmp dword [edx + esi - 0xc], edi
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x68]
jne 0x1004ed32
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x58]
cmp dword [edx + esi - 8], edi
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x68]
jne 0x1004ed32
lea ecx, [eax - 1]
mov eax, dword [esp + 0x2c]
mov dword [eax], ecx
cmp ecx, 1
jne 0x1004eea8
test dword [esi], 0x100
jne 0x1004ed76
cmp word [esp + 0x48], 0
jg 0x1004ed57
movss xmm0, dword [esi + 0x48]
maxss xmm0, dword [esi + 0x44]
jmp 0x1004ed6c
test edx, edx
jne 0x1004ed67
movss xmm0, dword [esi + 0x48]
maxss xmm0, dword [esi + 0x40]
jmp 0x1004ed6c
movss xmm0, dword [esi + 0x44]
comiss xmm0, dword [esi + 0x28]
ja 0x1004eea8
cmp word [esp + 0x14], 0
jle 0x1004ed93
mov eax, dword [esp + 0x60]
movsx eax, word [eax + 0x1cc]
cmp dword [esp + 0x50], eax
jge 0x1004ed93
mov ecx, edi
jmp 0x1004ed96
xor ecx, ecx
inc ecx
cmp word [esp + 0x48], 0
jle 0x1004eda6
test edx, edx
jne 0x1004eda6
mov eax, edi
jmp 0x1004eda9
push 2
pop eax
add eax, ecx
mov dword [esp + 0x24], eax
imul eax, eax, 0x18
mov dword [esp + 0x10], eax
lea edi, [esp + eax + 0x80]
mov dword [esp + 0x70], edi
lea ecx, [esp + eax + 0x78]
xor edi, edi
mov dword [esp + 0x58], ecx
lea edx, [esp + eax + 0x7c]
mov dword [esp + 0x40], edx
cmp dword [esp + eax + 0x84], edi
jne 0x1004edfc
mov dword [esp + eax + 0x74], 0x7f7fffff
mov dword [ecx], 0x7f7fffff
mov ecx, dword [esp + 0x70]
mov dword [edx], 0xff7fffff
mov dword [ecx], 0xff7fffff
jmp 0x1004ee0c
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x40], edx
mov dword [esp + 0x70], ecx
mov edx, dword [esp + eax + 0x88]
mov eax, dword [esp + 0x6c]
mov ecx, eax
shr ecx, 5
and eax, 0x1f
mov dword [esp + 0x6c], eax
mov esi, dword [esp + 0x6c]
mov eax, dword [edx + ecx*4]
bts eax, esi
mov esi, dword [esp + 0x28]
mov dword [edx + ecx*4], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
inc dword [esp + ecx + 0x84]
mov eax, dword [eax + 8]
movss xmm0, dword [esp + ecx + 0x74]
movss xmm4, dword [eax]
comiss xmm0, xmm4
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 8]
movss xmm3, dword [eax + 0xc]
jbe 0x1004ee6a
movss dword [esp + ecx + 0x74], xmm4
mov eax, dword [esp + 0x58]
movss xmm0, dword [eax]
comiss xmm0, xmm1
jbe 0x1004ee7b
movss dword [eax], xmm1
mov eax, dword [esp + 0x40]
comiss xmm2, dword [eax]
jbe 0x1004ee88
movss dword [eax], xmm2
mov eax, dword [esp + 0x70]
comiss xmm3, dword [eax]
jbe 0x1004ee95
movss dword [eax], xmm3
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x24]
bts eax, ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x64], eax
inc edx
mov dword [esp + 0x68], edx
cmp edx, dword [esp + 0x20]
jl 0x1004ecbe
mov eax, 0xffff
mov word [esi + 0x5c], ax
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x50]
add dword [esp + 0x4c], 0x70
inc eax
mov dword [esp + 0x50], eax
cmp eax, dword [esi + 0x40]
jl 0x1004ec83
cmp dword [esp + 0x64], 0
je 0x1004f218
mov edi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
mov eax, dword [edi + 4]
sub eax, 2
lea ecx, [ecx + 0x4a24]
push eax
call fcn.10023bd0
push dword [edi + 4]
mov eax, dword [esp + 0x58]
push 2
push dword [esp + 0x4c]
mov eax, dword [eax + 0x4a2c]
mov dword [esp + 0x78], eax
call fcn.1005172a
movzx edx, word [esi + 0x1d4]
add esp, 0xc
mov eax, dword [esp + 0x44]
mov ecx, edx
shr ecx, 5
and edx, 0x1f
mov eax, dword [eax + ecx*4]
btr eax, edx
mov edx, dword [esp + 0x44]
mov dword [edx + ecx*4], eax
xor eax, eax
cmp word [esp + 0x48], ax
mov ecx, dword [edi + 4]
lea edi, [esp + 0x30]
setg al
add esi, 0x12c
add eax, 2
sub ecx, eax
xor eax, eax
mov dword [esp + 0x68], ecx
mov ecx, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss xmm5, dword [esp + 0x3c]
movss xmm6, dword [esp + 0x38]
movss xmm7, dword [esp + 0x34]
movss xmm4, dword [esp + 0x30]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x70], ecx
imul esi, ecx, 0x18
mov edi, dword [esp + esi + 0x84]
mov dword [esp + 0x4c], edi
test edi, edi
je 0x1004f13d
lea edi, [esp + 0x74]
add esi, edi
lea edi, [esp + 0x30]
mov dword [esp + 0x64], esi
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, ecx
and edi, 1
je 0x1004efc6
cmp word [esp + 0xc], 0
jle 0x1004efc6
movss xmm3, dword [esp + 0x30]
jmp 0x1004efda
movss xmm3, dword [esp + 0x30]
comiss xmm4, xmm3
ja 0x1004efda
movaps xmm3, xmm4
movss dword [esp + 0x30], xmm3
mov esi, ecx
and esi, 2
je 0x1004eff1
cmp word [esp + 0x48], 0
jle 0x1004eff1
movss xmm2, dword [esp + 0x34]
jmp 0x1004f005
movss xmm2, dword [esp + 0x34]
comiss xmm7, xmm2
ja 0x1004f005
movaps xmm2, xmm7
movss dword [esp + 0x34], xmm2
movss xmm1, dword [esp + 0x38]
test edi, edi
je 0x1004f01d
comiss xmm1, xmm6
jae 0x1004f01d
movaps xmm1, xmm6
movss dword [esp + 0x38], xmm1
test esi, esi
je 0x1004f040
test dword [edx + 4], 0x20000
jne 0x1004f040
movss xmm0, dword [esp + 0x3c]
comiss xmm0, xmm5
jae 0x1004f046
movaps xmm0, xmm5
movss dword [esp + 0x3c], xmm0
jmp 0x1004f046
movss xmm0, dword [esp + 0x3c]
mov edi, dword [esp + 0x64]
mov esi, dword [esp + 0x68]
sub esi, dword [edi + 0x10]
mov edi, dword [esp + 0x1c]
sar edi, 2
mov dword [esp + 0x68], esi
mov esi, eax
test edi, edi
jle 0x1004f084
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x44]
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + esi*4]
not eax
and dword [edx + esi*4], eax
inc esi
cmp esi, edi
jl 0x1004f06a
mov edx, dword [esp + 0x60]
xor eax, eax
mov ecx, dword [esp + 0x70]
mov edi, dword [esp + 0x5c]
mov esi, eax
mov dword [esp + 0x58], esi
cmp dword [edi + 4], eax
jle 0x1004f141
mov dword [esp + 0x50], eax
cmp dword [esp + 0x4c], 0
je 0x1004f131
mov ecx, dword [esp + 0x64]
mov eax, esi
sar eax, 5
mov dword [esp + 0x20], eax
mov edx, dword [ecx + 0x14]
mov ecx, esi
and ecx, 0x1f
mov dword [esp + 0x24], edx
mov eax, dword [edx + eax*4]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x40], eax
xor eax, eax
inc eax
shl eax, cl
test dword [esp + 0x40], eax
je 0x1004f11e
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
btr esi, ecx
mov ecx, dword [esp + 0x24]
dec dword [esp + 0x4c]
push 6
mov dword [ecx + eax*4], esi
mov esi, dword [edi + 0x10]
mov edi, edx
add esi, dword [esp + 0x54]
add edx, 0x18
pop ecx
mov dword [esp + 0x6c], edx
mov eax, dword [esi + 8]
movss dword [eax], xmm3
movss dword [eax + 4], xmm2
movss dword [eax + 8], xmm1
movss dword [eax + 0xc], xmm0
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
add dword [esp + 0x50], 0x18
inc esi
mov dword [esp + 0x58], esi
cmp esi, dword [edi + 4]
jl 0x1004f09b
mov edx, dword [esp + 0x60]
xor eax, eax
mov ecx, dword [esp + 0x70]
jmp 0x1004f141
mov edi, dword [esp + 0x5c]
cmp ecx, 1
jne 0x1004f181
cmp word [esp + 8], 0
jle 0x1004f181
mov eax, dword [esp + 0x6c]
mov edi, eax
add eax, 0x18
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x60]
push 6
pop ecx
movzx eax, word [eax + 0x1d4]
imul esi, eax, 0x18
mov eax, dword [esp + 0x5c]
add esi, dword [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x70]
inc ecx
xor eax, eax
jmp 0x1004ef7f
inc ecx
mov dword [esp + 0x70], ecx
cmp ecx, 4
jl 0x1004ef87
mov ecx, dword [edi + 4]
test ecx, ecx
jle 0x1004f1f8
mov esi, dword [esp + 0x68]
mov dword [esp + 0x64], eax
test esi, esi
je 0x1004f1f8
xor edx, edx
mov ecx, eax
and ecx, 0x1f
sar eax, 5
inc edx
shl edx, cl
mov ecx, dword [esp + 0x44]
test dword [ecx + eax*4], edx
mov edx, dword [esp + 0x64]
je 0x1004f1e1
mov eax, dword [esp + 0x6c]
mov edi, eax
add eax, 0x18
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x5c]
push 6
pop ecx
mov esi, dword [eax + 0x10]
add esi, edx
dec dword [esp + 0x68]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x68]
mov edi, eax
mov eax, dword [esp + 0x18]
add edx, 0x18
mov ecx, dword [edi + 4]
inc eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x64], edx
cmp eax, ecx
jl 0x1004f19e
imul eax, ecx, 0x18
sub eax, 0x30
push eax
mov eax, dword [esp + 0x58]
push dword [eax + 0x4a2c]
mov eax, dword [edi + 0x10]
add eax, 0x30
push eax
call fcn.10097cf0
add esp, 0xc
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
xor ecx, esp
call fcn.1009543c
add esp, 0xd0
ret