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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x10141004]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [esp + 0x24], eax
mov edi, ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x38], edx
push eax
push 0
push 1
xor edx, edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], 0
call fcn.100593f0
mov esi, eax
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], ecx
test esi, esi
jne 0x10056f34
mov esi, dword [esp + 0x18]
mov eax, dword [edi + 0x1c]
sub eax, dword [ebp + 8]
cmp ecx, eax
jge 0x10056f16
mov eax, dword [esi + 0x18]
xorps xmm0, xmm0
xorps xmm1, xmm1
movlpd qword [esp + 0x18], xmm0
xor edi, edi
movsd qword [esp + 0x48], xmm1
movaps xmm0, xmm1
mov dword [esp + 0x28], edi
movzx ecx, byte [eax + 2]
movzx eax, byte [eax + 3]
shl ecx, 8
add eax, ecx
movsd qword [esp + 0x40], xmm0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x1c]
je 0x10056e10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
nop dword [eax]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x50]
push eax
push edi
mov edx, esi
call fcn.10058ff0
movaps xmm0, xmmword [esp + 0x58]
lea edx, [esp + 0x88]
mov ecx, dword [esp + 0x1c]
movaps xmmword [esp + 0x88], xmm0
movaps xmm0, xmmword [esp + 0x68]
movaps xmmword [esp + 0x98], xmm0
movaps xmm0, xmmword [esp + 0x78]
movaps xmmword [esp + 0xa8], xmm0
call fcn.10057250
push dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x8c]
movsd qword [esp + 0x3c], xmm0
call fcn.10057160
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x8c]
add esp, 0xc
call fcn.10057250
subsd xmm0, qword [esp + 0x30]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x50]
movsd qword [esp + 0x30], xmm0
call fcn.10057250
movaps xmm2, xmm0
movsd xmm0, qword [esp + 0x30]
test edi, edi
je 0x10056ddd
movsd xmm1, qword [esp + 0x40]
comisd xmm1, xmm0
ja 0x10056ddd
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jp 0x10056dfb
movsd xmm1, qword [esp + 0x48]
comisd xmm1, xmm2
jbe 0x10056dfb
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
movsd qword [esp + 0x40], xmm0
movsd qword [esp + 0x48], xmm2
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
jmp 0x10056e03
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
inc edi
cmp edi, dword [esp + 0x3c]
jl 0x10056d20
jmp 0x10056e14
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
push eax
push ecx
mov edx, esi
mov ecx, edi
call fcn.100593f0
add esp, 0xc
mov dword [esp + 0x10], eax
add dword [esi + 0x10], 0xffffffff
jne 0x10056f01
dec dword [edi + 0x3c]
cmp dword [esi + 8], 1
jne 0x10056e4f
cmp dword [esi + 0xc], 0
jne 0x10056e4f
mov dword [edi + 0x1c], 0xffffffff
mov edx, dword [esi]
test edx, edx
je 0x10056e60
mov ecx, edi
call fcn.100590d0
test eax, eax
jne 0x10056e69
mov edx, esi
mov ecx, edi
call fcn.10059140
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
je 0x10056ea5
mov eax, dword [esi + 8]
xor edx, edx
mov ecx, 0x61
div ecx
lea ecx, [edi + 0x74]
mov eax, dword [ecx + edx*4]
lea ecx, [ecx + edx*4]
cmp eax, esi
je 0x10056e99
nop word [eax + eax]
lea ecx, [eax + 0x1c]
mov eax, dword [ecx]
cmp eax, esi
jne 0x10056e90
mov eax, dword [esi + 0x1c]
mov dword [ecx], eax
mov dword [esi + 0x1c], 0
cmp dword [0x101422c8], 0
je 0x10056ef3
mov eax, dword [0x101441e8]
test eax, eax
je 0x10056ec1
push eax
call dword [0x10142318]
add esp, 4
push esi
call dword [0x101422f4]
sub dword [0x10144240], eax
add esp, 4
dec dword [0x10144264]
push esi
call dword [0x101422ec]
mov eax, dword [0x101441e8]
add esp, 4
test eax, eax
je 0x10056efd
push eax
call dword [0x10142320]
jmp 0x10056efa
push esi
call dword [0x101422ec]
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x2c], ecx
test eax, eax
je 0x10056cc0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov dword [ecx], esi
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.100011bc
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
pop edi
mov dword [ecx], eax
mov eax, esi
mov ecx, dword [esp + 0xb8]
pop esi
xor ecx, esp
call fcn.100011bc
mov esp, ebp
pop ebp
ret