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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x10165004]
xor eax, esp
mov dword [esp + 0xd4], eax
xor eax, eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x84], eax
xorps xmm0, xmm0
mov eax, dword [ecx + 8]
mov dword [esp + 0x7c], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x88], eax
mov eax, dword [ecx]
push esi
push edi
movaps xmmword [esp + 0xa0], xmm0
mov eax, dword [eax + 8]
movaps xmmword [esp + 0xb0], xmm0
movq qword [esp + 0xc0], xmm0
mov esi, dword [eax + 0xc]
mov eax, dword [ecx + 0x30]
mov dword [esp + 0x30], eax
mov eax, esi
cdq
mov dword [esp + 0x28], esi
mov edi, eax
mov esi, edx
push esi
push edi
call fcn.1001e4e0
add esp, 8
mov dword [esp + 0x48], eax
test eax, eax
jne 0x10056a6d
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xac]
mov esi, dword [esp + 0xbc]
mov edi, dword [esp + 0xb0]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x60], 7
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
jmp 0x10056a9e
push esi
mov esi, dword [esp + 0x88]
push edi
push dword [esp + 0x7c]
push esi
call fcn.1013c0e0
mov edi, eax
cdq
sub esi, eax
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x74]
sbb esi, edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x50], edi
nop word [eax + eax]
mov edx, dword [esp + 0x90]
mov eax, dword [edx + 8]
mov eax, dword [eax + 4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [edx + 0xc]
lea eax, [eax + ecx*8]
mov dword [esp + 0x70], eax
mov eax, edi
cdq
add eax, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x70]
adc edx, esi
mov dword [esp + 0x98], edx
cmp dword [eax + 0x18], 0
je 0x10056d91
mov eax, dword [eax + 0x14]
mov ecx, 1
mov dword [esp + 0x88], eax
cdq
mov esi, edx
mov dword [esp + 0x20], eax
shrd eax, esi, 7
mov dword [esp + 0x94], edx
shr esi, 7
mov edx, eax
mov dword [esp + 0x80], eax
or eax, esi
je 0x10056b3f
mov edi, ecx
shrd edx, esi, 7
inc edi
shr esi, 7
mov ecx, edx
or ecx, esi
jne 0x10056b25
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x94]
mov eax, ecx
cdq
add eax, dword [esp + 0x20]
mov ecx, edx
adc ecx, esi
add eax, dword [esp + 0x7c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x78]
adc ecx, dword [esp + 0x98]
mov eax, dword [eax + 0x10]
cdq
add eax, dword [esp + 0x84]
adc edx, dword [esp + 0x74]
cmp ecx, edx
jg 0x10056d91
jl 0x10056b87
cmp dword [esp + 0x7c], eax
ja 0x10056d91
mov eax, dword [esp + 0x20]
test esi, esi
ja 0x10056be8
jb 0x10056b96
cmp eax, 0x7f
ja 0x10056bb0
and al, 0x7f
mov byte [esp + 0xd0], al
mov eax, 1
mov ecx, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x20], ecx
jmp 0x10056c10
test esi, esi
ja 0x10056be8
jb 0x10056bbd
cmp eax, 0x3fff
ja 0x10056be8
mov ecx, dword [esp + 0x80]
or cl, 0x80
and al, 0x7f
mov byte [esp + 0xd1], al
mov eax, 2
mov byte [esp + 0xd0], cl
mov ecx, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x20], ecx
jmp 0x10056c10
push esi
push eax
lea ecx, [esp + 0xd8]
call fcn.100233d0
add esp, 8
mov dword [esp + 0x4c], eax
mov ecx, eax
mov dword [esp + 0x20], ecx
test eax, eax
jle 0x10056ca8
nop dword [eax + eax]
cmp dword [esp + 0x60], 0
jne 0x10056ca4
mov esi, dword [esp + 0x28]
sub esi, edi
cmp ecx, esi
cmovle esi, ecx
sub eax, ecx
lea ecx, [esp + 0xd0]
add eax, ecx
push esi
push eax
mov eax, dword [esp + 0x50]
add eax, edi
push eax
call fcn.1012bff0
add edi, esi
add esp, 0xc
cmp edi, dword [esp + 0x28]
jne 0x10056c8e
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
cdq
add eax, dword [esp + 0x10]
adc edx, dword [esp + 0x1c]
mov ecx, dword [ecx]
push edx
push eax
mov eax, dword [esp + 0x2c]
sub edi, eax
add eax, dword [esp + 0x50]
push edi
push eax
push dword [esp + 0x40]
mov eax, dword [ecx + 0xc]
call eax
mov dword [esp + 0x74], eax
xor edi, edi
mov eax, dword [esp + 0x3c]
add esp, 0x14
cdq
add dword [esp + 0x10], eax
mov dword [esp + 0x24], edi
adc dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x4c]
sub ecx, esi
mov dword [esp + 0x20], ecx
test ecx, ecx
jg 0x10056c10
mov dword [esp + 0x50], edi
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x88]
mov ecx, edx
mov dword [esp + 0x70], edx
mov eax, dword [eax + 0x20]
mov dword [esp + 0x80], eax
test edx, edx
jle 0x10056d6b
nop dword [eax + eax]
cmp dword [esp + 0x60], 0
jne 0x10056d67
mov esi, dword [esp + 0x28]
sub esi, edi
cmp ecx, esi
cmovle esi, ecx
sub eax, ecx
add eax, edx
push esi
push eax
mov eax, dword [esp + 0x50]
add eax, edi
push eax
call fcn.1012bff0
add edi, esi
add esp, 0xc
cmp edi, dword [esp + 0x28]
jne 0x10056d47
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov eax, dword [esp + 0x24]
cdq
add eax, dword [esp + 0x10]
adc edx, dword [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x2c]
sub edi, eax
add eax, dword [esp + 0x50]
push edi
push eax
push dword [esp + 0x40]
mov eax, dword [ecx + 0xc]
call eax
mov dword [esp + 0x74], eax
xor edi, edi
mov eax, dword [esp + 0x3c]
add esp, 0x14
cdq
add dword [esp + 0x10], eax
mov dword [esp + 0x24], edi
adc dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x80]
sub ecx, esi
mov edx, dword [esp + 0x88]
mov dword [esp + 0x70], ecx
test ecx, ecx
jg 0x10056cd0
mov dword [esp + 0x50], edi
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x9c]
mov ecx, dword [eax + 4]
call fcn.100564a0
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x8c], eax
test eax, eax
je 0x10056ab0
mov esi, dword [esp + 0x60]
test esi, esi
jne 0x10056dd2
cmp dword [esp + 0x48], esi
je 0x10056dd2
mov ecx, dword [esp + 0x24]
cmp edi, ecx
jle 0x10056dd2
mov eax, dword [esp + 0x30]
mov esi, dword [eax]
mov eax, ecx
cdq
add eax, dword [esp + 0x10]
adc edx, dword [esp + 0x1c]
push edx
push eax
mov eax, edi
sub eax, ecx
add ecx, dword [esp + 0x50]
push eax
push ecx
push dword [esp + 0x40]
mov ecx, dword [esi + 0xc]
call ecx
add esp, 0x14
mov esi, eax
mov ecx, dword [esp + 0x78]
mov eax, edi
mov edi, dword [esp + 0x48]
cdq
add eax, dword [esp + 0x10]
mov dword [ecx + 0x38], eax
adc edx, dword [esp + 0x1c]
mov dword [ecx + 0x3c], edx
test edi, edi
je 0x10056e47
cmp dword [0x10165af8], 0
je 0x10056e3d
mov eax, dword [0x10168b48]
test eax, eax
je 0x10056e0b
push eax
call dword [0x10165b48]
add esp, 4
push edi
call dword [0x10165b24]
sub dword [0x101689d0], eax
add esp, 4
dec dword [0x101689f4]
push edi
call dword [0x10165b1c]
mov eax, dword [0x10168b48]
add esp, 4
test eax, eax
je 0x10056e47
push eax
call dword [0x10165b50]
jmp 0x10056e44
push edi
call dword [0x10165b1c]
add esp, 4
mov eax, dword [esp + 0x8c]
test eax, eax
mov ecx, dword [esp + 0xdc]
cmove eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.10129271
mov esp, ebp
pop ebp
ret