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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [section..data]
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 0x100567ad
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 0x100567de
push esi
mov esi, dword [esp + 0x88]
push edi
push dword [esp + 0x7c]
push esi
call fcn.1013ae60
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 0x10056ad1
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 0x1005687f
mov edi, ecx
shrd edx, esi, 7
inc edi
shr esi, 7
mov ecx, edx
or ecx, esi
jne 0x10056865
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 0x10056ad1
jl 0x100568c7
cmp dword [esp + 0x7c], eax
ja 0x10056ad1
mov eax, dword [esp + 0x20]
test esi, esi
ja 0x10056928
jb 0x100568d6
cmp eax, 0x7f
ja 0x100568f0
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 0x10056950
test esi, esi
ja 0x10056928
jb 0x100568fd
cmp eax, 0x3fff
ja 0x10056928
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 0x10056950
push esi
push eax
lea ecx, [esp + 0xd8]
call fcn.10023370
add esp, 8
mov dword [esp + 0x4c], eax
mov ecx, eax
mov dword [esp + 0x20], ecx
test eax, eax
jle 0x100569e8
nop dword [eax + eax]
cmp dword [esp + 0x60], 0
jne 0x100569e4
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.1012ad80
add edi, esi
add esp, 0xc
cmp edi, dword [esp + 0x28]
jne 0x100569ce
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 0x10056950
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 0x10056aab
nop dword [eax + eax]
cmp dword [esp + 0x60], 0
jne 0x10056aa7
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.1012ad80
add edi, esi
add esp, 0xc
cmp edi, dword [esp + 0x28]
jne 0x10056a87
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 0x10056a10
mov dword [esp + 0x50], edi
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x9c]
mov ecx, dword [eax + 4]
call fcn.100561f0
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x8c], eax
test eax, eax
je 0x100567f0
mov esi, dword [esp + 0x60]
test esi, esi
jne 0x10056b12
cmp dword [esp + 0x48], esi
je 0x10056b12
mov ecx, dword [esp + 0x24]
cmp edi, ecx
jle 0x10056b12
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 0x10056b87
cmp dword [0x10165b38], 0
je 0x10056b7d
mov eax, dword [0x10168b88]
test eax, eax
je 0x10056b4b
push eax
call dword [0x10165b88]
add esp, 4
push edi
call dword [0x10165b64]
sub dword [0x10168a10], eax
add esp, 4
dec dword [0x10168a34]
push edi
call dword [0x10165b5c]
mov eax, dword [0x10168b88]
add esp, 4
test eax, eax
je 0x10056b87
push eax
call dword [0x10165b90]
jmp 0x10056b84
push edi
call dword [0x10165b5c]
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.10128001
mov esp, ebp
pop ebp
ret