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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x1009c018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov dword [ebp - 0x38], ebx
cmp byte [edi + 0x67], 0
je 0x100510a8
call fcn.1004fe20
mov eax, dword [0x1009fce4]
mov dword [ebp - 0x24], eax
mov eax, dword [eax + 0x1b98]
mov dword [ebp - 0x20], eax
cmp byte [eax + 0x8f], 0
je 0x100510d5
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007e605
mov esp, ebp
pop ebp
ret
mov edx, ebx
mov ecx, edi
call fcn.10050800
mov esi, eax
lea ecx, [ebp - 0x64]
push 0
mov edx, ebx
mov dword [ebp - 0x50], esi
call fcn.100519a0
add esp, 4
test esi, esi
je 0x10051113
mov ecx, dword [edi]
xor eax, eax
test ecx, ecx
jle 0x10051113
mov ebx, dword [edi + 8]
lea edx, [edi + 8]
mov dword [ebp - 0x28], edx
cmp dword [ebx], esi
je 0x10051186
inc eax
add ebx, 0x28
cmp eax, ecx
jl 0x10051107
lea eax, [edi + 8]
mov edx, eax
mov dword [ebp - 0x28], eax
mov ebx, dword [edi + 4]
or eax, 0xffffffff
mov ecx, dword [edi]
xorps xmm0, xmm0
movlpd qword [ebp - 0x94], xmm0
movlpd qword [ebp - 0x84], xmm0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x88], 0xffffffff
mov dword [ebp - 0x8c], 0xffffffff
mov dword [ebp - 0x78], 0xffffffff
mov word [ebp - 0x72], ax
mov word [ebp - 0x74], ax
cmp ecx, ebx
jne 0x100512e6
inc ecx
test ebx, ebx
je 0x100512d1
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
add eax, ebx
jmp 0x100512d6
mov byte [ebp - 0x15], 0
test ebx, ebx
je 0x1005111b
movss xmm0, dword [ebp - 0x64]
mov ecx, ebx
mov eax, 0x66666667
sub ecx, dword [edx]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov word [edi + 0x6c], ax
movss dword [ebx + 0x18], xmm0
movzx ecx, word [edi + 0x6a]
lea eax, [ecx + 1]
mov word [edi + 0x6a], ax
mov word [ebx + 0x20], cx
mov eax, dword [edi + 0x24]
mov ecx, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0xc]
shr eax, 0x15
mov edx, dword [ecx + 0x1b38]
and eax, 0xffffff01
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 8]
inc eax
mov dword [ebx + 8], edx
mov dword [ebx + 4], 0x100000
mov ecx, dword [edi + 0x84]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], edx
lea eax, [ecx - 1]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebx + 0x1c], ecx
mov ecx, dword [ebp - 0x38]
mov edx, ecx
lea eax, [edx + 1]
mov dword [ebp - 0x2c], eax
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x10051210
sub edx, dword [ebp - 0x2c]
lea eax, [ecx + 1]
add eax, edx
push eax
push ecx
lea ecx, [edi + 0x84]
call fcn.10018c10
mov edx, dword [ebp - 0x34]
cmp dword [ebp - 0x28], edx
jge 0x1005124e
test byte [edi + 0xc], 2
je 0x1005124e
cmp dword [edi + 0x18], 0
jne 0x1005124e
cmp dword [ebp - 0x1c], edx
jge 0x1005124b
cmp dword [edi + 0x14], 0
jne 0x1005124e
mov dword [edi + 0x18], esi
cmp dword [edi + 0x1c], esi
sete cl
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x58], cl
jne 0x10051260
mov byte [edi + 0x68], 1
mov eax, dword [ebp - 0x1c]
test cl, cl
jne 0x1005128e
cmp dword [edi + 0x14], 0
jne 0x1005128e
cmp eax, edx
jge 0x1005128e
cmp dword [edi], 1
jne 0x1005128e
test byte [edi + 0xc], 2
movzx ecx, cl
mov dword [ebp - 0x2c], 1
cmove ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x58], cl
cmp dword [ebp - 0x28], edx
jge 0x10051339
cmp eax, edx
jge 0x100512a5
cmp byte [ebp - 0x15], 0
je 0x10051339
xorps xmm0, xmm0
lea ecx, [ebp - 0x14]
push 0x18
push 0
mov edx, esi
movups xmmword [ebp - 0x14], xmm0
call fcn.100246a0
mov al, byte [ebp - 0x30]
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007e605
mov esp, ebp
pop ebp
ret
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1003bdf0
mov edx, dword [ebp - 0x28]
mov eax, dword [edi]
movups xmm0, xmmword [ebp - 0x94]
mov byte [ebp - 0x15], 1
lea ecx, [eax + eax*4]
mov eax, dword [edx]
movups xmmword [eax + ecx*8], xmm0
movups xmm0, xmmword [ebp - 0x84]
movups xmmword [eax + ecx*8 + 0x10], xmm0
movq xmm0, qword [ebp - 0x74]
movq qword [eax + ecx*8 + 0x20], xmm0
inc dword [edi]
mov eax, dword [edi]
movss xmm0, dword [ebp - 0x64]
lea ebx, [eax + eax*4]
mov eax, dword [edx]
lea ebx, [ebx - 5]
mov dword [eax + ebx*8], esi
movss dword [eax + ebx*8 + 0x14], xmm0
lea ebx, [eax + ebx*8]
mov byte [edi + 0x69], 1
jmp 0x10051193
cmp dword [edi + 0x14], esi
jne 0x1005134a
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x1b38]
mov dword [ebx + 0xc], eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebx + 4]
movss xmm1, dword [ebx + 0x10]
and eax, 0xc0
mov dword [ebp - 0x40], eax
movss xmm0, dword [ecx + 0xd0]
movss dword [ebp - 0x5c], xmm0
movss xmm0, dword [ecx + 0xd4]
movss dword [ebp - 0x2c], xmm0
movss xmm0, dword [ebx + 0x14]
jne 0x10051391
subss xmm1, dword [edi + 0x48]
cvttss2si eax, xmm1
movd xmm1, eax
mov eax, dword [ebp - 0x40]
cvtdq2ps xmm1, xmm1
movss xmm6, dword [0x10093af0]
mov esi, 4
xorps xmm2, xmm2
addss xmm1, dword [edi + 0x28]
movss dword [ebp - 0x1c], xmm1
movss xmm4, dword [edi + esi + 0x28]
mov esi, dword [ebp - 0x50]
addss xmm4, xmm2
movss dword [ecx + 0xd0], xmm1
movaps xmm2, xmm1
movss dword [ebp - 0x14], xmm1
addss xmm2, xmm0
movss dword [ebp - 0x44], xmm4
movaps xmm3, xmm4
movss dword [ecx + 0xd4], xmm4
movss dword [ebp - 0x40], xmm2
movss dword [ebp - 0x10], xmm4
movss dword [ebp - 0xc], xmm2
addss xmm3, dword [ebp - 0x60]
movss dword [ebp - 0x60], xmm3
movss dword [ebp - 8], xmm3
test eax, eax
jne 0x100514d1
movss xmm5, dword [edi + 0x58]
comiss xmm5, xmm1
ja 0x10051416
comiss xmm2, dword [edi + 0x5c]
jbe 0x100514d1
movss xmm0, dword [edi + 0x5c]
mov ecx, dword [0x1009fce4]
movss dword [ebp - 0x6c], xmm0
movaps xmm0, xmm1
maxss xmm0, xmm5
movss dword [ebp - 0x68], xmm3
push dword [ebp - 0x68]
mov eax, dword [ecx + 0x1b98]
push dword [ebp - 0x6c]
mov byte [ebp - 0x16], 1
movss dword [ebp - 0x4c], xmm0
movaps xmm0, xmm4
subss xmm0, xmm6
mov byte [eax + 0x8c], 1
mov esi, dword [ecx + 0x1b98]
mov ecx, dword [esi + 0x240]
movss dword [ebp - 0x48], xmm0
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push 1
call fcn.10033c70
mov eax, dword [esi + 0x240]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
movss xmm0, dword [eax + ecx*8 - 0xc]
mov eax, dword [eax + ecx*8 - 0x10]
mov ecx, dword [ebp - 0x20]
mov dword [esi + 0x1ec], eax
movss dword [esi + 0x1f0], xmm0
movss dword [esi + 0x1f4], xmm1
movss dword [esi + 0x1f8], xmm2
movss xmm1, dword [ebp - 0x1c]
movss xmm2, dword [ebp - 0x40]
movss xmm3, dword [ebp - 0x60]
movss xmm4, dword [ebp - 0x44]
mov esi, dword [ebp - 0x50]
jmp 0x100514d5
mov byte [ebp - 0x16], 0
mov eax, dword [ebp - 0x24]
subss xmm2, xmm1
movss xmm0, dword [ecx + 0xe8]
subss xmm3, xmm4
movss xmm7, dword [ecx + 0xec]
lea ecx, [ebp - 0x4c]
movss dword [ebp - 0x44], xmm0
movss xmm1, dword [eax + 0x1558]
movss dword [ebp - 0x4c], xmm2
movss dword [ebp - 0x48], xmm3
call fcn.10024570
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x14]
movss xmm0, dword [ebp - 0x44]
mov edx, esi
push 0
push 0
movss dword [eax + 0xe8], xmm0
movss dword [eax + 0xec], xmm7
call fcn.100246a0
add esp, 8
test al, al
jne 0x10051577
cmp byte [ebp - 0x16], al
je 0x10051546
call fcn.1001e1e0
mov eax, dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x5c]
movss dword [eax + 0xd0], xmm0
movss xmm0, dword [ebp - 0x2c]
movss dword [eax + 0xd4], xmm0
mov al, byte [ebp - 0x30]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007e605
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x24]
mov edx, 0x1010
mov eax, 0x1210
cmp byte [ecx + 0x1e8c], 0
lea ecx, [ebp - 0x14]
cmove eax, edx
mov edx, esi
push eax
lea eax, [ebp - 0x15]
push eax
lea eax, [ebp - 0x17]
push eax
call fcn.1003f070
add esp, 0xc
test al, al
je 0x100515ab
mov dword [edi + 0x18], esi
mov ecx, dword [ebp - 0x24]
mov eax, dword [0x1009fce4]
cmp dword [ecx + 0x1bd0], esi
je 0x100515df
mov edx, dword [eax + 0x1c38]
cmp dword [eax + 0x1bbc], edx
jne 0x100515d0
mov byte [eax + 0x1bc4], 1
cmp dword [eax + 0x1bd0], edx
jne 0x100515df
mov byte [eax + 0x1bdd], 1
cmp byte [ebp - 0x15], 0
je 0x1005166d
mov edx, dword [ebp - 0x34]
cmp dword [ebp - 0x28], edx
jl 0x1005166d
cmp byte [eax + 0xec], 0
je 0x1005166d
movss xmm1, dword [eax + 0x30]
movss xmm0, dword [eax + 0x450]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
test al, al
je 0x1005166d
cmp byte [ecx + 0x1e8c], 0
jne 0x1005166d
test byte [edi + 0xc], 1
je 0x1005166d
movss xmm1, dword [ecx + 0x370]
xorps xmm2, xmm2
comiss xmm2, xmm1
jbe 0x10051642
movss xmm0, dword [ebp - 0x14]
comiss xmm0, dword [ecx + 0xe4]
ja 0x10051655
comiss xmm1, xmm2
jbe 0x1005166d
movss xmm0, dword [ecx + 0xe4]
comiss xmm0, dword [ebp - 0xc]
jbe 0x1005166d
push dword [ecx + 0xe8]
mov edx, ebx
push dword [ecx + 0xe4]
mov ecx, edi
call fcn.100508e0
add esp, 8
cmp byte [ebp - 0x15], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x240]
mov dword [ebp - 0x34], eax
jne 0x100516b0
cmp byte [ebp - 0x17], 0
jne 0x100516b0
cmp byte [ebp - 0x30], 0
je 0x1005169d
mov eax, dword [ebp - 0x54]
movzx eax, al
xor eax, 1
lea ecx, [eax*2 + 0x23]
jmp 0x100516b5
cmp byte [ebp - 0x54], 0
mov ecx, 0x24
mov edx, 0x21
cmovne ecx, edx
jmp 0x100516b5
mov ecx, 0x22
movss xmm1, dword [0x10093af0]
call fcn.10018da0
mov ecx, dword [ebp - 0x34]
lea edx, [ebp - 0x14]
push eax
push 0x100000
call fcn.10051aa0
push 1
mov edx, esi
lea ecx, [ebp - 0x14]
call fcn.10019970
mov ecx, dword [0x1009fce4]
add esp, 0xc
cmp byte [ecx + 0x1d87], 0
mov edx, dword [ecx + 0x1b98]
je 0x10051732
cmp byte [ecx + 0x1d86], 0
jne 0x10051732
test byte [ecx + 0x1c3c], 4
jne 0x100517dc
mov eax, dword [ecx + 0x1d44]
cmp eax, dword [ecx + 0x1c38]
jne 0x10051723
test eax, eax
je 0x10051723
mov al, 1
jmp 0x10051725
xor al, al
test al, al
je 0x100517dc
jmp 0x100517bb
mov eax, dword [ecx + 0x1c40]
test al, 1
je 0x100517dc
cmp dword [ecx + 0x1b9c], edx
je 0x10051750
test al, al
jns 0x100517dc
mov eax, dword [ecx + 0x1bd0]
test eax, eax
je 0x10051770
cmp eax, dword [ecx + 0x1c38]
je 0x10051770
cmp byte [ecx + 0x1bdd], 0
jne 0x10051770
cmp eax, dword [edx + 0x50]
jne 0x100517dc
mov eax, dword [ecx + 0x1d40]
test eax, eax
je 0x1005179e
mov eax, dword [eax + 0x2d8]
test eax, eax
je 0x1005179e
cmp byte [eax + 0x8b], 0
je 0x1005179e
cmp eax, dword [edx + 0x2d8]
je 0x1005179e
test dword [eax + 8], 0x8000000
jne 0x100517dc
test byte [ecx + 0x1c3c], 4
jne 0x100517dc
mov eax, dword [ecx + 0x1c38]
cmp eax, dword [edx + 0x50]
jne 0x100517bb
cmp byte [edx + 0x8c], 0
jne 0x100517dc
movss xmm0, dword [ecx + 0x404]
ucomiss xmm0, dword [0x10093a14]
lahf
test ah, 0x44
jnp 0x100517d9
cmp byte [ecx + 0x3eb], 0
je 0x100517dc
mov dword [edi + 0x18], esi
push dword [edi + 0x78]
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x17]
push dword [edi + 0x74]
lea edx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x39]
push eax
push dword [ebp - 0x58]
mov eax, dword [edi + 0xc]
push 0
and eax, 8
push esi
push dword [ebp - 0x38]
or eax, 0x200000
shr eax, 1
push eax
call fcn.10051ef0
add esp, 0x24
cmp byte [ebp - 0x16], 0
je 0x1005181a
call fcn.1001e1e0
cmp byte [ebp - 0x17], 0
mov eax, dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x5c]
movss dword [eax + 0xd0], xmm0
movss xmm0, dword [ebp - 0x2c]
movss dword [eax + 0xd4], xmm0
je 0x10051989
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x1bbc], esi
jne 0x10051989
cmp byte [ebp - 0x15], 0
jne 0x10051989
movss xmm0, dword [eax + 0x1bcc]
comiss xmm0, dword [eax + 0x2ef0]
jbe 0x10051989
mov eax, dword [0x1009fce4]
cmp byte [eax + 0x1d87], 0
mov ecx, dword [eax + 0x1b98]
je 0x100518be
cmp byte [eax + 0x1d86], 0
jne 0x100518be
test byte [eax + 0x1c3c], 4
jne 0x10051989
mov ecx, dword [eax + 0x1d44]
cmp ecx, dword [eax + 0x1c38]
jne 0x100518af
test ecx, ecx
je 0x100518af
mov al, 1
jmp 0x100518b1
xor al, al
test al, al
je 0x10051989
jmp 0x1005194c
mov edx, dword [eax + 0x1c40]
test dl, 1
je 0x10051989
cmp dword [eax + 0x1b9c], ecx
je 0x100518dd
test dl, dl
jns 0x10051989
mov edx, dword [eax + 0x1bd0]
test edx, edx
je 0x10051901
cmp edx, dword [eax + 0x1c38]
je 0x10051901
cmp byte [eax + 0x1bdd], 0
jne 0x10051901
cmp edx, dword [ecx + 0x50]
jne 0x10051989
mov edx, dword [eax + 0x1d40]
test edx, edx
je 0x1005192f
mov edx, dword [edx + 0x2d8]
test edx, edx
je 0x1005192f
cmp byte [edx + 0x8b], 0
je 0x1005192f
cmp edx, dword [ecx + 0x2d8]
je 0x1005192f
test dword [edx + 8], 0xc000000
jne 0x10051989
test byte [eax + 0x1c3c], 4
jne 0x10051989
mov eax, dword [eax + 0x1c38]
cmp eax, dword [ecx + 0x50]
jne 0x1005194c
cmp byte [ecx + 0x8c], 0
jne 0x10051989
test byte [edi + 0xc], 0x20
jne 0x10051989
test byte [ebx + 4], 0x10
jne 0x10051989
mov eax, dword [ebp - 0x38]
mov ecx, eax
cmp eax, 0xffffffff
jae 0x10051978
mov dl, byte [ecx]
test dl, dl
je 0x10051978
cmp dl, 0x23
jne 0x10051972
cmp byte [ecx + 1], dl
je 0x10051978
inc ecx
cmp ecx, 0xffffffff
jb 0x10051962
push eax
sub ecx, eax
push ecx
push str._.s
call fcn.100255c0
add esp, 0xc
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x30]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1007e605
mov esp, ebp
pop ebp
ret