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

Disassembly:
sub esp, 0xa4
mov eax, dword [0x10092c4c]
xor eax, esp
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xac]
mov ecx, dword [0x10093708]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xbc]
push ebx
mov dword [esp + 0xc], eax
mov eax, dword [ecx + 0x3e60]
push ebp
mov ebp, dword [esp + 0xb0]
push esi
mov byte [eax + 0xac], 1
mov esi, dword [ecx + 0x3e60]
push edi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], esi
cmp byte [esi + 0xaf], 0
jne 0x10056823
mov edi, dword [0x10093708]
mov ecx, esi
push 0
push ebp
call fcn.10012e90
mov ebx, eax
call fcn.1000d2d0
push ecx
mov dword [esp], 0xbf800000
lea eax, [esp + 0x4c]
push 1
push 0
push ebp
push eax
fstp dword [esp + 0x28]
call fcn.1000d760
movss xmm0, dword [edi + 0x37c8]
xorps xmm3, xmm3
movss xmm4, dword [esi + 0xf0]
addss xmm0, xmm0
movss xmm1, dword [esp + 0x5c]
movaps xmm2, xmm4
addss xmm2, dword [esp + 0x28]
add esp, 0x14
comiss xmm1, xmm3
addss xmm0, dword [esp + 0x4c]
addss xmm0, dword [esi + 0xf4]
movss dword [esp + 0x1c], xmm4
movss xmm5, dword [esi + 0xf4]
movss dword [esp + 0x20], xmm5
movss dword [esp + 0x24], xmm2
movss dword [esp + 0x28], xmm0
jbe 0x10056486
addss xmm1, dword [edi + 0x37dc]
jmp 0x10056489
xorps xmm1, xmm1
mov ebp, dword [esp + 0xd0]
addss xmm0, xmm3
addss xmm2, xmm1
movss dword [esp + 0x60], xmm4
mov eax, ebp
movss dword [esp + 0x64], xmm5
shr eax, 7
not al
movss dword [esp + 0x6c], xmm0
and eax, 0xffffff01
subss xmm0, xmm5
movss dword [esp + 0x68], xmm2
subss xmm2, xmm4
mov dword [esp + 0x14], eax
push ecx
lea eax, [esp + 0x44]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [edi + 0x37c8]
movss dword [esp], xmm0
push eax
movss dword [esp + 0x48], xmm2
call fcn.10017830
mov eax, dword [esp + 0x1c]
movzx eax, al
shl eax, 0xa
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x70]
push ebx
push eax
call fcn.100173c0
add esp, 0x18
test al, al
je 0x10056823
cmp dword [esp + 0x18], 0
jne 0x1005652c
push dword [esp + 0x2c]
call fcn.1004e860
add esp, 4
mov eax, dword [eax + 8]
mov dword [esp + 0x18], eax
push dword [edi + 0x46e4]
lea eax, [esp + 0x20]
push ebx
push eax
call fcn.10017630
add esp, 0xc
mov byte [esp + 0x12], al
cmp byte [esp + 0x14], 0
je 0x10056576
mov ecx, dword [0x10093708]
cmp dword [ecx + 0x3eac], ebx
jne 0x10056565
cmp dword [ecx + 0x5a0c], ebx
je 0x100565f7
test dword [edi + 0x46e8], 0x100
mov byte [esp + 0x11], 1
jne 0x1005657b
mov byte [esp + 0x11], 0
test al, al
je 0x10056594
push 0
push ebx
push 0
call fcn.10016a00
add esp, 0xc
test al, al
je 0x10056594
mov al, 1
jmp 0x10056596
xor al, al
mov cl, byte [esp + 0x11]
mov byte [esp + 0x13], al
test cl, cl
jne 0x100565b3
test al, al
jne 0x100565b7
cmp dword [edi + 0x4804], ebx
je 0x100565cf
jmp 0x1005665e
test al, al
je 0x100565cf
push 0
push ebx
push 0x281
call fcn.10022310
mov al, byte [esp + 0x1f]
add esp, 0xc
mov cl, byte [esp + 0x11]
cmp byte [esp + 0x14], 0
je 0x1005663e
test cl, cl
jne 0x100565f7
test al, al
je 0x100565e6
cmp byte [edi + 0xdd8], cl
jne 0x100565f7
cmp dword [edi + 0x4804], ebx
jne 0x1005663e
test byte [edi + 0x4810], 1
je 0x1005663e
mov ecx, ebp
mov eax, 0
shr ecx, 4
test cl, 1
cmovne eax, dword [esp + 0xc8]
push eax
xor eax, eax
test cl, 1
cmovne eax, dword [esp + 0xc8]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x28]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x48]
push ebx
push eax
call fcn.100592a0
add esp, 0x20
jmp 0x10056825
push esi
push ebx
call fcn.10021970
push esi
push ebx
call fcn.10021fb0
push 0
push esi
call fcn.10012610
add esp, 0x18
or dword [edi + 0x46a8], 3
cmp dword [edi + 0x3eac], ebx
jne 0x1005666d
mov eax, 9
jmp 0x10056679
xor eax, eax
cmp byte [esp + 0x12], al
setne al
add eax, 7
push ecx
mov dword [esp], 0x3f800000
push eax
call fcn.10012b50
push 1
mov esi, eax
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.1001f800
movss xmm0, dword [edi + 0x37cc]
add esp, 0x10
movss dword [esp], xmm0
push 1
push esi
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
push dword [esp + 0x34]
call fcn.1001f210
mov esi, dword [esp + 0x48]
lea eax, [esp + 0x6c]
push eax
push ebp
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x40]
push ebp
push dword [esp + 0xf0]
xorps xmm0, xmm0
push dword [esp + 0xf0]
movups xmmword [esp + 0x80], xmm0
push dword [esp + 0x60]
push esi
push ebx
push eax
call fcn.10055ec0
add esp, 0x40
mov byte [esp + 0x12], al
test al, al
je 0x1005670a
push ebx
call fcn.100181a0
add esp, 4
movss xmm0, dword [esp + 0x58]
comiss xmm0, dword [esp + 0x50]
jbe 0x10056762
movss xmm0, dword [edi + 0x3808]
xor eax, eax
push 0
sub esp, 8
cmp dword [edi + 0x3eac], ebx
sete al
add eax, 0x13
movss dword [esp + 4], xmm0
mov dword [esp], 0x3f800000
push eax
call fcn.10012b50
mov ecx, dword [esp + 0x48]
add esp, 8
mov ecx, dword [ecx + 0x264]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.1002b4f0
push ebp
push dword [esp + 0x34]
lea eax, [esp + 0x78]
push esi
push 0x40
push eax
call fcn.1004e720
lea esi, [esp + 0x84]
add esp, 0x14
add esi, eax
cmp byte [edi + 0x5b88], 0
je 0x1005679b
push 0x10086d80
push 0x10086d84
call fcn.10017fe0
add esp, 8
push 0
lea eax, [esp + 0x44]
mov dword [esp + 0x44], 0x3f000000
push eax
push 0
push esi
lea eax, [esp + 0x80]
mov dword [esp + 0x54], 0x3f000000
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x34]
push eax
call fcn.1001fb50
movss xmm0, dword [esp + 0x64]
xorps xmm1, xmm1
add esp, 0x1c
comiss xmm0, xmm1
jbe 0x1005681d
movss xmm0, dword [esp + 0x24]
addss xmm0, dword [edi + 0x37dc]
push 1
push 0
push dword [esp + 0x3c]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [edi + 0x37c8]
movss dword [esp + 0x48], xmm0
push dword [esp + 0x48]
push dword [esp + 0x48]
call fcn.1001fa60
add esp, 0x14
mov al, byte [esp + 0x12]
jmp 0x10056825
xor al, al
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10074697
add esp, 0xa4
ret