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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov dl, byte [0x1016c3a4]
sub esp, 0x34
mov eax, dword [ebp + 0x24]
test dl, dl
mov ecx, 1
cmovne eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp + 0x24], eax
push edi
mov edi, dword [ebp + 8]
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0x14c
test esi, esi
jne 0x533db4
push 0x1014d1bc
push ebx
call dword [0x101472b4]
mov dl, byte [0x1016c3a4]
mov esi, eax
mov dword [ebp + 0xc], esi
mov eax, dword [ebp + 0x2c]
movsx ecx, ax
test ecx, ecx
mov dword [esp + 0x34], 0
mov eax, ecx
cmovs eax, dword [esp + 0x34]
mov dword [edi + 0x64], eax
mov eax, dword [ebp + 0x38]
mov dword [edi + 0x24], eax
mov eax, dword [ebp + 0x48]
mov dword [edi + 0x5c], eax
test esi, esi
je 0x533fa6
movss xmm1, dword [esi + 0x10c]
movss xmm0, dword [0x10156560]
mov eax, dword [ebp + 0x1c]
ucomiss xmm1, xmm0
mov dword [edi + 0x124], eax
mov eax, dword [ebp + 0x20]
mov dword [edi + 0x128], eax
movss dword [edi + 0x10c], xmm1
lahf
test ah, 0x44
jnp 0x533e4c
movd xmm0, dword [ebp + 0x14]
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.0060fbc1
movss xmm0, dword [0x10156560]
add esp, 8
fstp qword [esp + 0x38]
cvttsd2si ecx, qword [esp + 0x38]
mov dword [esp + 0x34], ecx
jmp 0x533e53
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x34], eax
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x533e9b
movd xmm0, dword [ebp + 0x18]
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.0060fbc1
movss xmm0, dword [0x10156560]
add esp, 8
fstp qword [esp + 0x38]
cvttsd2si ecx, qword [esp + 0x38]
mov dword [esp + 0x30], ecx
jmp 0x533ea2
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x30], eax
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x533ee7
movd xmm0, dword [ebp + 0x1c]
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.0060fbc1
movss xmm0, dword [0x10156560]
add esp, 8
fstp qword [esp + 0x38]
cvttsd2si eax, qword [esp + 0x38]
mov dword [ebp + 0x1c], eax
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x533f24
movd xmm0, dword [ebp + 0x20]
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.0060fbc1
fstp qword [esp + 0x40]
cvttsd2si eax, qword [esp + 0x40]
add esp, 8
mov dword [ebp + 0x20], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp + 0x1c]
cmp dword [ebp + 0x28], 0
mov dword [edi + 0x48], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 0x4c], eax
lea eax, [edi + 0x50]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x30], eax
lea eax, [edi + 0x54]
mov dword [eax], ecx
lea ecx, [edi + 0x28]
mov dword [esp + 0x2c], eax
mov dword [edi + 0x20], esi
mov eax, dword [esi + 0x28]
mov dword [ecx], eax
mov eax, dword [ebp + 0x3c]
mov dword [edi + 0x58], eax
setne al
mov byte [edi + 0x3d], al
mov dword [esp + 0x34], ecx
mov cl, byte [esi + 0xd5]
movzx edx, al
test cl, cl
movzx eax, cl
cmovne edx, eax
cmp dword [ebp + 0x24], 0
mov byte [edi + 0xd5], dl
setne al
mov byte [edi + 0x3c], al
mov cl, byte [esi + 0xd4]
test cl, cl
movzx edx, cl
movzx eax, al
cmovne edx, eax
mov byte [edi + 0xd4], dl
jmp 0x5341e6
test dl, dl
jne 0x53401c
cmp dword [0x1016c498], 0
je 0x53401c
mov eax, dword [0x1016d2e0]
test eax, eax
je 0x533fe9
push ebx
call eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10156950]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x10156750]
movss dword [edi + 0x10c], xmm0
jmp 0x53401c
push 0
call dword [0x10147330]
mov esi, eax
push 0x58
push esi
call dword [0x10147018]
push esi
push 0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm0, dword [0x10156750]
movss dword [edi + 0x10c], xmm0
call dword [0x10147228]
push 0xffffffffffffffe6
push ebx
call dword [0x10147310]
or eax, 0xb
push eax
push 0xffffffffffffffe6
push ebx
call dword [0x101472d8]
movss xmm0, dword [edi + 0x10c]
ucomiss xmm0, dword [0x10156514]
lahf
test ah, 0x44
jp 0x534051
mov dword [edi + 0x10c], 0x3f800000
lea esi, [edi + 0x48]
push esi
push ebx
call dword [0x101472b8]
mov ecx, dword [edi + 0x50]
sub ecx, dword [esi]
lea esi, [edi + 0x50]
mov eax, dword [edi + 0x54]
sub eax, dword [edi + 0x4c]
push edi
push 0x1014d1bc
push ebx
mov dword [esi], ecx
mov dword [edi + 0x54], eax
mov dword [edi + 0x78], 0
mov dword [edi + 0x88], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x124], ecx
mov dword [edi + 0x128], eax
mov dword [edi + 0x20], 0
mov dword [edi + 0x28], ebx
mov dword [edi + 0x58], 0
call dword [0x10147214]
push 0
push 0x1014e7b8
push ebx
call dword [0x10147214]
push 0x1014e838
push ebx
call dword [0x101472b4]
test eax, eax
jne 0x5340fe
push ebx
call dword [0x10147318]
push eax
push 0x1014e838
push ebx
call dword [0x10147214]
cmp dword [ebp + 0x28], 0
mov edx, dword [edi + 0x54]
mov ecx, dword [esi]
setne al
cmp dword [ebp + 0x24], 0
mov byte [edi + 0x3d], al
mov byte [edi + 0xd5], al
setne al
push 0
mov byte [edi + 0x3c], al
mov byte [edi + 0xd4], al
call fcn.00511761
add esp, 4
push eax
push 0x1014e6cc
push ebx
call dword [0x10147214]
mov eax, dword [ebp + 0x2c]
shr eax, 0x10
cwde
sub eax, 1
mov dword [ebp + 0x2c], eax
jns 0x534153
mov eax, 0xff
mov dword [ebp + 0x2c], eax
jmp 0x53415a
cmp eax, 0x100
jg 0x534163
cmp byte [0x1016c3a4], 0
je 0x53416b
mov eax, 0x100
mov dword [ebp + 0x2c], eax
push eax
push 0x1014e6e8
push ebx
call dword [0x10147214]
cmp byte [0x1016c3a4], 0
lea ecx, [edi + 0x28]
lea eax, [edi + 0x54]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
je 0x5341e6
cmp dword [edi + 0x24], 0x3e8
mov dword [esp + 0x34], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], esi
jne 0x5341e6
push 0x1014d1bc
push ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
call dword [0x101472b4]
test eax, eax
jne 0x5341e6
push 1
push 0x1014e84c
push dword [edi + 0x10]
call dword [0x10147214]
lea eax, [edi + 0x28]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], eax
lea eax, [edi + 0x54]
mov dword [esp + 0x2c], eax
mov edx, dword [ebp + 0x40]
lea ecx, [edi + 0x68]
call fcn.005d7bf1
push dword [edi + 0x68]
call fcn.0056e331
mov edx, dword [ebp + 0x4c]
lea ecx, [edi + 0x38]
mov dword [edi + 0xac], eax
mov dword [edi + 0x6c], 0
call fcn.005d7bf1
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x534226
mov eax, dword [ecx + 0x2c]
add eax, dword [ecx + 8]
je 0x534226
inc dword [0x1016c3cc]
mov eax, dword [ebp + 0x44]
mov esi, dword [0x10147214]
mov dword [edi + 0x70], eax
test ax, ax
je 0x534246
mov eax, dword [esp + 0x34]
push 1
push 0x1014e760
push dword [eax]
call esi
mov edx, dword [ebp + 0x30]
mov ecx, 0x1004f8a0
test edx, edx
mov eax, ecx
cmovne eax, edx
mov dword [edi + 0x44], eax
mov eax, dword [ebp + 0x34]
test eax, eax
cmovne ecx, eax
mov eax, dword [edi + 0x10]
mov dword [edi + 0x40], ecx
test eax, eax
je 0x534273
push edi
push 0x1014d1bc
push eax
call esi
mov esi, dword [0x10147040]
push 0
push 0
push 0
push 0
call esi
push 0
push 0
push 0
push 0
mov dword [edi + 0xb4], eax
call esi
push 0
push 0
push 0
push 0
mov dword [edi + 0xb0], eax
call esi
mov dword [edi + 0xb8], eax
mov eax, dword [esp + 0x2c]
push 0
mov edx, dword [eax]
mov eax, dword [esp + 0x34]
mov ecx, dword [eax]
call fcn.00511761
mov esi, dword [ebp + 0xc]
add esp, 4
mov dword [edi + 0xd8], eax
test esi, esi
je 0x53433b
mov eax, dword [esi + 0x2c]
mov edx, esi
inc eax
mov dword [edi + 0x2c], eax
mov eax, dword [0x1016c3ec]
cmp dword [eax + 0x20], esi
je 0x534316
cmp eax, esi
je 0x534316
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x534318
mov eax, dword [esi + 0x2c]
inc eax
cmp dword [ecx + 0x2c], eax
jne 0x534318
cmp dword [ecx + 0x2c], eax
jl 0x534307
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
jne 0x5342f3
mov edx, dword [0x1016c3ec]
jmp 0x534318
mov edx, dword [ecx + 0x18]
test edx, edx
jne 0x534318
mov edx, dword [0x1016c3ec]
jmp 0x534318
mov edx, eax
mov dword [edi + 0x18], edx
mov eax, dword [edx + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [edx + 0x1c]
test eax, eax
jne 0x534333
mov dword [0x1016c3ec], edi
mov dword [edx + 0x1c], edi
jmp 0x534366
mov dword [eax + 0x18], edi
mov dword [edx + 0x1c], edi
jmp 0x534366
mov eax, dword [0x1016c3ec]
mov dword [edi + 0x2c], 1
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], eax
mov dword [0x1016c3ec], edi
test eax, eax
jne 0x534363
mov dword [0x1016c3d4], edi
jmp 0x534366
mov dword [eax + 0x1c], edi
push 0
lea eax, [edi + 0x14]
push eax
lea eax, [edi + 0x5c]
push eax
push dword [eax]
mov eax, dword [edi + 0x44]
push 0x3f4
push edi
call eax
push 0
xor eax, eax
cmp byte [edi + 0xd5], al
push 0
push 0
setne al
push eax
mov eax, dword [edi + 0x44]
push 0x3f2
push edi
call eax
test esi, esi
jne 0x534614
cmp dword [ebp + 0x2c], 0x100
mov eax, dword [0x1014730c]
jge 0x5343ce
push 0xffffffffffffffec
push ebx
call dword [0x101472a8]
or eax, 0x80000
push eax
mov eax, dword [0x1014730c]
push 0xffffffffffffffec
push ebx
call eax
mov eax, dword [0x1014730c]
cmp byte [0x1016c4d4], 0
push 0x10045a20
push 0xfffffffffffffffc
push ebx
je 0x5343f0
call eax
push eax
push 0x1014e81c
push ebx
call dword [0x10147214]
jmp 0x5343fd
call eax
push eax
mov eax, dword [0x1014730c]
push 0xffffffffffffffeb
push ebx
call eax
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10156560]
lahf
test ah, 0x44
jnp 0x5345cf
mov eax, dword [esp + 0x30]
sub esp, 8
movd xmm0, dword [eax]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.0060fbc1
mov eax, dword [esp + 0x38]
add esp, 8
movd xmm2, dword [edi + 0x48]
movss xmm3, dword [edi + 0x10c]
movss xmm4, dword [0x10156560]
mov eax, dword [eax]
fstp qword [esp + 0x38]
movsd xmm1, qword [esp + 0x38]
cvtdq2pd xmm2, xmm2
mov dword [esp + 0x34], eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
ucomiss xmm3, xmm4
subsd xmm1, xmm0
mulsd xmm1, qword [0x10156598]
subsd xmm2, xmm1
cvttsd2si eax, xmm2
mov dword [edi + 0x48], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
lahf
test ah, 0x44
jp 0x53449d
movd xmm2, ecx
cvtdq2pd xmm2, xmm2
jmp 0x5344df
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.0060fbc1
mov eax, dword [esp + 0x38]
add esp, 8
movss xmm3, dword [edi + 0x10c]
movss xmm4, dword [0x10156560]
fstp qword [esp + 0x38]
mov eax, dword [eax]
movsd xmm2, qword [esp + 0x38]
mov dword [esp + 0x34], eax
cmp dword [edi + 0x48], 0
mov eax, dword [esp + 0x2c]
movd xmm1, dword [edi + 0x4c]
cvtdq2pd xmm1, xmm1
mov ecx, dword [eax]
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
subsd xmm2, xmm0
mulsd xmm2, qword [0x10156598]
subsd xmm1, xmm2
cvttsd2si edx, xmm1
mov dword [edi + 0x4c], edx
jge 0x53451a
mov dword [edi + 0x48], 0
test edx, edx
mov dword [esp + 0x38], 0
mov eax, edx
cmovs eax, dword [esp + 0x38]
ucomiss xmm3, xmm4
mov dword [edi + 0x4c], eax
lahf
test ah, 0x44
jnp 0x534570
movd xmm0, dword [esp + 0x34]
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.0060fbc1
add esp, 8
call fcn.0062bfd1
mov ecx, dword [esp + 0x30]
movss xmm4, dword [0x10156560]
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, xmm4
lahf
test ah, 0x44
jnp 0x5345aa
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.0060fbc1
add esp, 8
call fcn.0062bfd1
mov ecx, dword [esp + 0x2c]
mov dword [ecx], eax
push ebx
call dword [0x101472c4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx]
test eax, eax
jne 0x5345c8
push 0x2794
jmp 0x534603
push 0x2714
jmp 0x534603
mov eax, dword [edi + 0x24]
cmp eax, 0x320
je 0x534614
cmp eax, 0x384
je 0x534614
push ebx
call dword [0x101472c4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx]
test eax, eax
jne 0x5345fe
push 0x27b7
jmp 0x534603
push 0x2737
push edx
push ecx
push dword [edi + 0x4c]
push dword [edi + 0x48]
push 0
push ebx
call dword [0x101472c8]
cmp byte [0x1016c3a4], 0
jne 0x534624
mov ecx, edi
call fcn.0052e451
test esi, esi
je 0x53468c
cmp dword [0x1016c3cc], 0
je 0x53468c
mov eax, dword [edi + 0x20]
mov esi, edi
test eax, eax
je 0x534656
mov ecx, dword [eax + 0x38]
test ecx, ecx
je 0x534656
cmp dword [ecx + 0x2c], 0
je 0x534656
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x534654
cmp dword [ecx + 8], 0
jne 0x534656
mov esi, eax
cmp dword [esi + 0x2c], 1
jl 0x53468c
push 0x1014e6f8
push dword [esi + 0x28]
call dword [0x101472b4]
inc eax
push eax
push 0x1014e6f8
push dword [esi + 0x28]
call dword [0x10147214]
mov edx, 1
mov ecx, esi
call fcn.00538a11
push esi
call fcn.005376a1
mov ecx, edi
call fcn.00537911
mov dword [edi + 0xbc], 0xe
cmp dword [0x1016c3c4], 0
mov byte [0x1016c3a5], 1
jne 0x5346c6
push 0
push 8
push 0xa
push edi
push 0x10045990
push 0
push 0x1016c3c4
call dword [0x101471dc]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x48