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

Disassembly:
push 0xffffffffffffffff
push 0x10080dcb
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x10097288]
xor eax, esp
mov dword [esp + 0xb8], eax
push esi
push edi
mov eax, dword [0x10097288]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov dword [esp + 0x94], ecx
mov eax, dword [esp + 0xd8]
mov esi, dword [esp + 0xdc]
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0x50], eax
mov eax, dword [esi]
mov dword [esp + 0x84], ecx
mov dword [esp + 0xa4], esi
mov edi, dword [eax + 0x24]
mov eax, dword [ecx + 0x78]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 0x7c]
lea ecx, [esp + 0x68]
mov dword [esp + 0x90], eax
lea eax, [esp + 0xe4]
push eax
push edi
mov dword [esp + 0x84], edi
mov dword [esp + 0xa0], edx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
call fcn.10008850
mov dword [esp + 0xd0], 0
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx + 4]
mov edi, dword [ecx + 4]
mov eax, dword [ecx + 8]
shr edx, 1
sub edi, edx
cmp eax, edi
jb 0x10017041
sub eax, dword [ecx + 4]
add eax, edx
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
call fcn.1000ebe0
mov eax, 1
jmp 0x1001704b
mov dword [ecx + 4], edi
call fcn.1000ebe0
xor eax, eax
test eax, eax
mov dword [esp + 0xc0], 0
mov eax, dword [esp + 0x84]
xorps xmm0, xmm0
setne byte [esp + 0xaf]
cmp dword [esp + 0x7c], 0
movdqu xmmword [esp + 0xb0], xmm0
mov eax, dword [eax + 0x94]
mov dword [esp + 0x5c], eax
jle 0x100170eb
xor esi, esi
jmp 0x10017090
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx + 4]
mov edi, dword [ecx + 4]
mov eax, dword [ecx + 8]
shr edx, 1
sub edi, edx
cmp eax, edi
jb 0x100170be
sub eax, dword [ecx + 4]
add eax, edx
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
call fcn.1000ebe0
push 1
push 1
jmp 0x100170ca
mov dword [ecx + 4], edi
call fcn.1000ebe0
push 1
push 0xffffffffffffffff
lea ecx, [esp + 0xa0]
call fcn.1000e820
mov dword [esp + esi*4 + 0xb0], eax
inc esi
cmp esi, dword [esp + 0x7c]
jl 0x10017090
mov esi, dword [esp + 0xa4]
mov edi, dword [esp + 0xe4]
xor edx, edx
mov ecx, dword [esi]
mov eax, edi
sub eax, dword [esp + 0xe8]
inc eax
mov dword [esp + 0x8c], edx
imul eax, dword [ecx + 0x24]
test eax, eax
jle 0x100178ed
cmp byte [esp + 0xaf], 0
je 0x1001714f
push dword [esp + 0x9c]
push edx
push dword [esp + 0xf0]
mov edx, ecx
lea ecx, [esp + 0x30]
push edi
call fcn.10052dd0
mov edi, dword [esp + 0x34]
add esp, 0x10
mov ecx, dword [esp + 0x68]
mov dword [esp + 0xa0], edi
jmp 0x10017338
mov edx, dword [esp + 0x7c]
lea edi, [edx - 1]
test edi, edi
jne 0x10017166
mov dword [esp + 0xa0], edi
jmp 0x10017300
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x98]
mov edx, dword [eax + 4]
mov ecx, edx
shr ecx, 1
sub edx, ecx
mov dword [esp + 0xa8], edx
mov edx, dword [eax + 8]
cmp edx, dword [esp + 0xa8]
jb 0x10017245
sub edx, dword [eax + 4]
add edx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
cmp ecx, 0x10000
ja 0x100171dd
mov edx, dword [eax]
shl dword [eax + 8], 8
shl ecx, 8
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
cmp ecx, dword [edx + 4]
jb 0x100171c7
mov ecx, dword [edx + 0xc]
jmp 0x100171da
mov esi, dword [edx + 8]
mov ecx, dword [edx]
movzx ecx, byte [esi + ecx]
inc dword [edx + 8]
mov esi, dword [esp + 0xa4]
or dword [eax + 8], ecx
mov ecx, dword [eax + 4]
cmp ecx, 0x10000
ja 0x10017217
mov edx, dword [eax]
shl dword [eax + 8], 8
shl ecx, 8
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
cmp ecx, dword [edx + 4]
jb 0x10017201
mov ecx, dword [edx + 0xc]
jmp 0x10017214
mov esi, dword [edx + 8]
mov ecx, dword [edx]
movzx ecx, byte [esi + ecx]
inc dword [edx + 8]
mov esi, dword [esp + 0xa4]
or dword [eax + 8], ecx
mov eax, dword [esp + 0x88]
sub edi, eax
dec edi
mov dword [esp + 0xa8], edi
lea edi, [eax + 1]
mov dword [esp + 0xa0], edi
je 0x100172fc
push dword [esp + 0xa8]
push edi
jmp 0x100172e7
mov ecx, dword [esp + 0xa8]
mov dword [eax + 4], ecx
cmp ecx, 0x10000
ja 0x1001728d
mov edx, dword [eax]
shl dword [eax + 8], 8
shl ecx, 8
mov dword [eax + 4], ecx
mov edi, dword [edx + 8]
cmp edi, dword [edx + 4]
jb 0x10017270
mov ecx, dword [edx + 0xc]
jmp 0x1001728a
mov ecx, dword [edx]
movzx ecx, byte [edi + ecx]
mov dword [esp + 0xa8], ecx
lea ecx, [edi + 1]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0xa8]
or dword [eax + 8], ecx
mov ecx, dword [eax + 4]
cmp ecx, 0x10000
ja 0x100172ce
mov edx, dword [eax]
shl dword [eax + 8], 8
shl ecx, 8
mov dword [eax + 4], ecx
mov edi, dword [edx + 8]
cmp edi, dword [edx + 4]
jb 0x100172b1
mov ecx, dword [edx + 0xc]
jmp 0x100172cb
mov ecx, dword [edx]
movzx ecx, byte [ecx + edi]
mov dword [esp + 0xa8], ecx
lea ecx, [edi + 1]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0xa8]
or dword [eax + 8], ecx
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x100172e4
xor edi, edi
mov dword [esp + 0xa0], edi
jmp 0x100172fc
push eax
push 0
lea ecx, [esp + 0xa0]
call fcn.1000e820
mov edi, eax
mov dword [esp + 0xa0], eax
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x68]
cmp edx, 3
jle 0x10017322
mov eax, dword [esi]
cmp byte [eax + 0x3c], 0
je 0x10017322
cmp edi, 3
jge 0x10017322
mov eax, dword [ecx + edi*4]
cmp eax, dword [ecx + 0xc]
jle 0x10017933
cmp edx, 4
jle 0x10017338
cmp edi, 4
jge 0x10017338
mov eax, dword [ecx + edi*4]
cmp eax, dword [ecx + 0x10]
jle 0x1001794a
lea eax, [edi*4]
mov dword [esp + 0xa8], eax
mov eax, dword [ecx + eax]
mov dword [esp + 0x74], eax
test eax, eax
js 0x10017a48
push dword [0x1009b7b4]
mov eax, dword [esp + 0x5c]
push dword [0x1009b7b0]
cdq
push edx
push eax
call fcn.1007f6f0
push 0
push 0x64
push dword [0x1009b7a4]
mov dword [esp + 0x94], eax
mov esi, edx
push dword [0x1009b7a0]
call fcn.1007f6f0
cmp edx, esi
jl 0x100173a8
jg 0x1001739a
cmp eax, dword [esp + 0x88]
jbe 0x100173a8
cmp dword [esp + 0xe8], 0
je 0x10017961
mov ecx, dword [esp + 0x9c]
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [esp + 0x9c]
mov esi, eax
push edi
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
cmp eax, esi
jge 0x100178aa
mov eax, dword [esp + edi*4 + 0xb0]
mov dword [esp + 0x78], eax
test eax, eax
jns 0x1001742d
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx + 4]
mov esi, dword [ecx + 4]
mov eax, dword [ecx + 8]
shr edx, 1
sub esi, edx
cmp eax, esi
jb 0x10017411
sub eax, dword [ecx + 4]
add eax, edx
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
call fcn.1000ebe0
mov dword [esp + 0x78], 2
jmp 0x1001742d
mov dword [ecx + 4], esi
call fcn.1000ebe0
push 1
push 0
lea ecx, [esp + 0xa0]
call fcn.1000e820
mov dword [esp + 0x78], eax
mov esi, dword [esp + 0x74]
mov eax, esi
cdq
sub eax, edx
mov edx, 1
sar eax, 1
mov ecx, eax
shl edx, cl
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x88], edx
cmp edx, ecx
jge 0x1001749f
mov eax, dword [esp + 0x94]
push dword [eax + 8]
push ecx
push 0x1008acfc
push 1
call fcn.100520e0
mov eax, dword [esp + 0x6c]
add esp, 0x10
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x84]
sar ecx, 1
mov dword [esp + 0x5c], ecx
cmp dword [eax + 0x98], 0
mov dword [eax + 0x94], ecx
je 0x10017498
cmp ecx, 2
jl 0x10017a55
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x90]
cmp edx, eax
jl 0x100179ec
mov eax, dword [esp + 0xa4]
mov eax, dword [eax]
mov ecx, dword [eax + 0x14]
mov edi, dword [eax + 0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x60], eax
lea eax, [esi + 1]
cdq
mov esi, 1
sub eax, edx
mov dword [esp + 0x4c], ecx
sar eax, 1
xor edx, edx
mov ecx, eax
lea eax, [edi - 1]
shl esi, cl
div esi
xor edx, edx
mov esi, dword [esp + 0xe8]
inc eax
push eax
mov eax, dword [esp + 0x50]
dec eax
div dword [esp + 0x8c]
inc eax
push eax
mov eax, dword [esp + 0xec]
push dword [esp + 0xa8]
sub eax, esi
inc eax
imul eax, dword [esp + 0x6c]
dec eax
push eax
push dword [esp + 0x9c]
push 0
push 0x64
push dword [0x1009b7a4]
push dword [0x1009b7a0]
call fcn.1007f6f0
push dword [0x1009b7b4]
push dword [0x1009b7b0]
push edx
push eax
call fcn.1007f740
push eax
xor eax, eax
test esi, esi
push 0x1008abac
setne al
lea eax, [eax*8 + 2]
push eax
call fcn.10052110
mov eax, dword [esp + 0xc4]
add esp, 0x20
mov edi, dword [eax + 4]
mov esi, dword [eax]
cmp esi, edi
je 0x10017591
lea ecx, [ecx]
mov eax, dword [esp + 0xa8]
push dword [esp + 0x74]
mov ecx, dword [esi + eax]
mov eax, dword [ecx]
call dword [eax + 0x20]
add esi, 0x6c
cmp esi, edi
jne 0x10017570
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
test ecx, ecx
jle 0x100175be
mov edi, dword [eax + 4]
mov esi, dword [eax]
cmp esi, edi
je 0x100175be
mov ecx, dword [esi]
push dword [esp + 0x74]
mov eax, dword [ecx]
call dword [eax + 0x20]
add esi, 0x6c
cmp esi, edi
jne 0x100175a5
mov ecx, dword [esp + 0xa0]
cmp ecx, 3
jge 0x100175fa
cmp dword [esp + 0x7c], 3
jle 0x100175fa
mov eax, dword [esp + 0xa4]
mov edi, dword [eax + 4]
mov esi, dword [eax]
cmp esi, edi
je 0x100175fa
lea ebx, [ebx]
mov ecx, dword [esi + 0xc]
push dword [esp + 0x74]
mov eax, dword [ecx]
call dword [eax + 0x20]
add esi, 0x6c
cmp esi, edi
jne 0x100175e0
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x74]
mov eax, edx
and eax, 0x80000001
jns 0x1001760c
dec eax
or eax, 0xfffffffe
inc eax
mov esi, dword [esp + 0xa4]
mov edi, dword [esp + 0x94]
mov eax, dword [esi]
mov eax, dword [eax + 0x2c]
jne 0x10017681
cmp eax, 8
mov eax, dword [esp + 0x84]
push dword [eax + 0x60]
lea eax, [esp + 0x6c]
push dword [esp + 0x84]
push eax
push dword [esp + 0x84]
push edx
push dword [esp + 0xa0]
mov edx, edi
push dword [esp + 0xa8]
push ecx
push dword [esp + 0x108]
push dword [esp + 0x108]
push dword [esp + 0xc4]
push esi
push dword [esp + 0x94]
push ecx
jg 0x1001767a
call fcn.1001bd90
jmp 0x100176df
call fcn.1001c100
jmp 0x100176df
cmp eax, 8
mov eax, dword [esp + 0x84]
push dword [eax + 0x60]
lea eax, [esp + 0x6c]
push dword [esp + 0x84]
push eax
push dword [esp + 0x84]
push edx
push dword [esp + 0xa0]
mov edx, edi
push dword [esp + 0xa8]
push ecx
push dword [esp + 0x108]
push dword [esp + 0x108]
push dword [esp + 0xc4]
push esi
push dword [esp + 0x94]
push ecx
jg 0x100176da
call fcn.1001c470
jmp 0x100176df
call fcn.1001c7e0
add esp, 0x38
test al, al
je 0x10017a55
cmp dword [esp + 0xe8], 0
jne 0x10017715
push dword [edi + 8]
push 0x1008ad8c
push 3
call fcn.100520e0
add esp, 0xc
push 0x1008acac
push 5
call fcn.100520e0
add esp, 8
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0xa8]
push 0
push 0x2710
push dword [0x1009b7a4]
dec dword [eax + ecx]
push dword [0x1009b7a0]
call fcn.1007f6f0
push dword [0x1009b7b4]
push dword [0x1009b7b0]
push edx
push eax
call fcn.1007f740
cmp dword [esp + 0x54], 0
mov edi, eax
je 0x100178b8
cmp dword [esp + 0xa0], 4
jge 0x100178b8
mov edx, dword [esp + 0xe8]
test edx, edx
je 0x10017794
mov eax, dword [esi]
mov ecx, dword [esp + 0xe4]
sub ecx, edx
inc ecx
imul ecx, dword [eax + 0x24]
mov eax, dword [esp + 0x8c]
inc eax
cmp eax, ecx
jne 0x100178b8
cmp edi, dword [0x1009b7a8]
jl 0x100178b8
lea eax, [esp + 0x9c]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x90]
mov dword [esp + 0x40], eax
lea eax, [esp + 0xe8]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x48], eax
lea eax, [esp + 0xc]
mov dword [0x100982f8], edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x1c], 0
push 0x28
mov byte [esp + 0xd4], 1
call fcn.1006f89d
add esp, 4
test eax, eax
je 0x100179e7
movdqu xmm0, xmmword [esp + 0x2c]
mov dword [eax], 0x1008e448
movdqu xmmword [eax + 4], xmm0
movdqu xmm0, xmmword [esp + 0x3c]
movdqu xmmword [eax + 0x14], xmm0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xc]
mov byte [esp + 0xd0], 2
push eax
mov eax, dword [esp + 0x98]
cmp edi, 0x2710
push dword [esp + 0x54]
sete cl
movzx ecx, cl
mov eax, dword [eax + 8]
push ecx
cdq
push edx
push eax
push edi
call dword [esp + 0x6c]
mov byte [esp + 0xe8], 0
add esp, 0x18
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x60], eax
test ecx, ecx
je 0x1001789b
mov esi, dword [ecx]
lea eax, [esp + 0xc]
cmp ecx, eax
setne dl
movzx eax, dl
push eax
call dword [esi + 0x10]
mov eax, dword [esp + 0x60]
mov dword [0x1009b7a8], eax
cmp edi, eax
jge 0x10017a55
jmp 0x100178b8
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0xa8]
dec dword [eax + ecx]
mov esi, dword [esp + 0xa4]
mov edi, dword [esp + 0xe4]
mov eax, edi
sub eax, dword [esp + 0xe8]
mov edx, dword [esp + 0x8c]
inc eax
mov ecx, dword [esi]
inc edx
mov dword [esp + 0x8c], edx
imul eax, dword [ecx + 0x24]
cmp edx, eax
jl 0x10017113
mov byte [esp + 0xaf], 1
mov eax, dword [esp + 0x68]
test eax, eax
je 0x10017906
push eax
call fcn.1006f76a
add esp, 4
mov al, byte [esp + 0xaf]
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.1006ece9
add esp, 0xc8
ret
push 0x1008abd0
call fcn.100520b0
add esp, 4
mov byte [esp + 0xaf], 0
jmp 0x100178f5
push 0x1008ac40
call fcn.100520b0
add esp, 4
mov byte [esp + 0xaf], 0
jmp 0x100178f5
mov edi, dword [0x1009b7a0]
push 0
push 0x64
push dword [0x1009b7a4]
push edi
call fcn.1007f6f0
push dword [0x1009b7b4]
mov esi, dword [0x1009b7b0]
push esi
push edx
push eax
call fcn.1007f740
push eax
push dword [esp + 0x5c]
push esi
push edi
push 0x1008acb0
push 5
call fcn.100520e0
push dword [esp + 0x98]
mov edx, dword [esp + 0xb8]
lea eax, [esp + 0x84]
mov ecx, dword [esp + 0xc0]
push eax
push dword [esp + 0xb0]
push 0xffffffffffffffff
push dword [esp + 0x110]
push dword [esp + 0xcc]
call fcn.10011e00
add esp, 0x30
mov byte [esp + 0xaf], 0
jmp 0x100178f5
call fcn.1006ebd5
push eax
push dword [0x1009b7b0]
push dword [0x1009b7a0]
push 0x1008ad38
push 5
call fcn.100520e0
mov edx, dword [esp + 0xb0]
lea eax, [esp + 0x7c]
mov ecx, dword [esp + 0xb8]
add esp, 0x14
push dword [esp + 0x80]
push eax
push dword [esp + 0x98]
push 0xffffffffffffffff
push dword [esp + 0xf8]
push edi
call fcn.10011e00
add esp, 0x18
mov byte [esp + 0xaf], 0
jmp 0x100178f5
push 0x1008ac84
call fcn.100520b0
add esp, 4
mov byte [esp + 0xaf], 0
jmp 0x100178f5