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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x5c51004]
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.05b59280
mov esi, eax
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], ecx
test esi, esi
jne 0x5b56d64
mov esi, dword [esp + 0x18]
mov eax, dword [edi + 0x1c]
sub eax, dword [ebp + 8]
cmp ecx, eax
jge 0x5b56d46
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 0x5b56c40
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.05b58e80
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.05b57080
push dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x8c]
movsd qword [esp + 0x3c], xmm0
call fcn.05b56f90
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x8c]
add esp, 0xc
call fcn.05b57080
subsd xmm0, qword [esp + 0x30]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x50]
movsd qword [esp + 0x30], xmm0
call fcn.05b57080
movaps xmm2, xmm0
movsd xmm0, qword [esp + 0x30]
test edi, edi
je 0x5b56c0d
movsd xmm1, qword [esp + 0x40]
comisd xmm1, xmm0
ja 0x5b56c0d
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jp 0x5b56c2b
movsd xmm1, qword [esp + 0x48]
comisd xmm1, xmm2
jbe 0x5b56c2b
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 0x5b56c33
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
inc edi
cmp edi, dword [esp + 0x3c]
jl 0x5b56b50
jmp 0x5b56c44
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.05b59280
add esp, 0xc
mov dword [esp + 0x10], eax
add dword [esi + 0x10], 0xffffffff
jne 0x5b56d31
dec dword [edi + 0x3c]
cmp dword [esi + 8], 1
jne 0x5b56c7f
cmp dword [esi + 0xc], 0
jne 0x5b56c7f
mov dword [edi + 0x1c], 0xffffffff
mov edx, dword [esi]
test edx, edx
je 0x5b56c90
mov ecx, edi
call fcn.05b58f60
test eax, eax
jne 0x5b56c99
mov edx, esi
mov ecx, edi
call fcn.05b58fd0
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
je 0x5b56cd5
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 0x5b56cc9
nop word [eax + eax]
lea ecx, [eax + 0x1c]
mov eax, dword [ecx]
cmp eax, esi
jne 0x5b56cc0
mov eax, dword [esi + 0x1c]
mov dword [ecx], eax
mov dword [esi + 0x1c], 0
cmp dword [0x5c525e8], 0
je 0x5b56d23
mov eax, dword [0x5c545d8]
test eax, eax
je 0x5b56cf1
push eax
call dword [0x5c52638]
add esp, 4
push esi
call dword [0x5c52614]
sub dword [0x5c54628], eax
add esp, 4
dec dword [0x5c5464c]
push esi
call dword [0x5c5260c]
mov eax, dword [0x5c545d8]
add esp, 4
test eax, eax
je 0x5b56d2d
push eax
call dword [0x5c52640]
jmp 0x5b56d2a
push esi
call dword [0x5c5260c]
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 0x5b56af0
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.05b011bc
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.05b011bc
mov esp, ebp
pop ebp
ret