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

Disassembly:
push 0xffffffffffffffff
push 0x100a3a10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, dword [esp + 0x78]
push ebx
push ebp
push esi
push edi
mov edi, ecx
cmp eax, 1
mov dword [esp + 0x10], edi
jne 0x1006aa26
cmp dword [esp + 0x94], 4
jne 0x1006aa26
call fcn.10069e70
test al, al
jne 0x1006a160
mov eax, 0x8007000e
jmp 0x1006aa2b
mov eax, dword [esp + 0x84]
xor ebp, ebp
cmp eax, ebp
mov byte [esp + 0x88], 0
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ebp
je 0x1006a1a6
mov eax, dword [eax]
cmp eax, ebp
je 0x1006a1a6
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp eax, ebp
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
ja 0x1006a1a6
jb 0x1006a19e
cmp ecx, 0x1000000
ja 0x1006a1a6
mov byte [esp + 0x88], 1
mov dword [esp + 0x34], edi
mov esi, dword [esp + 0x8c]
mov eax, dword [esp + 0x80]
lea ecx, [edi + 0x10]
mov dword [esp + 0x78], ebp
mov edx, dword [esi]
mov ebx, dword [eax]
push edx
mov dword [esp + 0x28], ebx
call fcn.100065c0
lea ecx, [edi + 0x10]
call fcn.100065cf
mov eax, dword [esi + 4]
lea ecx, [edi + 0x38]
push eax
call fcn.100065c0
lea ecx, [edi + 0x38]
call fcn.100065cf
mov edx, dword [esi + 8]
lea ecx, [edi + 0x60]
push edx
call fcn.100065c0
lea ecx, [edi + 0x60]
call fcn.100065cf
mov esi, dword [esi + 0xc]
lea ecx, [edi + 0xa0]
push esi
call fcn.100065c0
lea esi, [edi + 0x88]
lea ecx, [esi + 0x18]
call fcn.100065cf
mov dword [esi + 8], ebp
add edi, 0xc8
mov ecx, 0x102
mov eax, 0x400
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], 0xffffffff
mov dword [esi], 1
mov byte [esi + 4], 0
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], ebp
mov eax, dword [ebx]
lea ecx, [esp + 0x14]
push ecx
push 0x100a5438
push ebx
mov byte [esp + 0x84], 1
call dword [eax]
xor ebx, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov byte [esp + 0x80], bl
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov eax, 0x20000
xor edi, edi
sub eax, ebx
je 0x1006a2d1
lea ebp, [esp + 0x28]
mov ecx, dword [esp + 0x24]
push ebp
push eax
mov eax, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [eax + 8]
add eax, edi
add eax, ebx
push eax
push ecx
call dword [edx + 0xc]
mov ebp, eax
test ebp, ebp
jne 0x1006a7f7
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1006a2d1
add edi, eax
mov eax, 0x20000
sub eax, edi
sub eax, ebx
jne 0x1006a296
add edi, ebx
cmp edi, 5
mov dword [esp + 0x20], edi
jb 0x1006a840
add edi, 0xfffffffb
mov dword [esp + 0x8c], 0
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x8c]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0x14]
mov bl, byte [ecx + ebp]
lea ecx, [edi + 0x10]
mov byte [edx + eax], bl
mov byte [esp + 0x94], bl
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
inc eax
cmp eax, edx
mov dword [ecx + 4], eax
jne 0x1006a329
call fcn.100066bd
mov cl, bl
and cl, 0xfe
cmp cl, 0xe8
je 0x1006a354
cmp byte [esp + 0x80], 0xf
jne 0x1006a347
mov dl, bl
and dl, 0xf0
cmp dl, 0x80
je 0x1006a354
inc ebp
mov dword [esp + 0x8c], ebp
jmp 0x1006a775
mov eax, dword [edi + 8]
xor edx, edx
add eax, ebp
xor ebx, ebx
mov cl, byte [eax + 4]
mov dl, byte [eax + 3]
mov bl, byte [eax + 2]
mov dh, cl
shl edx, 8
or edx, ebx
xor ebx, ebx
mov bl, byte [eax + 1]
mov byte [esp + 0x84], cl
shl edx, 8
or edx, ebx
mov eax, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
add eax, ebp
lea edx, [eax + edx + 5]
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x1c], edx
je 0x1006a507
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
xor ebx, ebx
add ebp, edx
mov edx, dword [esp + 0x3c]
adc ebx, edi
cmp edx, ebx
ja 0x1006a476
jb 0x1006a3c4
cmp dword [esp + 0x38], ebp
jae 0x1006a476
mov ecx, dword [eax]
lea edx, [esp + 0x60]
push edx
mov edx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push edx
push eax
call dword [ecx + 0xc]
mov edi, eax
test edi, edi
jne 0x1006a41f
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x40], eax
add eax, edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x54]
adc ecx, edi
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x50]
add ecx, 1
adc eax, 0
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x14]
jmp 0x1006a459
cmp edi, 1
je 0x1006a430
cmp edi, 0x80004001
jne 0x1006a962
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1006a444
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov dword [esp + 0x14], eax
xor ecx, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
or ecx, 0xffffffff
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
cmp dword [esp + 0x3c], ebx
jb 0x1006a3c4
ja 0x1006a46f
cmp dword [esp + 0x38], ebp
jb 0x1006a3c4
mov cl, byte [esp + 0x84]
test eax, eax
jne 0x1006a4ac
mov al, byte [esp + 0x88]
test al, al
je 0x1006a4cb
mov ecx, dword [esp + 0x5c]
xor eax, eax
cmp eax, ecx
ja 0x1006a4a5
jb 0x1006a535
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x1c]
cmp eax, edx
jb 0x1006a535
xor cl, cl
jmp 0x1006a537
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
sub eax, edi
sbb edx, dword [esp + 0x44]
mov dword [esp + 0x6c], edx
jne 0x1006a4cb
cmp eax, 0x1000000
jbe 0x1006a4d8
test cl, cl
je 0x1006a535
cmp cl, 0xff
je 0x1006a535
xor cl, cl
jmp 0x1006a537
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x44]
cdq
add eax, ebp
adc edx, ebx
add eax, 5
adc edx, 0
cmp edx, ecx
jb 0x1006a503
ja 0x1006a4f5
cmp eax, edi
jb 0x1006a503
cmp edx, dword [esp + 0x3c]
ja 0x1006a503
jb 0x1006a535
cmp eax, dword [esp + 0x38]
jb 0x1006a535
xor cl, cl
jmp 0x1006a537
mov al, byte [esp + 0x88]
test al, al
je 0x1006a528
mov ecx, dword [esp + 0x5c]
xor eax, eax
cmp eax, ecx
ja 0x1006a524
jb 0x1006a535
cmp edx, dword [esp + 0x58]
jb 0x1006a535
xor cl, cl
jmp 0x1006a537
test cl, cl
je 0x1006a535
cmp cl, 0xff
je 0x1006a535
xor cl, cl
jmp 0x1006a537
mov cl, 1
mov bl, byte [esp + 0x94]
cmp bl, 0xe8
jne 0x1006a551
mov eax, dword [esp + 0x80]
and eax, 0xff
jmp 0x1006a55e
xor eax, eax
cmp bl, 0xe9
setne al
add eax, 0x100
test cl, cl
je 0x1006a6a8
mov edx, dword [esi + 0x10]
mov edi, dword [esp + 0x10]
mov ecx, edx
mov ebp, dword [esi + 8]
shr ecx, 0xb
imul ecx, dword [edi + eax*4 + 0xc8]
add ebp, ecx
mov dword [esi + 8], ebp
mov ebp, dword [esi + 0xc]
adc ebp, 0
sub edx, ecx
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], edx
mov ecx, dword [edi + eax*4 + 0xc8]
mov edx, ecx
shr edx, 5
sub ecx, edx
mov dword [edi + eax*4 + 0xc8], ecx
mov eax, dword [esi + 0x10]
cmp eax, 0x1000000
jae 0x1006a63c
mov edi, dword [esi + 8]
shl eax, 8
cmp edi, 0xff000000
mov dword [esi + 0x10], eax
jb 0x1006a5d7
mov edx, dword [esi + 0xc]
mov ecx, 0x20
mov eax, edi
call fcn.1009aaf0
test eax, eax
je 0x1006a623
mov bl, byte [esi + 4]
lea edi, [esi + 0x18]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov ecx, 0x20
call fcn.1009aaf0
mov ecx, dword [edi]
mov edx, dword [edi + 4]
add al, bl
mov byte [ecx + edx], al
mov edx, dword [edi + 4]
mov ecx, dword [edi + 8]
inc edx
mov eax, edx
mov dword [edi + 4], edx
cmp eax, ecx
jne 0x1006a60e
mov ecx, edi
call fcn.100066bd
mov eax, dword [esi]
or bl, 0xff
dec eax
mov dword [esi], eax
jne 0x1006a5dd
mov edi, dword [esi + 8]
mov eax, edi
shr eax, 0x18
mov byte [esi + 4], al
mov ecx, dword [esi]
mov bl, byte [esp + 0x94]
inc ecx
shl edi, 8
mov dword [esi + 8], edi
mov dword [esi], ecx
mov dword [esi + 0xc], 0
mov ecx, dword [esp + 0x8c]
add ecx, 5
cmp bl, 0xe8
mov dword [esp + 0x8c], ecx
jne 0x1006a65b
mov ecx, dword [esp + 0x10]
lea edi, [ecx + 0x38]
jmp 0x1006a662
mov edx, dword [esp + 0x10]
lea edi, [edx + 0x60]
mov ebp, dword [esp + 0x1c]
mov ebx, 0x18
mov edx, dword [edi]
mov eax, ebp
mov ecx, ebx
shr eax, cl
mov ecx, dword [edi + 4]
mov byte [ecx + edx], al
mov edx, dword [edi + 4]
mov ecx, dword [edi + 8]
inc edx
mov eax, edx
mov dword [edi + 4], edx
cmp eax, ecx
jne 0x1006a690
mov ecx, edi
call fcn.100066bd
sub ebx, 8
jns 0x1006a66b
mov al, byte [esp + 0x84]
mov byte [esp + 0x80], al
jmp 0x1006a77c
mov ecx, dword [esi + 0x10]
mov edx, dword [esp + 0x10]
shr ecx, 0xb
imul ecx, dword [edx + eax*4 + 0xc8]
mov dword [esi + 0x10], ecx
mov ecx, dword [edx + eax*4 + 0xc8]
mov edi, 0x800
sub edi, ecx
shr edi, 5
add edi, ecx
mov dword [edx + eax*4 + 0xc8], edi
mov eax, dword [esi + 0x10]
cmp eax, 0x1000000
jae 0x1006a76e
mov edi, dword [esi + 8]
shl eax, 8
cmp edi, 0xff000000
mov dword [esi + 0x10], eax
jb 0x1006a709
mov edx, dword [esi + 0xc]
mov ecx, 0x20
mov eax, edi
call fcn.1009aaf0
test eax, eax
je 0x1006a755
mov bl, byte [esi + 4]
lea edi, [esi + 0x18]
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov ecx, 0x20
call fcn.1009aaf0
mov ecx, dword [edi]
mov edx, dword [edi + 4]
add al, bl
mov byte [ecx + edx], al
mov edx, dword [edi + 4]
mov ecx, dword [edi + 8]
inc edx
mov eax, edx
mov dword [edi + 4], edx
cmp eax, ecx
jne 0x1006a740
mov ecx, edi
call fcn.100066bd
mov eax, dword [esi]
or bl, 0xff
dec eax
mov dword [esi], eax
jne 0x1006a70f
mov edi, dword [esi + 8]
mov eax, edi
shr eax, 0x18
mov byte [esi + 4], al
mov ecx, dword [esi]
mov bl, byte [esp + 0x94]
inc ecx
shl edi, 8
mov dword [esi + 8], edi
mov dword [esi], ecx
mov dword [esi + 0xc], 0
inc dword [esp + 0x8c]
mov byte [esp + 0x80], bl
mov ebp, dword [esp + 0x8c]
mov eax, dword [esp + 0x30]
cmp ebp, eax
jbe 0x1006a2f2
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x98]
add ebx, ebp
add edi, ebp
mov dword [esp + 0x18], ebx
mov ebx, 0
adc edx, ebx
cmp eax, ebx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edx
je 0x1006a7d3
mov ecx, dword [eax]
lea edx, [esp + 0x48]
push ebx
push edx
push eax
call dword [ecx + 0xc]
mov edi, eax
cmp edi, ebx
jne 0x1006a9bd
mov edi, dword [esp + 0x20]
cmp ebp, edi
jae 0x1006a7f0
mov eax, dword [esp + 0x10]
inc ebx
inc ebp
mov eax, dword [eax + 8]
cmp ebp, edi
mov cl, byte [eax + ebp - 1]
mov byte [eax + ebx - 1], cl
jb 0x1006a7db
xor ebp, ebp
jmp 0x1006a28b
mov eax, dword [esp + 0x14]
mov byte [esp + 0x78], 0
test eax, eax
je 0x1006a80a
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esi + 0x24]
call fcn.10067fae
lea ecx, [esi + 0x4c]
call fcn.10067fae
lea ecx, [esi + 0x74]
call fcn.10067fae
lea ecx, [esi + 0xb4]
call fcn.10067fae
mov eax, ebp
jmp 0x1006aa2b
xor ebp, ebp
test edi, edi
jbe 0x1006a901
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 8]
mov edx, dword [edi + 0x14]
lea ecx, [edi + 0x10]
mov bl, byte [eax + ebp]
mov eax, dword [ecx]
mov byte [edx + eax], bl
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
inc eax
cmp eax, edx
mov dword [ecx + 4], eax
jne 0x1006a872
call fcn.100066bd
cmp bl, 0xe8
jne 0x1006a886
mov ecx, dword [esp + 0x80]
and ecx, 0xff
jmp 0x1006a8ab
cmp bl, 0xe9
jne 0x1006a892
mov ecx, 0x100
jmp 0x1006a8ab
cmp byte [esp + 0x80], 0xf
jne 0x1006a8ed
mov cl, bl
and cl, 0xf0
cmp cl, 0x80
jne 0x1006a8ed
mov ecx, 0x101
mov eax, dword [esi + 0x10]
mov edx, 0x800
shr eax, 0xb
imul eax, dword [edi + ecx*4 + 0xc8]
mov dword [esi + 0x10], eax
mov eax, dword [edi + ecx*4 + 0xc8]
sub edx, eax
shr edx, 5
add edx, eax
mov dword [edi + ecx*4 + 0xc8], edx
mov eax, dword [esi + 0x10]
cmp eax, 0x1000000
jae 0x1006a8ed
shl eax, 8
mov ecx, esi
mov dword [esi + 0x10], eax
call fcn.1006aa40
mov eax, dword [esp + 0x20]
inc ebp
cmp ebp, eax
mov byte [esp + 0x80], bl
jb 0x1006a84a
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.1006a010
mov edi, eax
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x78], 0
je 0x1006a921
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi + 0x24]
mov dword [esp + 0x78], 0xffffffff
call fcn.10067fae
lea ecx, [esi + 0x4c]
call fcn.10067fae
lea ecx, [esi + 0x74]
call fcn.10067fae
mov eax, dword [esi + 0xb4]
test eax, eax
je 0x1006a95b
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0xb4], 0
mov eax, edi
jmp 0x1006aa2b
mov eax, dword [esp + 0x14]
mov byte [esp + 0x78], 0
test eax, eax
je 0x1006a975
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x78], 0xffffffff
lea ecx, [esi + 0x24]
call fcn.10067fae
lea ecx, [esi + 0x4c]
call fcn.10067fae
mov eax, dword [esi + 0x74]
xor ebx, ebx
cmp eax, ebx
je 0x1006a9a3
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0x74], ebx
mov eax, dword [esi + 0xb4]
cmp eax, ebx
je 0x1006a9b9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0xb4], ebx
mov eax, edi
jmp 0x1006aa2b
mov eax, dword [esp + 0x14]
mov byte [esp + 0x78], 0
cmp eax, ebx
je 0x1006a9d0
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esi + 0x24]
cmp eax, ebx
je 0x1006a9ec
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x24], ebx
mov eax, dword [esi + 0x4c]
cmp eax, ebx
je 0x1006a9fc
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0x4c], ebx
mov eax, dword [esi + 0x74]
cmp eax, ebx
je 0x1006aa0c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x74], ebx
mov eax, dword [esi + 0xb4]
cmp eax, ebx
je 0x1006a9b9
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esi + 0xb4], ebx
mov eax, edi
jmp 0x1006aa2b
mov eax, 0x80070057
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret 0x1c