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

Disassembly:
sub esp, 0x94
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, edx
mov dword [esp + 0x38], edi
cmp byte [esi + 0x67], 0
je 0x1007709d
call fcn.10075e20
mov ebp, dword [0x10159260]
mov eax, dword [ebp + 0x1b94]
mov dword [esp + 0x28], eax
cmp byte [eax + 0x8f], 0
jne 0x10077170
mov edx, edi
mov ecx, esi
call fcn.10076910
mov ebx, eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x40], eax
test eax, eax
je 0x1007717f
cmp byte [eax], 0
jne 0x1007717f
mov eax, dword [ebp + 0x1b94]
add ebp, 0x1cbc
mov edi, dword [eax + 0x1b0]
or edi, 0x18
mov dword [eax + 0x1b0], edi
mov esi, dword [ebp + 4]
mov ecx, dword [ebp]
cmp ecx, esi
jne 0x10077128
inc ecx
test esi, esi
je 0x10077116
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1007711b
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, ebp
call fcn.10052950
mov ecx, dword [ebp]
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
mov edx, ebx
push 0
movups xmmword [esp + 0x4c], xmm0
mov dword [eax + ecx*4], edi
lea ecx, [esp + 0x4c]
inc dword [ebp]
call fcn.1004c670
mov eax, dword [0x10159260]
mov edx, dword [eax + 0x1b94]
dec dword [eax + 0x1cbc]
mov ecx, dword [eax + 0x1cbc]
mov eax, dword [eax + 0x1cc4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1b0], eax
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 8
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x24], ecx
test ecx, 0x100000
je 0x1007719a
xor eax, eax
mov dword [esp + 0x40], eax
jmp 0x100771a8
test eax, eax
jne 0x100771aa
or ecx, 0x100000
mov dword [esp + 0x24], ecx
test eax, eax
setne dl
mov ecx, edi
call fcn.10077a20
movss dword [esp + 0x5c], xmm1
movss dword [esp + 0x58], xmm0
test ebx, ebx
je 0x100771e6
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
jle 0x100771e6
mov edi, dword [esi + 8]
lea edx, [esi + 8]
mov dword [esp + 0x18], edx
cmp dword [edi], ebx
je 0x10077269
inc eax
add edi, 0x24
cmp eax, ecx
jl 0x100771d6
lea eax, [esi + 8]
mov dword [esp + 0x18], eax
mov edi, dword [esi + 4]
xor eax, eax
mov ecx, dword [esi]
xorps xmm0, xmm0
mov word [esp + 0x9e], ax
or eax, 0xffffffff
movlpd qword [esp + 0x7c], xmm0
movlpd qword [esp + 0x8c], xmm0
mov dword [esp + 0x94], 0
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x84], 0xffffffff
mov word [esp + 0x9c], ax
mov word [esp + 0x9a], ax
mov word [esp + 0x98], ax
cmp ecx, edi
jne 0x1007737a
inc ecx
test edi, edi
je 0x10077368
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1007736d
mov byte [esp + 0x15], 0
test edi, edi
je 0x100771ed
movss xmm0, dword [esp + 0x58]
mov ecx, edi
mov eax, 0x38e38e39
sub ecx, dword [edx]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov word [esi + 0x6c], ax
movss dword [edi + 0x18], xmm0
movzx ecx, word [esi + 0x6a]
lea eax, [ecx + 1]
mov word [esi + 0x6a], ax
mov word [edi + 0x1e], cx
mov eax, dword [esi + 0x24]
mov ecx, dword [ebp + 0x1b38]
inc eax
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0xc]
shr eax, 0x15
and eax, 0xffffff01
mov dword [esp + 0x34], ecx
mov dword [esp + 0x60], eax
mov eax, dword [edi + 8]
inc eax
mov dword [edi + 8], ecx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [edi + 4], eax
mov ecx, dword [esi + 0x84]
shr edx, 0x15
and edx, 0xffffff01
mov dword [esp + 0x1c], edx
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
and ecx, eax
mov word [edi + 0x1c], cx
mov ecx, dword [esp + 0x38]
mov edx, ecx
lea eax, [edx + 1]
mov dword [esp + 0x2c], eax
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10077310
sub edx, dword [esp + 0x2c]
lea eax, [ecx + 1]
add eax, edx
push eax
push ecx
lea ecx, [esi + 0x84]
call fcn.10040f10
mov edx, dword [esp + 0x34]
cmp dword [esp + 0x3c], edx
jge 0x100773d6
test byte [esi + 0xc], 2
je 0x100773d6
cmp dword [esi + 0x18], 0
jne 0x100773d6
cmp dword [esp + 0x18], edx
jge 0x1007735b
cmp dword [esi + 0x14], 0
jne 0x100773d6
mov eax, dword [esp + 0x1c]
test al, al
jne 0x100773da
mov dword [esi + 0x18], ebx
jmp 0x100773da
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10052c40
mov eax, dword [esi]
mov ecx, dword [esp + 0x18]
movups xmm0, xmmword [esp + 0x7c]
mov byte [esp + 0x15], 1
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x9c]
mov ecx, dword [ecx]
movups xmmword [ecx + edx*4], xmm0
movups xmm0, xmmword [esp + 0x8c]
movups xmmword [ecx + edx*4 + 0x10], xmm0
mov dword [ecx + edx*4 + 0x20], eax
inc dword [esi]
mov eax, dword [esi]
mov edx, dword [esp + 0x18]
movss xmm0, dword [esp + 0x58]
lea edi, [eax + eax*8]
mov eax, dword [edx]
lea edi, [edi - 9]
mov dword [eax + edi*4], ebx
movss dword [eax + edi*4 + 0x14], xmm0
mov byte [esi + 0x69], 1
lea edi, [eax + edi*4]
jmp 0x1007727c
mov eax, dword [esp + 0x1c]
test byte [esp + 0x24], 2
je 0x100773ed
cmp dword [esi + 0x14], ebx
je 0x100773ed
test al, al
jne 0x100773ed
mov dword [esi + 0x18], ebx
cmp dword [esi + 0x1c], ebx
sete cl
mov dword [esp + 0x30], ecx
mov byte [esp + 0x64], cl
jne 0x10077401
mov byte [esi + 0x68], 1
mov eax, dword [esp + 0x18]
test cl, cl
jne 0x10077434
cmp dword [esi + 0x14], 0
jne 0x10077434
cmp eax, edx
jge 0x10077434
cmp dword [esi], 1
jne 0x10077434
test byte [esi + 0xc], 2
movzx ecx, cl
mov dword [esp + 0x2c], 1
cmove ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], ecx
mov byte [esp + 0x64], cl
cmp dword [esp + 0x3c], edx
jge 0x100774fc
cmp eax, edx
jge 0x1007744d
cmp byte [esp + 0x15], 0
je 0x100774fc
mov ecx, dword [0x10159260]
lea esi, [ecx + 0x1cbc]
mov eax, dword [ecx + 0x1b94]
mov ebp, dword [eax + 0x1b0]
or ebp, 0x18
mov dword [eax + 0x1b0], ebp
mov edi, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, edi
jne 0x10077499
inc ecx
test edi, edi
je 0x10077487
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1007748c
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10052950
mov ecx, dword [esi]
xorps xmm0, xmm0
mov eax, dword [esi + 8]
mov edx, ebx
push 0
movups xmmword [esp + 0x4c], xmm0
mov dword [eax + ecx*4], ebp
lea ecx, [esp + 0x4c]
inc dword [esi]
call fcn.1004c670
mov ecx, dword [0x10159260]
mov esi, dword [ecx + 0x1b94]
dec dword [ecx + 0x1cbc]
cmp byte [esp + 0x1c], 0
mov edx, dword [ecx + 0x1cbc]
mov ecx, dword [ecx + 0x1cc4]
mov ecx, dword [ecx + edx*4 - 4]
mov dword [esi + 0x1b0], ecx
jne 0x10077170
mov al, byte [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 8
cmp dword [esi + 0x14], ebx
jne 0x1007750a
mov eax, dword [ebp + 0x1b38]
mov dword [edi + 0xc], eax
mov edx, dword [esp + 0x28]
mov eax, dword [edi + 4]
movss xmm2, dword [edi + 0x14]
and eax, 0xc0
movss xmm1, dword [edi + 0x10]
movss xmm0, dword [edx + 0xcc]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [edx + 0xd0]
movss dword [esp + 0x2c], xmm0
mov dword [esp + 0x70], eax
movss dword [esp + 0x78], xmm2
jne 0x10077558
subss xmm1, dword [esi + 0x48]
cvttss2si eax, xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
addss xmm1, dword [esi + 0x28]
mov eax, 4
movss xmm4, dword [eax + esi + 0x28]
movaps xmm0, xmm1
addss xmm0, xmm2
movss dword [edx + 0xcc], xmm1
movaps xmm2, xmm4
movss dword [edx + 0xd0], xmm4
cmp dword [esp + 0x70], 0
addss xmm2, dword [esp + 0x5c]
movss dword [esp + 0x44], xmm4
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x4c], xmm4
movss dword [esp + 0x50], xmm0
movss dword [esp + 0x58], xmm2
movss dword [esp + 0x54], xmm2
jne 0x10077615
movss xmm3, dword [esi + 0x58]
comiss xmm3, xmm1
ja 0x100775c3
comiss xmm0, dword [esi + 0x5c]
jbe 0x10077615
movss xmm0, dword [esi + 0x5c]
maxss xmm3, xmm1
movss dword [esp + 0x70], xmm0
lea edx, [esp + 0x70]
movaps xmm0, xmm4
mov byte [esp + 0x17], 1
subss xmm0, dword [0x10150be4]
push 1
lea ecx, [esp + 0x6c]
movss dword [esp + 0x78], xmm2
movss dword [esp + 0x6c], xmm3
movss dword [esp + 0x70], xmm0
call fcn.100467d0
movss xmm2, dword [esp + 0x58]
movss xmm4, dword [esp + 0x44]
mov edx, dword [esp + 0x28]
jmp 0x1007761a
mov byte [esp + 0x17], 0
movss xmm0, dword [edx + 0xe4]
subss xmm2, xmm4
movss xmm7, dword [edx + 0xe8]
lea ecx, [esp + 0x68]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x78]
movss dword [esp + 0x68], xmm0
movss xmm0, dword [ebp + 0x1554]
movss dword [esp + 0x6c], xmm2
call fcn.1004c540
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x48]
movss xmm0, dword [esp + 0x44]
mov edx, ebx
push 0
movss dword [eax + 0xe4], xmm0
movss dword [eax + 0xe8], xmm7
call fcn.1004c670
test al, al
jne 0x100776be
cmp byte [esp + 0x17], al
je 0x1007768d
call fcn.10046850
mov eax, dword [esp + 0x28]
movss xmm0, dword [esp + 0x18]
movss dword [eax + 0xcc], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [eax + 0xd0], xmm0
mov al, byte [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 8
mov eax, dword [esp + 0x1c]
mov edx, 0x1000
movzx ecx, al
mov eax, 0x1200
inc ecx
shl ecx, 4
cmp byte [ebp + 0x1e3c], 0
cmove eax, edx
mov edx, ebx
or ecx, eax
lea eax, [esp + 0x15]
push ecx
push eax
lea eax, [esp + 0x1e]
push eax
lea ecx, [esp + 0x54]
call fcn.10062610
mov byte [esp + 0x23], al
test al, al
je 0x10077707
cmp byte [esp + 0x1c], 0
jne 0x10077707
mov dword [esi + 0x18], ebx
cmp dword [ebp + 0x1bb4], ebx
mov dl, byte [esp + 0x16]
mov ecx, dword [0x10159260]
sete al
or dl, al
mov byte [esp + 0x16], dl
cmp dword [ebp + 0x1bc8], ebx
je 0x10077752
mov eax, dword [ecx + 0x1b94]
mov eax, dword [eax + 0x118]
cmp dword [ecx + 0x1bb4], eax
jne 0x10077743
mov byte [ecx + 0x1bbc], 1
cmp dword [ecx + 0x1bc8], eax
jne 0x10077752
mov byte [ecx + 0x1bd5], 1
cmp byte [esp + 0x15], 0
je 0x100777ee
mov eax, dword [esp + 0x3c]
cmp eax, dword [esp + 0x34]
jl 0x100777ee
cmp byte [ecx + 0xec], 0
je 0x100777ee
movss xmm1, dword [ecx + 0x30]
movss xmm0, dword [ecx + 0x444]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x100777ee
cmp byte [ebp + 0x1e3c], 0
jne 0x100777ee
test byte [esi + 0xc], 1
je 0x100777ee
movss xmm1, dword [ebp + 0x374]
xorps xmm2, xmm2
comiss xmm2, xmm1
jbe 0x100777bd
movss xmm0, dword [esp + 0x48]
comiss xmm0, dword [ebp + 0xe4]
ja 0x100777d1
comiss xmm1, xmm2
jbe 0x100777ee
movss xmm0, dword [ebp + 0xe4]
comiss xmm0, dword [esp + 0x50]
jbe 0x100777ee
movss xmm1, dword [ebp + 0xe8]
mov edx, edi
movss xmm0, dword [ebp + 0xe4]
mov ecx, esi
call fcn.10076990
mov dl, byte [esp + 0x16]
cmp byte [esp + 0x15], 0
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x288]
mov dword [esp + 0x34], eax
jne 0x10077834
test dl, dl
jne 0x10077834
cmp byte [esp + 0x30], dl
je 0x10077820
mov eax, dword [esp + 0x60]
movzx eax, al
xor eax, 1
lea ecx, [eax*2 + 0x23]
jmp 0x10077839
cmp byte [esp + 0x60], 0
mov ecx, 0x24
mov edx, 0x21
cmovne ecx, edx
jmp 0x10077839
mov ecx, 0x22
movss xmm0, dword [0x10150be4]
call fcn.10041580
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x48]
push eax
push dword [esp + 0x28]
call fcn.10077b20
push 1
mov edx, ebx
lea ecx, [esp + 0x4c]
call fcn.100427a0
mov ecx, 8
call fcn.100433a0
test al, al
je 0x100778a1
mov ecx, dword [0x10159260]
movss xmm0, dword [ecx + 0x3f8]
ucomiss xmm0, dword [0x10147fa0]
lahf
test ah, 0x44
jnp 0x10077897
cmp byte [ecx + 0x3e3], 0
je 0x100778a1
cmp byte [esp + 0x1c], 0
jne 0x100778a1
mov dword [esi + 0x18], ebx
test byte [esi + 0xc], 8
je 0x100778ac
or dword [esp + 0x24], 4
cmp dword [esp + 0x40], 0
je 0x100778e6
push ebx
xor edx, edx
mov ecx, str.CLOSE
call fcn.10040740
mov ecx, eax
mov eax, dword [0x10159260]
cmp dword [eax + 0x1bc8], ecx
jne 0x100778d5
mov dword [eax + 0x1bcc], ecx
cmp dword [eax + 0x1c04], ecx
jne 0x100778e8
mov byte [eax + 0x1c08], 1
jmp 0x100778e8
xor ecx, ecx
movss xmm0, dword [esi + 0x74]
lea eax, [esp + 0x22]
movss xmm1, dword [esi + 0x78]
lea edx, [esp + 0x48]
push eax
lea eax, [esp + 0x1a]
push eax
push dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x44]
push ebx
push dword [esp + 0x4c]
push dword [esp + 0x3c]
call fcn.10077f30
cmp byte [esp + 0x16], 0
je 0x1007795b
mov eax, dword [esp + 0x40]
test eax, eax
je 0x1007795b
mov byte [eax], 0
test byte [edi + 4], 1
jne 0x10077951
mov byte [edi + 0x22], 1
mov eax, dword [esi + 0x1c]
cmp eax, dword [edi]
jne 0x1007795b
mov dword [edi + 8], 0xffffffff
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
jmp 0x1007795b
mov eax, dword [edi]
cmp dword [esi + 0x1c], eax
je 0x1007795b
mov dword [esi + 0x18], eax
cmp byte [esp + 0x17], 0
je 0x10077967
call fcn.10046850
cmp byte [esp + 0x22], 0
mov eax, dword [esp + 0x28]
movss xmm0, dword [esp + 0x18]
movss dword [eax + 0xcc], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [eax + 0xd0], xmm0
je 0x100779f7
cmp dword [ebp + 0x1bb4], ebx
jne 0x100779f7
cmp byte [esp + 0x15], 0
jne 0x100779f7
movss xmm0, dword [ebp + 0x1bc4]
comiss xmm0, dword [ebp + 0x2e64]
jbe 0x100779f7
xor ecx, ecx
call fcn.100433a0
test al, al
je 0x100779f7
test byte [esi + 0xc], 0x20
jne 0x100779f7
test byte [edi + 4], 0x10
jne 0x100779f7
mov eax, dword [esp + 0x38]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x100779e6
mov dl, byte [ecx]
test dl, dl
je 0x100779e6
cmp dl, 0x23
jne 0x100779e0
cmp byte [ecx + 1], dl
je 0x100779e6
inc ecx
cmp ecx, 0xffffffff
jb 0x100779d0
push eax
sub ecx, eax
push ecx
push str._.s
call fcn.1004d640
add esp, 0xc
mov eax, dword [esp + 0x30]
cmp byte [esp + 0x1c], 0
movzx ecx, byte [esp + 0x23]
pop edi
pop esi
movzx eax, al
pop ebp
cmovne eax, ecx
pop ebx
add esp, 0x94
ret 8