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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1016a000]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, ecx
cmp dword [ebx + 0x1c], 0
je 0x553872
mov eax, dword [edi + 0x1c0]
cmp dword [eax + 0x1c], 0
je 0x553872
mov ecx, dword [edi + 0x1bc]
mov dword [ebp - 0x20], 0
test ecx, ecx
je 0x553376
mov ecx, dword [ecx + 4]
lea edx, [ebp - 0x20]
push edx
push 0
push 0
mov eax, dword [ecx]
push 0xe
call dword [eax + 0xc]
mov ecx, dword [0x1016c504]
test ecx, ecx
je 0x55339d
mov eax, dword [ebx + 0x28]
test eax, eax
jg 0x55339d
inc eax
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
mov ecx, dword [0x1016c504]
xor eax, eax
mov edx, 0x1ffffff
cmp dword [edi + 0x2c], 1
cmove eax, edx
test ecx, ecx
je 0x5533c8
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.00510b21
mov ecx, dword [ebx + 0x3c]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0xbc]
jmp 0x5533d2
push eax
push dword [ebx + 0x20]
call dword [0x1016d240]
cmp byte [edi + 0xd5], 0
je 0x5533e2
mov ecx, 3
jmp 0x5533fc
cmp dword [0x1016c3a0], edi
jne 0x5533f1
mov ecx, 2
jmp 0x5533fc
xor ecx, ecx
cmp dword [0x1016c398], edi
sete cl
push ecx
mov dword [esp], 0x3f800000
xor eax, eax
cmp dword [0x1016c39c], edi
mov edx, 4
push 0xff
push dword [edi + 0x54]
cmove eax, edx
push dword [edi + 0x50]
add eax, ecx
push 0
push 0
push eax
push ebx
push dword [edi + 0x1cc]
call fcn.005cc301
mov esi, dword [edi + 0x1cc]
test esi, esi
je 0x553505
cmp dword [esi], 0x3b
jle 0x553505
cmp byte [edi + 0xd5], 0
je 0x553459
mov edx, 0x3b
jmp 0x553467
xor edx, edx
cmp dword [0x1016c39c], edi
sete dl
add edx, 0x38
cmp dword [ebp - 0x20], 0
jne 0x553505
cmp dword [esi + 0xc], 0x27
jle 0x55348c
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x9c]
sub eax, 0
je 0x55348c
sub eax, 1
jne 0x553505
jmp 0x55349b
mov eax, dword [esi + 4]
lea ecx, [edx + edx*4]
shl ecx, 4
cmp dword [ecx + eax], 0
jge 0x5534c3
mov eax, dword [edi + 0x1f4]
push ecx
mov dword [esp], 0x3f800000
push 0xff
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
push edx
push ebx
push esi
call fcn.005cc301
jmp 0x553505
mov eax, dword [esi + 8]
mov ecx, dword [eax + edx*4]
test ecx, ecx
je 0x553505
mov ecx, dword [ecx]
mov eax, dword [edi + 0x1f4]
push ecx
mov dword [esp], 0x3f800000
push 0
push 0
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
push dword [edi + 0x16c]
push 0
push 0
push 0
push dword [ecx + 0x18]
push dword [ecx + 0x14]
push ecx
push ebx
call fcn.00518381
cmp dword [edi + 0x1bc], 0
je 0x553686
cmp dword [ebp - 0x20], 0
je 0x553686
cmp dword [edi + 0x2c], 1
jle 0x55355d
push 0x1014e6cc
push dword [edi + 0x28]
call dword [0x101472b4]
mov ecx, dword [edi + 0x54]
mov edx, dword [edi + 0x50]
push 0xcc0020
push ecx
push edx
push dword [edi + 0x78]
push dword [edi + 0x74]
push dword [eax + 0x1c]
mov eax, dword [edi + 0x1c0]
push ecx
push edx
push 0
push 0
push dword [eax + 0x1c]
call dword [0x1014702c]
jmp 0x5535af
mov ecx, dword [edi + 0x1c0]
test ecx, ecx
je 0x553587
cmp dword [0x1016c504], 0
je 0x553587
mov eax, dword [ecx + 0x28]
test eax, eax
jg 0x553587
inc eax
mov dword [ecx + 0x28], eax
mov eax, dword [ecx + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc0]
mov ecx, dword [edi + 0x184]
mov edx, 0xff
call fcn.0056e2e1
mov ecx, dword [edi + 0x1c0]
mov edx, eax
call fcn.00512311
mov ecx, dword [edi + 0x1c0]
call fcn.00511b21
mov esi, dword [edi + 0x50]
mov eax, dword [edi + 0x1c0]
imul esi, dword [edi + 0x54]
mov ecx, dword [eax + 0x10]
lea eax, [edi + 0x184]
mov dword [ebp - 0x28], eax
test esi, esi
jle 0x5535e5
lea eax, [ecx + 3]
mov ecx, esi
mov byte [eax], 1
lea eax, [eax + 4]
sub ecx, 1
jne 0x5535d1
lea eax, [edi + 0x184]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x1bc]
push 0
push 0
push 0
mov ecx, dword [eax + 4]
mov eax, dword [edi + 0x1f8]
push eax
push 0
mov edx, dword [ecx]
push eax
mov eax, dword [edi + 0x1c0]
push 0
push dword [eax + 0x1c]
push 0
push 0
push 0
push 1
call dword [edx + 0x10]
mov edx, dword [edi + 0x1c0]
mov eax, dword [edx + 0x10]
test esi, esi
jle 0x553652
cmp byte [eax + 3], 1
jne 0x553636
mov word [eax], 0
xor cl, cl
mov byte [eax + 2], 0
jmp 0x553639
or cl, 0xff
mov byte [eax + 3], cl
add eax, 4
sub esi, 1
jne 0x553623
mov edx, dword [edi + 0x1c0]
lea eax, [edi + 0x184]
jmp 0x553655
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov ecx, dword [edi + 0x54]
mov esi, dword [edi + 0x50]
push ecx
mov dword [esp], 0x3f800000
sar eax, 0x18
movzx eax, al
push eax
push ecx
push esi
push 0
push 0
push ecx
mov ecx, dword [edi + 0xd8]
push esi
push 0
push 0
call fcn.00516ca1
add esp, 0x28
cmp byte [edi + 0x1f0], 0
je 0x553777
cmp byte [edi + 0x1c8], 0
je 0x553777
cmp dword [0x1016c39c], edi
jne 0x553777
cmp byte [edi + 0xd5], 0
jne 0x553777
mov eax, dword [edi + 0x1bc]
lea edx, [ebp - 0x10]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x10], 0
push 0
mov ecx, dword [eax + 4]
push edx
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ecx]
push 0xb0
call dword [eax + 0xc]
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x10]
jne 0x553777
cmp dword [0x1016c504], 0
push 1
je 0x553709
mov eax, dword [ebx + 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x80]
jmp 0x553712
push dword [ebx + 0x20]
call dword [0x1016d214]
movss xmm1, dword [0x10156560]
mov ecx, dword [edi + 0x17c]
call fcn.0058d7b1
mov edx, dword [edi + 0x1e4]
sub esp, 0xc
mov ecx, dword [edi + 0x1ec]
mov esi, eax
movd xmm2, dword [edi + 0x1e0]
add ecx, edx
cvtdq2ps xmm2, xmm2
mov dword [esp + 8], 0x3f800000
movd xmm3, edx
mov edx, esi
movd xmm0, ecx
mov ecx, ebx
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm3, xmm3
movss dword [esp + 4], xmm0
movss dword [esp], xmm2
call fcn.00512d71
add esp, 0xc
mov ecx, esi
call fcn.0058d831
cmp byte [edi + 0x198], 0
je 0x55379e
mov ecx, dword [edi + 0x1d4]
push ebx
sub esp, 8
call fcn.005bfd51
mov ecx, dword [edi + 0x1d8]
push ebx
sub esp, 8
call fcn.005bfd51
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10156560]
mov ecx, dword [edi + 0x54]
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x5537c0
cvtdq2pd xmm0, xmm0
jmp 0x5537e2
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.0060fbc1
fstp qword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x14]
add esp, 8
movss xmm1, dword [edi + 0x10c]
ucomiss xmm1, dword [0x10156560]
mov ecx, dword [edi + 0x50]
movsd qword [ebp - 0x14], xmm0
movd xmm0, ecx
lahf
test ah, 0x44
jp 0x553809
cvtdq2pd xmm0, xmm0
jmp 0x55382b
cvtdq2ps xmm0, xmm0
sub esp, 8
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.0060fbc1
fstp qword [ebp - 0x2c]
movsd xmm0, qword [ebp - 0x2c]
add esp, 8
cvttsd2si eax, qword [ebp - 0x14]
push eax
cvttsd2si eax, xmm0
push eax
push 0
push 0
push ebx
push edi
call fcn.00556ab1
cmp dword [0x1016c504], 0
je 0x553872
mov eax, dword [ebx + 0x28]
cmp eax, 1
jl 0x553872
dec eax
mov ecx, ebx
mov dword [ebx + 0x28], eax
call fcn.00512371
mov eax, dword [ebx + 0x3c]
push 0
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc4]
mov dword [0x1016c4f8], eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0060c402
mov esp, ebp
pop ebp
ret 0xc