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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xc0
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov esi, dword [eax + ecx*8 + 0xc0]
mov edi, dword [eax + ecx*8 + 0xc4]
mov ebx, esi
and ebx, edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
cmp ebx, 0xffffffff
je 0x56a333
cmp ecx, esi
mov ebx, edx
sbb ebx, edi
cmovb edx, edi
cmovb ecx, esi
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [esi + edi*8 + 0xc0], ecx
mov dword [esi + edi*8 + 0xc4], edx
mov edx, esi
cmp byte [esi + 0x169], 0
setne cl
cmp edi, 1
setne ch
or ch, cl
mov byte [esp + 0xb], ch
jne 0x56a368
mov byte [edx + 0x169], 1
mov dword [esp + 0x1c], 0
mov ecx, dword [ebp + 0x10]
shl ecx, 5
lea esi, [edx + ecx]
mov dword [esp + 0x18], esi
movsd xmm0, qword [eax + 8]
mov dword [esp + 0x20], ecx
mov eax, dword [edx + ecx + 0xc]
movsd qword [esp + 0x28], xmm0
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.005d61e0
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
jne 0x56a3b9
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
test eax, eax
je 0x56a4fa
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp + 4], 0
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 4]
cmp dword [esp + 4], ebx
jae 0x56a4fa
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x38]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov eax, dword [ecx]
mov edx, dword [esp + 4]
shl edx, 4
add esi, edx
add esi, 8
mov edx, eax
mov edi, dword [ecx + 4]
mov dword [esp + 0x10], ebx
cmp edx, dword [esi - 8]
mov eax, edi
sbb eax, dword [esi - 4]
jae 0x56a420
mov eax, dword [esi]
mov ecx, dword [esi + 4]
jmp 0x56a431
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, edx
mov ebx, ecx
sbb ebx, edi
mov ebx, dword [esp + 0x10]
jae 0x56a450
cmp eax, edx
sbb ecx, edi
jb 0x56a4cf
mov eax, dword [esp + 4]
inc eax
add esi, 0x10
mov dword [esp + 4], eax
cmp ebx, eax
jne 0x56a400
jmp 0x56a4fa
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edi
mov esi, dword [esp + 0x18]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edx
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.005d61e0
add esp, 8
test eax, eax
je 0x56a4b7
cmp dword [esi], eax
je 0x56a4e1
mov ecx, dword [eax + 0x38]
cmp dword [esi + 4], eax
je 0x56a4ee
mov edx, dword [eax + 0x34]
test ecx, ecx
je 0x56a48f
mov dword [ecx + 0x34], edx
test edx, edx
je 0x56a496
mov dword [edx + 0x38], ecx
dec dword [esi + 8]
mov dword [eax + 0x38], 0
mov dword [eax + 0x34], 0
lea eax, [esp + 0x70]
push eax
push dword [esi + 0xc]
call fcn.005d6060
add esp, 8
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
mov dword [eax + 0x3c], 0
add eax, 0x3c
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x56a3c9
jmp 0x56a4fa
mov ecx, dword [eax + 0x34]
mov dword [esi], ecx
mov ecx, dword [eax + 0x38]
cmp dword [esi + 4], eax
jne 0x56a485
mov dword [esi + 4], ecx
mov edx, dword [eax + 0x34]
test ecx, ecx
jne 0x56a48c
jmp 0x56a48f
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x56a540
mov eax, dword [ebx + 4]
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi]
xor eax, dword [ecx + 0xc]
mov edx, dword [ebx]
xor edx, dword [ecx + 8]
or edx, eax
mov ecx, dword [ebp + 8]
jne 0x56a531
mov eax, ebx
nop dword [eax + eax]
test byte [eax + 0x20], 8
jne 0x56a5d2
mov eax, dword [eax + 0x3c]
test eax, eax
jne 0x56a520
test byte [esi + 0x28], 1
jne 0x56a668
jmp 0x56a6e1
cmp byte [esp + 0xb], 0
jne 0x56aaa9
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0xf0]
mov ecx, dword [ebx + 0xf4]
mov edx, dword [ebx + 0xf8]
mov esi, eax
add esi, 0xffffffff
mov edi, ecx
adc edi, 0xffffffff
cmp esi, edx
mov esi, dword [ebx + 0xfc]
sbb edi, esi
jb 0x56a584
mov eax, edx
or eax, esi
je 0x56a9fc
mov eax, edx
mov ecx, esi
mov edx, dword [ebx + 0x100]
mov esi, dword [ebx + 0x104]
cmp edx, eax
mov edi, esi
sbb edi, ecx
cmovb ecx, esi
cmovb eax, edx
mov edx, eax
mov esi, dword [ebp + 8]
or edx, ecx
je 0x56aa18
mov dword [esi + 0x108], eax
mov dword [esi + 0x10c], ecx
mov edx, dword [esi + 0x8c8]
test edx, edx
je 0x56aaa9
push dword [esi + 0x8cc]
push ecx
push eax
call edx
jmp 0x56aaa6
push dword [ecx + 0xac]
mov edi, ecx
call dword [ecx + 0xa8]
add esp, 4
mov ecx, dword [edi + 0x128]
or ecx, dword [edi + 0x12c]
jne 0x56a5fd
mov dword [edi + 0x128], eax
mov dword [edi + 0x12c], edx
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0xc]
mov esi, dword [ebp + 8]
cmp byte [esi + 0x168], 0
je 0x56a63a
mov esi, dword [esi + 0x8b8]
mov dword [esp + 4], esi
mov esi, dword [ebp + 8]
mov esi, dword [esi + 0x8bc]
mov dword [esp + 0x10], esi
cmp ecx, dword [esp + 4]
mov esi, edi
sbb esi, dword [esp + 0x10]
cmovae edi, dword [esp + 0x10]
cmovae ecx, dword [esp + 4]
xor esi, esi
sub eax, dword [ebx + 0x10]
sbb edx, dword [ebx + 0x14]
cmovb eax, esi
cmovb edx, esi
push edx
push eax
push edi
push ecx
mov esi, dword [ebp + 8]
push dword [esi + 0xb0]
call fcn.00525f10
add esp, 0x14
mov ecx, esi
mov esi, dword [ebp + 0xc]
test byte [esi + 0x28], 1
je 0x56a6e1
mov eax, dword [esi + 0x20]
mov edi, dword [esi + 0x24]
mov esi, ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi + ecx*8 + 0x154]
cmp dword [esi + ecx*8 + 0x150], eax
sbb edx, edi
jae 0x56a6df
mov dword [esi + ecx*8 + 0x150], eax
mov dword [esi + ecx*8 + 0x154], edi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
movsd xmm0, qword [eax + 8]
mov eax, dword [esp + 0x20]
mov eax, dword [esi + eax + 0xc]
movsd qword [esp + 0x28], xmm0
lea ecx, [esp + 0x28]
push ecx
push eax
call fcn.005d61e0
add esp, 8
test eax, eax
je 0x56a6df
movsd xmm0, qword [eax + 0x10]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esi + 0xb4]
lea ecx, [esp + 0x28]
push ecx
push dword [esi + 0xb8]
call dword [eax + 0x34]
add esp, 8
mov ecx, esi
mov esi, ecx
mov edx, dword [ebp + 0x10]
call fcn.0056aac0
test eax, eax
je 0x56a79d
mov edi, eax
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
jmp 0x56a73b
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x78], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xb4]
lea ecx, [esp + 0x70]
push ecx
push dword [edx + 0xb8]
call dword [eax + 0x28]
add esp, 8
push dword [edi + 0x30]
call dword [edi + 0x24]
add esp, 4
mov edi, esi
test esi, esi
je 0x56a773
mov esi, dword [edi + 0x40]
test byte [edi + 0x20], 4
je 0x56a72c
mov eax, dword [edi + 8]
mov edx, dword [ebp + 8]
sub dword [edx + 0x130], eax
sbb dword [edx + 0x134], 0
mov ecx, dword [edi + 0x20]
test cl, 8
je 0x56a700
and ecx, 3
sub dword [edx + ecx*8 + 0x138], eax
sbb dword [edx + ecx*8 + 0x13c], 0
jmp 0x56a700
lea eax, [esp + 0x28]
push eax
mov esi, dword [ebp + 8]
push dword [esi + 0xb0]
call fcn.005260e0
add esp, 8
mov eax, dword [esi + 0xb4]
push 0
push dword [esi + 0xb8]
call dword [eax + 0x2c]
add esp, 8
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
lea eax, [esi + 0x60]
mov dword [esp + 4], eax
jmp 0x56a7ba
mov ebx, esi
test esi, esi
je 0x56a8b7
test byte [ebx + 0x20], 4
je 0x56a870
mov eax, dword [ebx + 8]
mov edx, dword [ebp + 8]
sub dword [edx + 0x130], eax
sbb dword [edx + 0x134], 0
mov ecx, dword [ebx + 0x20]
test cl, 8
je 0x56a7f1
and ecx, 3
sub dword [edx + ecx*8 + 0x138], eax
sbb dword [edx + ecx*8 + 0x13c], 0
mov eax, dword [ebx + 0x18]
mov edi, dword [ebx + 0x1c]
mov edx, eax
and edx, edi
cmp edx, 0xffffffff
je 0x56a870
mov edx, dword [ebx + 0x20]
and edx, 3
lea edx, [edx + edx*2]
mov ecx, eax
add ecx, 1
mov dword [esp + 0x10], ecx
mov ecx, edi
adc ecx, 0
mov dword [esp + 0xc], ecx
mov esi, dword [esp + 4]
cmp eax, dword [esi + edx*8 + 0x10]
mov ecx, edi
sbb ecx, dword [esi + edx*8 + 0x14]
jb 0x56a870
mov ecx, dword [esp + 4]
lea esi, [ecx + edx*8]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edi
lea eax, [esp + 0x28]
push eax
push esi
call fcn.00528ac0
add esp, 8
cmp eax, 1
jne 0x56a870
mov eax, dword [esp + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x14], eax
nop dword [eax + eax]
movsd xmm0, qword [ebx + 0x10]
movsd qword [esp + 0x70], xmm0
mov eax, dword [ebx + 8]
mov dword [esp + 0x78], eax
mov esi, dword [ebx + 0x3c]
push dword [ebx + 0x30]
call dword [ebx + 0x28]
add esp, 4
test byte [ebx + 0x20], 4
je 0x56a7b0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xb4]
lea edx, [esp + 0x70]
push edx
push dword [ecx + 0xb8]
call dword [eax + 0x24]
add esp, 8
jmp 0x56a7b0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0x169]
mov byte [esp + 4], cl
test cl, cl
je 0x56a8d3
mov dword [eax + 0xbc], 0
mov ecx, dword [eax + 0xf0]
mov edx, dword [eax + 0xf4]
mov esi, dword [eax + 0xf8]
mov edi, ecx
add edi, 0xffffffff
mov ebx, edx
adc ebx, 0xffffffff
cmp edi, esi
mov edi, dword [eax + 0xfc]
sbb ebx, edi
jb 0x56a905
mov ecx, esi
or ecx, edi
je 0x56a94f
mov ecx, esi
mov edx, edi
mov esi, dword [eax + 0x100]
mov edi, dword [eax + 0x104]
cmp esi, ecx
mov ebx, edi
sbb ebx, edx
cmovb edx, edi
cmovb ecx, esi
mov esi, ecx
or esi, edx
je 0x56a961
mov esi, dword [ebp + 8]
mov dword [esi + 0x108], ecx
mov dword [esi + 0x10c], edx
mov eax, dword [esi + 0x8c8]
test eax, eax
je 0x56aaa9
push dword [esi + 0x8cc]
push edx
push ecx
call eax
jmp 0x56aaa6
mov ecx, dword [eax + 0x100]
mov edx, dword [eax + 0x104]
mov esi, ecx
or esi, edx
jne 0x56a923
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x138]
mov esi, dword [edi + 0x13c]
add ecx, dword [edi + 0x140]
adc esi, dword [edi + 0x144]
xor edx, edx
neg ecx
sbb edx, esi
cmp byte [esp + 4], 0
je 0x56a9cc
xor ecx, dword [edi + 0x148]
xor edx, dword [edi + 0x14c]
or edx, ecx
jne 0x56a9cc
mov dword [edi + 0x10c], 0
mov dword [edi + 0x108], 0
mov eax, dword [edi + 0x8c8]
test eax, eax
je 0x56aaa9
push dword [edi + 0x8cc]
push 0
push 0
call eax
jmp 0x56aaa6
lea edx, [esp + 0x28]
mov ecx, edi
call fcn.0056b550
mov dword [edi + 0x10c], edx
mov dword [edi + 0x108], eax
mov ecx, dword [edi + 0x8c8]
test ecx, ecx
je 0x56aaa9
push dword [edi + 0x8cc]
jmp 0x56aaa2
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x100]
mov ecx, dword [ecx + 0x104]
mov edx, eax
mov esi, dword [ebp + 8]
or edx, ecx
jne 0x56a5a9
mov eax, dword [esi + 0x138]
add eax, dword [esi + 0x140]
mov ecx, dword [esi + 0x13c]
adc ecx, dword [esi + 0x144]
xor edx, edx
neg eax
sbb edx, ecx
xor edx, dword [esi + 0x14c]
xor eax, dword [esi + 0x148]
or eax, edx
jne 0x56aa7b
cmp byte [esi + 0x169], 0
je 0x56aa7b
mov dword [esi + 0x10c], 0
mov dword [esi + 0x108], 0
mov eax, dword [esi + 0x8c8]
test eax, eax
je 0x56aaa9
push dword [esi + 0x8cc]
push 0
push 0
call eax
jmp 0x56aaa6
lea edx, [esp + 0x28]
mov ecx, esi
call fcn.0056b550
mov dword [esi + 0x10c], edx
mov dword [esi + 0x108], eax
mov ecx, dword [esi + 0x8c8]
test ecx, ecx
je 0x56aaa9
push dword [esi + 0x8cc]
push edx
push eax
call ecx
add esp, 0xc
mov eax, 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret