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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push eax
push ecx
push edi
mov dword [esp + 0x30], 0
call fcn.005662e0
add esp, 0xc
test eax, eax
jl 0x567ded
mov esi, edi
call fcn.005658f0
test eax, eax
jne 0x567ded
lea edx, [edi + 0x78]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x567bde
cmp dword [eax], 0
je 0x567bde
push 0
lea esi, [esp + 0x3c]
call fcn.00439930
add esp, 4
test eax, eax
jle 0x567bd3
mov eax, dword [edi + 0x60]
mov ebx, dword [edi + 0x48]
shl eax, 5
add eax, ebx
mov edx, esi
call fcn.00562f90
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
jge 0x567aeb
cmp dword [esp + 0x10], 0
je 0x567a86
mov eax, dword [esp + 0x10]
cmp dword [eax], 0
je 0x567a86
push 1
xor esi, esi
call fcn.00439930
add esp, 4
jmp 0x567a86
mov eax, dword [esp + 0x24]
test eax, eax
je 0x567aff
add eax, esi
sar eax, 2
cdq
add dword [edi + 0x50], eax
adc dword [edi + 0x54], edx
mov ebx, dword [ebx + 0x1c]
test ebx, ebx
je 0x567b0b
mov eax, dword [ebx + 4]
jmp 0x567b0e
or eax, 0xffffffff
add eax, esi
sar eax, 2
cdq
add eax, dword [edi + 0x50]
adc edx, dword [edi + 0x54]
cmp edx, dword [ebp + 0x10]
jg 0x567ce4
jl 0x567b2e
cmp eax, dword [ebp + 0xc]
jae 0x567ce4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x567b4b
cmp dword [eax], 0
je 0x567b4b
push 1
xor esi, esi
call fcn.00439930
mov esi, dword [esp + 0x1c]
add esp, 4
lea ecx, [esp + 0x38]
lea ebx, [edi + 0x250]
push ecx
call fcn.00563020
add esp, 4
push ebx
lea ebx, [edi + 0x1e0]
call fcn.00563320
mov ecx, dword [esp + 0x50]
add esp, 4
cmp ecx, 0xffffffff
jl 0x567bca
mov edx, dword [esp + 0x48]
jg 0x567b81
cmp edx, 0xffffffff
jbe 0x567bca
mov esi, dword [edi + 0x60]
mov ebx, dword [edi + 0x44]
mov eax, esi
shl eax, 4
sub edx, dword [eax + ebx]
sbb ecx, dword [eax + ebx + 4]
mov dword [edi + 0x50], edx
mov dword [edi + 0x54], ecx
xor ecx, ecx
cmp dword [edi + 0x54], ecx
jg 0x567bac
jl 0x567ba6
cmp edx, ecx
jae 0x567bac
mov dword [edi + 0x50], ecx
mov dword [edi + 0x54], ecx
cmp esi, ecx
jle 0x567bc6
lea eax, [ebx + 8]
mov edx, dword [eax]
add dword [edi + 0x50], edx
mov edx, dword [eax + 4]
adc dword [edi + 0x54], edx
inc ecx
add eax, 0x10
cmp ecx, esi
jl 0x567bb3
mov esi, dword [esp + 0x18]
mov dword [esp + 0x24], esi
jmp 0x567a86
jge 0x567bde
cmp eax, 0xfffffffd
jne 0x567ce4
push 0xffffffffffffffff
lea eax, [esp + 0x2c]
push 0xffffffffffffffff
push eax
call fcn.005654c0
add esp, 0xc
test edx, edx
jl 0x567ce4
jg 0x567c01
test eax, eax
jb 0x567ce4
mov esi, dword [esp + 0x28]
mov ebx, 2
test byte [esi + 5], bl
je 0x567c30
lea ecx, [edi + 0x1e0]
push ecx
call fcn.00563da0
lea edx, [edi + 0x250]
add esp, 4
push edx
call fcn.005641e0
add esp, 4
mov dword [edi + 0x58], ebx
cmp dword [edi + 0x58], 3
jge 0x567cd2
movzx edx, byte [esi + 0x11]
movzx eax, byte [esi + 0x10]
movzx ecx, byte [esi + 0xf]
mov ebx, dword [edi + 0x34]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 0xe]
shl edx, 8
or edx, ecx
shl edx, 8
or edx, eax
xor eax, eax
test ebx, ebx
jle 0x567c71
mov ecx, dword [edi + 0x40]
cmp dword [ecx], edx
je 0x567c71
inc eax
add ecx, 4
cmp eax, ebx
jl 0x567c65
cmp eax, ebx
je 0x567a86
mov dword [edi + 0x60], eax
mov dword [edi + 0x58], 3
movzx ecx, byte [esi + 0x11]
movzx eax, byte [esi + 0x10]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xf]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xe]
mov esi, dword [esp + 0x10]
shl ecx, 8
or ecx, eax
mov dword [edi + 0x5c], ecx
test esi, esi
je 0x567cbf
cmp dword [esi], 0
je 0x567cbf
mov eax, esi
call fcn.004398a0
mov dword [esi + 0x150], edx
mov esi, edi
call fcn.005658f0
test eax, eax
jne 0x567ded
mov dword [esp + 0x24], eax
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x28]
call fcn.00439590
jmp 0x567a86
fldz
mov ecx, dword [edi + 0x48]
mov eax, dword [ebp + 0xc]
fst qword [edi + 0x68]
fstp qword [edi + 0x70]
mov edx, dword [ecx + 0x1c]
mov esi, dword [edx + 0xe48]
mov edx, dword [ebp + 0x10]
mov ecx, esi
mov dword [esp + 0x24], esi
call fcn.00513440
mov ecx, esi
call fcn.00568190
mov ecx, dword [edi + 0x54]
cmp ecx, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
jg 0x567deb
jl 0x567d36
mov edx, dword [edi + 0x50]
cmp edx, eax
jae 0x567deb
jmp 0x567d36
mov esi, dword [esp + 0x24]
mov eax, dword [ebp + 0xc]
sub eax, dword [edi + 0x50]
mov edx, dword [ebp + 0x10]
sbb edx, dword [edi + 0x54]
mov ecx, esi
call fcn.00513440
mov ecx, eax
mov eax, dword [edi + 0x1f8]
cmp eax, 0xffffffff
mov dword [esp + 0x10], ecx
mov ebx, edx
jle 0x567d6a
mov esi, dword [edi + 0x1f4]
cmp eax, esi
jge 0x567d6a
sub esi, eax
jmp 0x567d6c
xor esi, esi
mov eax, esi
cdq
cmp edx, ebx
jl 0x567d7b
jg 0x567d79
cmp eax, ecx
jbe 0x567d7b
mov esi, ecx
test esi, esi
je 0x567d8f
mov eax, dword [edi + 0x1f8]
add eax, esi
cmp eax, dword [edi + 0x1f4]
jg 0x567d95
add dword [edi + 0x1f8], esi
mov ecx, dword [esp + 0x24]
mov eax, esi
shl eax, cl
cdq
add dword [edi + 0x50], eax
mov eax, esi
adc dword [edi + 0x54], edx
cdq
cmp edx, ebx
jg 0x567dcf
jl 0x567db3
cmp eax, dword [esp + 0x10]
jae 0x567dcf
mov eax, edi
call fcn.00566c60
test eax, eax
jg 0x567dcf
push 0xffffffffffffffff
push edi
call fcn.005650b0
add esp, 8
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], edx
mov ecx, dword [edi + 0x54]
cmp ecx, dword [esp + 0x1c]
jl 0x567d32
jg 0x567deb
mov edx, dword [edi + 0x50]
cmp edx, dword [esp + 0x18]
jb 0x567d32
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret