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

Disassembly:
sub esp, 0x88
push ebx
mov ebx, dword [esp + 0x90]
push ebp
push esi
mov ebp, edx
mov esi, ecx
mov cl, byte [ebx]
xor edx, edx
mov dword [esp + 0x50], esi
mov eax, edx
mov byte [esp + 0x13], cl
mov dword [esp + 0x68], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edx
push edi
cmp cl, 2
jne 0x1006a365
push dword [ebx + 8]
mov edx, ebp
mov ecx, esi
push dword [ebx + 4]
call fcn.10069a6b
pop ecx
pop ecx
test al, al
je 0x1006a254
mov eax, dword [ebp]
and eax, 0xff000fff
cmp eax, 0x2000599
jne 0x1006a7d1
push 0
push ebx
lea ecx, [esi + 4]
call fcn.1006f329
cmp al, 0x11
jne 0x1006a249
push 0
lea eax, [esp + 0x34]
push eax
lea ecx, [esi + 4]
call fcn.1006f329
cmp al, 8
jne 0x1006a249
mov esi, ebp
lea edi, [esp + 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x58], eax
xor edx, edx
mov eax, dword [esp + 0x54]
mov edi, edx
add eax, 4
mov dword [esp + 0x28], edi
mov esi, edx
mov dword [esp + 0x70], edi
push edx
xorps xmm0, xmm0
mov dword [esp + 0x78], edx
push ebx
mov ecx, eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x34], edx
movlpd qword [esp + 0x98], xmm0
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], eax
call fcn.1006f329
mov cl, al
mov byte [esp + 0x17], cl
cmp cl, 2
jne 0x1006a3b0
cmp dword [ebx + 8], 3
jne 0x1006a3b0
xor eax, eax
lea ecx, [esp + 0x1c]
push eax
push dword [ebx + 4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.1006b951
push 1
push dword [ebx + 4]
lea ecx, [esp + 0x24]
call fcn.1006b951
push 2
push dword [ebx + 4]
lea ecx, [esp + 0x24]
call fcn.1006b951
cmp dword [esp + 0x1c], 0x736261
jne 0x1006a395
mov dword [esp + 0x50], 0x4000
mov ecx, dword [esp + 0x4c]
push 0
push ebx
call fcn.1006f329
mov cl, al
jmp 0x1006a3b0
mov eax, dword [ebx + 4]
mov dword [esi + 0xc], eax
jmp 0x1006a7d1
mov eax, dword [ebx + 4]
mov ecx, eax
mov edi, dword [ebx + 8]
mov edx, edi
mov dword [esp + 0x50], eax
call fcn.10069dad
mov dword [esp + 0x6c], eax
test eax, eax
je 0x1006a350
push 0
lea edi, [esi + 4]
push ebx
mov ecx, edi
call fcn.1006f329
cmp al, 2
jne 0x1006a2ec
cmp dword [ebx + 8], 3
jne 0x1006a2f8
mov edx, dword [ebx + 4]
mov dword [esp + 0x1c], 0x19
movzx ecx, byte [edx]
lea eax, [ecx - 0x41]
cmp dword [esp + 0x1c], eax
sbb eax, eax
and eax, 0xffffffe0
add eax, 0x20
xor eax, ecx
cmp eax, 0x70
jne 0x1006a2f8
movzx ecx, byte [edx + 1]
lea eax, [ecx - 0x41]
cmp dword [esp + 0x1c], eax
sbb eax, eax
and eax, 0xffffffe0
add eax, 0x20
xor eax, ecx
cmp eax, 0x74
jne 0x1006a2f8
movzx ecx, byte [edx + 2]
lea eax, [ecx - 0x41]
cmp dword [esp + 0x1c], eax
sbb eax, eax
and eax, 0xffffffe0
add eax, 0x20
xor eax, ecx
cmp eax, 0x72
jne 0x1006a2f8
push 0
push ebx
mov ecx, edi
call fcn.1006f329
cmp al, 8
je 0x1006a178
cmp al, 2
jne 0x1006a349
push dword [ebx + 8]
lea edx, [esp + 0x84]
mov ecx, esi
push dword [ebx + 4]
call fcn.10069a6b
pop ecx
pop ecx
test al, al
je 0x1006a349
mov eax, dword [esp + 0x80]
mov dword [esp + 0x58], eax
and eax, 0xff000fff
cmp eax, 0x2000599
jne 0x1006a349
push 0
push ebx
mov ecx, edi
call fcn.1006f329
cmp al, 0x11
jne 0x1006a349
push 0
push ebx
mov ecx, edi
call fcn.1006f329
cmp al, 8
je 0x1006a178
push 0x2b
jmp 0x1006a5c1
push edi
push dword [esp + 0x54]
mov edx, ebp
mov ecx, esi
call fcn.10069f2c
pop ecx
pop ecx
jmp 0x1006a7d3
cmp cl, 8
je 0x1006a17a
cmp cl, 4
je 0x1006a791
cmp cl, 0xd
jne 0x1006a38e
push edx
push ebx
lea ecx, [esi + 4]
call fcn.1006f329
cmp al, 4
je 0x1006a78f
push 3
jmp 0x1006a5c1
cmp dword [esp + 0x1c], 0x6c6572
jne 0x1006a3ac
mov dword [esp + 0x50], 0x8000
jmp 0x1006a236
mov cl, byte [esp + 0x17]
mov edx, dword [esp + 0x94]
xor ah, ah
mov al, 0xc
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x90]
mov byte [esp + 0x17], ah
mov byte [esp + 0x16], al
mov dword [esp + 0x1c], edx
cmp cl, 2
jne 0x1006a52b
cmp al, 0xc
jne 0x1006a349
push dword [ebx + 8]
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x34]
push dword [ebx + 4]
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call fcn.10069a6b
pop ecx
pop ecx
test al, al
jne 0x1006a433
test edi, edi
jne 0x1006a349
push dword [ebx + 8]
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x34]
push dword [ebx + 4]
call fcn.10069f2c
pop ecx
pop ecx
test eax, eax
jne 0x1006a7d3
mov ecx, dword [esp + 0x4c]
push 0
push ebx
call fcn.1006f329
mov cl, al
mov al, 0x13
mov byte [esp + 0x16], al
cmp cl, 0xe
je 0x1006a49b
mov ah, byte [esp + 0x17]
test edi, edi
jne 0x1006a472
test ah, ah
jne 0x1006a472
lea esi, [esp + 0x30]
lea edi, [esp + 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x28], edi
jmp 0x1006a492
test esi, esi
jne 0x1006a349
lea esi, [esp + 0x30]
lea edi, [esp + 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x18], esi
mov edx, dword [esp + 0x1c]
jmp 0x1006a3d2
mov eax, edi
and al, 7
cmp al, 4
je 0x1006a349
test esi, esi
jne 0x1006a349
mov ecx, dword [esp + 0x4c]
lea esi, [esp + 0x30]
lea edi, [esp + 0x5c]
movsd dword es:[edi], dword [esi]
push 0
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1006f329
cmp al, 4
jne 0x1006a5bf
mov ecx, dword [ebx + 0x10]
mov edx, ecx
mov eax, dword [ebx + 0x14]
add edx, 0xffffffff
adc eax, 0xffffffff
test eax, eax
ja 0x1006a5bf
jb 0x1006a4f0
cmp edx, 7
ja 0x1006a5bf
sub ecx, 1
je 0x1006a517
sub ecx, 1
je 0x1006a512
dec ecx
sub ecx, 1
je 0x1006a50d
sub ecx, 4
jne 0x1006a5bf
push 3
jmp 0x1006a50f
push 2
pop eax
jmp 0x1006a519
xor eax, eax
inc eax
jmp 0x1006a519
xor eax, eax
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], esi
jmp 0x1006a5a0
cmp cl, 4
jne 0x1006a55e
cmp al, 0xc
jne 0x1006a54a
add edx, dword [ebx + 0x10]
mov eax, dword [esp + 0x24]
adc eax, dword [ebx + 0x14]
mov dword [esp + 0x24], eax
mov al, 0x13
mov dword [esp + 0x1c], edx
jmp 0x1006a59c
cmp al, 0xd
jne 0x1006a349
sub edx, dword [ebx + 0x10]
mov eax, dword [esp + 0x24]
sbb eax, dword [ebx + 0x14]
jmp 0x1006a53e
cmp cl, 0xc
jne 0x1006a569
cmp al, 0x13
jne 0x1006a5a0
jmp 0x1006a59a
cmp cl, 0xd
jne 0x1006a57f
cmp al, 0x13
jne 0x1006a576
mov al, cl
jmp 0x1006a59c
cmp al, 0xd
setne al
add al, 0xc
jmp 0x1006a59c
cmp cl, 9
je 0x1006a5c7
cmp cl, 0x10
jne 0x1006a349
test ah, ah
jne 0x1006a349
mov byte [esp + 0x17], 1
mov al, 0xc
mov byte [esp + 0x16], al
mov ecx, dword [esp + 0x4c]
push 0
push ebx
call fcn.1006f329
mov edx, dword [esp + 0x1c]
mov cl, al
mov al, byte [esp + 0x16]
mov ah, byte [esp + 0x17]
jmp 0x1006a3d2
push 0x2d
pop eax
jmp 0x1006a7d3
cmp al, 0x13
jne 0x1006a349
mov eax, edi
and eax, 0xf07
cmp eax, 0x101
mov eax, dword [esp + 0x18]
jne 0x1006a617
and al, 7
cmp al, 1
je 0x1006a349
lea esi, [esp + 0x70]
lea edi, [esp + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x5c]
lea edi, [esp + 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x30]
lea edi, [esp + 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x5c]
test edi, edi
je 0x1006a703
mov ebx, dword [esp + 0x24]
mov esi, edx
add esi, 0x80000000
mov ecx, ebx
adc ecx, 0
jne 0x1006a637
cmp esi, 0xffffffff
jbe 0x1006a674
test ebx, ebx
jg 0x1006a6fc
jl 0x1006a6fc
cmp edx, 0xffffffff
ja 0x1006a6fc
test ebx, ebx
jl 0x1006a6fc
jg 0x1006a660
test edx, edx
jb 0x1006a6fc
mov ecx, edi
and ecx, 0xf8
cmp cl, 0x38
jne 0x1006a674
push 0x2f
jmp 0x1006a5c1
mov ecx, edi
and cl, 7
cmp cl, 4
jne 0x1006a698
mov eax, dword [esp + 0x74]
mov dword [esp + 0x30], 0xa
and dword [esp + 0x38], 0
mov dword [esp + 0x34], eax
jmp 0x1006a747
mov ecx, eax
shr edi, 3
and cl, 7
mov dword [esp + 0x3c], edx
and edi, 0x1f
lea esi, [esp + 0x30]
cmp cl, 1
je 0x1006a6cc
mov eax, dword [esp + 0x74]
shl edi, 3
or edi, 2
mov dword [esp + 0x34], eax
and dword [esp + 0x38], 0
mov dword [esp + 0x30], edi
jmp 0x1006a74f
mov ecx, dword [esp + 0x2c]
shr eax, 3
and eax, 0x1f
shl ecx, 8
or eax, ecx
shl eax, 5
or eax, edi
shl eax, 3
or eax, 2
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x38], eax
jmp 0x1006a74f
push 0x2e
jmp 0x1006a5c1
mov ecx, eax
and cl, 7
cmp cl, 1
je 0x1006a71e
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], 2
jmp 0x1006a68a
mov ecx, dword [esp + 0x2c]
shr eax, 3
and eax, 0x1f
shl ecx, 8
or eax, ecx
shl eax, 8
or eax, 2
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x38], eax
lea esi, [esp + 0x30]
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x6c]
mov edi, ebp
shl eax, 0x18
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp]
and ecx, 0xffffff
or ecx, eax
mov eax, dword [esp + 0x58]
or ecx, dword [esp + 0x50]
and al, 7
mov dword [ebp], ecx
cmp al, 1
jne 0x1006a7d1
mov eax, dword [esp + 0x84]
and ecx, 0xffe3ffff
shl eax, 0x12
or ecx, eax
mov dword [ebp], ecx
jmp 0x1006a7d1
xor edx, edx
cmp byte [esp + 0x17], 0xd
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
jne 0x1006a7a4
neg ecx
adc eax, edx
neg eax
mov edi, ebp
mov dword [esp + 0x80], 3
mov dword [esp + 0x84], edx
lea esi, [esp + 0x80]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret