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

Disassembly:
sub esp, 0x78
push ebx
mov ebx, dword [esp + 0x80]
push ebp
push esi
mov ebp, edx
mov esi, ecx
mov cl, byte [ebx]
xor edx, edx
mov dword [esp + 0x2c], esi
mov eax, edx
mov byte [esp + 0xf], cl
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
push edi
cmp cl, 2
jne 0x1006b408
push dword [ebx + 8]
mov edx, ebp
mov ecx, esi
push dword [ebx + 4]
call fcn.1006ab20
pop ecx
pop ecx
test al, al
je 0x1006b2fd
mov eax, dword [ebp]
and eax, 0xff000fff
cmp eax, 0x2000599
jne 0x1006b840
push 0
push ebx
lea ecx, [esi + 4]
call fcn.100703a0
cmp al, 0x11
jne 0x1006b2f2
push 0
lea eax, [esp + 0x64]
push eax
lea ecx, [esi + 4]
call fcn.100703a0
cmp al, 8
jne 0x1006b2f2
mov esi, ebp
lea edi, [esp + 0x78]
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 + 0x78]
mov dword [esp + 0x38], eax
xor edx, edx
mov eax, dword [esp + 0x30]
mov edi, edx
add eax, 4
mov dword [esp + 0x1c], edi
mov esi, edx
mov dword [esp + 0x60], edi
push edx
xorps xmm0, xmm0
mov dword [esp + 0x68], edx
push ebx
mov ecx, eax
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x28], edx
movlpd qword [esp + 0x48], xmm0
mov dword [esp + 0x3c], edx
mov dword [esp + 0x2c], eax
call fcn.100703a0
mov cl, al
mov byte [esp + 0x13], cl
cmp cl, 2
jne 0x1006b453
cmp dword [ebx + 8], 3
jne 0x1006b453
xor eax, eax
lea ecx, [esp + 0x28]
push eax
push dword [ebx + 4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call fcn.1006c9c9
push 1
push dword [ebx + 4]
lea ecx, [esp + 0x30]
call fcn.1006c9c9
push 2
push dword [ebx + 4]
lea ecx, [esp + 0x30]
call fcn.1006c9c9
cmp dword [esp + 0x28], 0x736261
jne 0x1006b438
mov dword [esp + 0x34], 0x4000
mov ecx, dword [esp + 0x24]
push 0
push ebx
call fcn.100703a0
mov cl, al
jmp 0x1006b453
mov eax, dword [ebx + 4]
mov dword [esi + 0xc], eax
jmp 0x1006b840
mov eax, dword [ebx + 4]
mov ecx, eax
mov edi, dword [ebx + 8]
mov edx, edi
mov dword [esp + 0x34], eax
call fcn.1006ae6b
mov dword [esp + 0x3c], eax
test eax, eax
je 0x1006b3f3
push 0
lea edi, [esi + 4]
push ebx
mov ecx, edi
call fcn.100703a0
cmp al, 2
jne 0x1006b395
cmp dword [ebx + 8], 3
jne 0x1006b3a1
mov edx, dword [ebx + 4]
mov dword [esp + 0x28], 0x19
movzx ecx, byte [edx]
lea eax, [ecx - 0x41]
cmp dword [esp + 0x28], eax
sbb eax, eax
and eax, 0xffffffe0
add eax, 0x20
xor eax, ecx
cmp eax, 0x70
jne 0x1006b3a1
movzx ecx, byte [edx + 1]
lea eax, [ecx - 0x41]
cmp dword [esp + 0x28], eax
sbb eax, eax
and eax, 0xffffffe0
add eax, 0x20
xor eax, ecx
cmp eax, 0x74
jne 0x1006b3a1
movzx ecx, byte [edx + 2]
lea eax, [ecx - 0x41]
cmp dword [esp + 0x28], eax
sbb eax, eax
and eax, 0xffffffe0
add eax, 0x20
xor eax, ecx
cmp eax, 0x72
jne 0x1006b3a1
push 0
push ebx
mov ecx, edi
call fcn.100703a0
cmp al, 8
je 0x1006b22a
cmp al, 2
jne 0x1006b3ec
push dword [ebx + 8]
lea edx, [esp + 0x7c]
mov ecx, esi
push dword [ebx + 4]
call fcn.1006ab20
pop ecx
pop ecx
test al, al
je 0x1006b3ec
mov eax, dword [esp + 0x78]
mov dword [esp + 0x38], eax
and eax, 0xff000fff
cmp eax, 0x2000599
jne 0x1006b3ec
push 0
push ebx
mov ecx, edi
call fcn.100703a0
cmp al, 0x11
jne 0x1006b3ec
push 0
push ebx
mov ecx, edi
call fcn.100703a0
cmp al, 8
je 0x1006b22a
push 0x2b
jmp 0x1006b65e
push edi
push dword [esp + 0x38]
mov edx, ebp
mov ecx, esi
call fcn.1006afea
pop ecx
pop ecx
jmp 0x1006b842
cmp cl, 8
je 0x1006b22c
cmp cl, 4
je 0x1006b809
cmp cl, 0xd
jne 0x1006b431
push edx
push ebx
lea ecx, [esi + 4]
call fcn.100703a0
cmp al, 4
je 0x1006b807
push 3
jmp 0x1006b65e
cmp dword [esp + 0x28], 0x6c6572
jne 0x1006b44f
mov dword [esp + 0x34], 0x8000
jmp 0x1006b2df
mov cl, byte [esp + 0x13]
mov edx, dword [esp + 0x44]
xor ah, ah
mov al, 0xc
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x40]
mov byte [esp + 0x13], ah
mov byte [esp + 0x12], al
mov dword [esp + 0x28], edx
cmp cl, 2
jne 0x1006b5c8
cmp al, 0xc
jne 0x1006b3ec
push dword [ebx + 8]
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x44]
push dword [ebx + 4]
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
call fcn.1006ab20
pop ecx
pop ecx
test al, al
jne 0x1006b4d0
test edi, edi
jne 0x1006b3ec
push dword [ebx + 8]
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x44]
push dword [ebx + 4]
call fcn.1006afea
pop ecx
pop ecx
test eax, eax
jne 0x1006b842
mov ecx, dword [esp + 0x24]
push 0
push ebx
call fcn.100703a0
mov cl, al
mov al, 0x13
mov byte [esp + 0x12], al
cmp cl, 0xe
je 0x1006b538
mov ah, byte [esp + 0x13]
test edi, edi
jne 0x1006b50f
test ah, ah
jne 0x1006b50f
lea esi, [esp + 0x40]
lea edi, [esp + 0x60]
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 + 0x60]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x1c], edi
jmp 0x1006b52f
test esi, esi
jne 0x1006b3ec
lea esi, [esp + 0x40]
lea edi, [esp + 0x50]
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 + 0x50]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x28]
jmp 0x1006b46f
mov eax, edi
and al, 7
cmp al, 4
je 0x1006b3ec
test esi, esi
jne 0x1006b3ec
mov ecx, dword [esp + 0x24]
lea esi, [esp + 0x40]
lea edi, [esp + 0x50]
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.100703a0
cmp al, 4
jne 0x1006b65c
mov ecx, dword [ebx + 0x10]
mov edx, ecx
mov eax, dword [ebx + 0x14]
add edx, 0xffffffff
adc eax, 0xffffffff
test eax, eax
ja 0x1006b65c
jb 0x1006b58d
cmp edx, 7
ja 0x1006b65c
sub ecx, 1
je 0x1006b5b4
sub ecx, 1
je 0x1006b5af
dec ecx
sub ecx, 1
je 0x1006b5aa
sub ecx, 4
jne 0x1006b65c
push 3
jmp 0x1006b5ac
push 2
pop eax
jmp 0x1006b5b6
xor eax, eax
inc eax
jmp 0x1006b5b6
xor eax, eax
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], esi
jmp 0x1006b63d
cmp cl, 4
jne 0x1006b5fb
cmp al, 0xc
jne 0x1006b5e7
add edx, dword [ebx + 0x10]
mov eax, dword [esp + 0x18]
adc eax, dword [ebx + 0x14]
mov dword [esp + 0x18], eax
mov al, 0x13
mov dword [esp + 0x28], edx
jmp 0x1006b639
cmp al, 0xd
jne 0x1006b3ec
sub edx, dword [ebx + 0x10]
mov eax, dword [esp + 0x18]
sbb eax, dword [ebx + 0x14]
jmp 0x1006b5db
cmp cl, 0xc
jne 0x1006b606
cmp al, 0x13
jne 0x1006b63d
jmp 0x1006b637
cmp cl, 0xd
jne 0x1006b61c
cmp al, 0x13
jne 0x1006b613
mov al, cl
jmp 0x1006b639
cmp al, 0xd
setne al
add al, 0xc
jmp 0x1006b639
cmp cl, 9
je 0x1006b664
cmp cl, 0x10
jne 0x1006b3ec
test ah, ah
jne 0x1006b3ec
mov byte [esp + 0x13], 1
mov al, 0xc
mov byte [esp + 0x12], al
mov ecx, dword [esp + 0x24]
push 0
push ebx
call fcn.100703a0
mov edx, dword [esp + 0x28]
mov cl, al
mov al, byte [esp + 0x12]
mov ah, byte [esp + 0x13]
jmp 0x1006b46f
push 0x2d
pop eax
jmp 0x1006b842
cmp al, 0x13
jne 0x1006b3ec
mov eax, edi
and eax, 0xf07
cmp eax, 0x101
mov eax, dword [esp + 0x14]
jne 0x1006b6b4
and al, 7
cmp al, 1
je 0x1006b3ec
lea esi, [esp + 0x60]
lea edi, [esp + 0x40]
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 + 0x50]
lea edi, [esp + 0x60]
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 + 0x40]
lea edi, [esp + 0x50]
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 + 0x60]
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x18]
test edi, edi
je 0x1006b784
mov esi, edx
mov ecx, ebx
add esi, 0x80000000
adc ecx, 0
test ecx, ecx
jne 0x1006b6d6
cmp esi, 0xffffffff
jbe 0x1006b6fd
test ebx, ebx
ja 0x1006b77d
jb 0x1006b6e9
cmp edx, 0xffffffff
ja 0x1006b77d
mov ecx, edi
and ecx, 0xf8
cmp cl, 0x38
jne 0x1006b6fd
push 0x2f
jmp 0x1006b65e
mov ecx, edi
and cl, 7
cmp cl, 4
jne 0x1006b729
mov dword [esp + 0x50], 0xa
mov eax, dword [esp + 0x64]
lea esi, [esp + 0x50]
and dword [esp + 0x58], 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], edx
jmp 0x1006b7ca
mov ecx, eax
shr edi, 3
and cl, 7
and edi, 0x1f
cmp cl, 1
je 0x1006b745
shl edi, 3
or edi, 2
mov dword [esp + 0x50], edi
jmp 0x1006b70f
mov ecx, dword [esp + 0x20]
lea esi, [esp + 0x40]
shr eax, 3
and eax, 0x1f
shl ecx, 8
or eax, ecx
mov dword [esp + 0x4c], edx
shl eax, 5
or eax, edi
shl eax, 3
or eax, 2
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x48], eax
jmp 0x1006b7ca
push 0x2e
jmp 0x1006b65e
mov ecx, eax
mov dword [esp + 0x6c], edx
and cl, 7
mov dword [esp + 0x64], ebx
lea esi, [esp + 0x60]
cmp cl, 1
je 0x1006b7a9
and dword [esp + 0x68], 0
mov dword [esp + 0x60], 2
jmp 0x1006b7ca
mov ecx, dword [esp + 0x20]
shr eax, 3
and eax, 0x1f
shl ecx, 8
or eax, ecx
shl eax, 8
or eax, 2
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x3c]
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 + 0x38]
or ecx, dword [esp + 0x34]
and al, 7
mov dword [ebp], ecx
cmp al, 1
jne 0x1006b840
mov eax, dword [esp + 0x7c]
and ecx, 0xffe3ffff
shl eax, 0x12
or ecx, eax
mov dword [ebp], ecx
jmp 0x1006b840
xor edx, edx
cmp byte [esp + 0x13], 0xd
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
jne 0x1006b81c
neg ecx
adc eax, edx
neg eax
mov edi, ebp
mov dword [esp + 0x78], 3
mov dword [esp + 0x7c], edx
lea esi, [esp + 0x78]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], 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, 0x78
ret