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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x130
mov edi, dword [edx + 0xb0]
cmp edi, 0x7ffffffe
jbe 0x1006ca6d
mov dword [esp + 0xc], ecx
mov ecx, 0x4219468
mov edx, 6
call fcn.1000af30
test eax, eax
mov esi, 1
mov ecx, 0x421946e
mov edx, 0x12
cmove eax, esi
mov dword [esp + 0xa0], eax
call fcn.1000af30
test eax, eax
lea edi, [0x421942d]
mov ecx, 0xfffffff9
cmove eax, esi
lea esi, [0x421942e]
xor ebx, ebx
mov dword [esp + 4], eax
xor eax, eax
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [edi]
mov edi, esi
mov dh, dl
add dh, 0xd0
cmp dh, 0xa
jb 0x1006ca25
or dl, 0x20
mov dh, dl
add dh, 0x9f
cmp dh, 6
jae 0x1006d310
add dl, 0xa9
mov dh, dl
mov esi, eax
movzx edx, dh
shl esi, 4
or edx, esi
lea esi, [edi + 1]
test ecx, ecx
cmove esi, edi
je 0x1006ca44
shld ebx, eax, 4
inc ecx
test edi, edi
mov eax, edx
jne 0x1006ca00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xa0]
mov esi, dword [esp + 4]
xor edx, 0xa8
mov dword [eax], ecx
mov dword [eax + 4], esi
mov dword [eax + 8], edx
mov dword [eax + 0xc], 0
jmp 0x1006d23b
lea ebx, [edi + 1]
lea esi, [edx + 0xb4]
lea eax, [edx + 0xb0]
mov dword [esp + 0xa0], edx
mov dword [edx + 0xb0], ebx
mov dword [esp + 0x54], esi
lea esi, [0x421942d]
lea ebx, [0x421942e]
mov edx, 0xfffffff9
mov dword [esp + 4], eax
nop word cs:[eax + eax]
nop dword [eax]
movzx eax, byte [esi]
mov esi, ebx
mov ah, al
add ah, 0xd0
cmp ah, 0xa
jb 0x1006cacb
or al, 0x20
add al, 0x9f
cmp al, 6
jae 0x1006d310
lea ebx, [esi + 1]
test edx, edx
cmove ebx, esi
je 0x1006cada
inc edx
test esi, esi
jne 0x1006cab0
mov eax, dword [esp + 0xa0]
cmp byte [eax + 0xdd], 2
jne 0x1006ccd1
mov dword [eax + 0xb0], edi
mov dword [esp + 0xc], ecx
mov edx, dword [eax]
mov ecx, dword [edx + 0x14c]
test ecx, ecx
je 0x1006d329
mov edi, dword [edx + 0xc]
mov esi, dword [edx + 8]
lea eax, [ecx - 1]
add eax, esi
mov ebx, edi
adc ebx, 0
jb 0x1006d329
mov dword [esp], ecx
mov ecx, dword [ebp + 8]
sub eax, esi
sbb ebx, edi
mov dword [esp + 0x108], ecx
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], esi
mov dword [esp + 0x104], edi
lea esi, [esp + 0x74]
mov edi, dword [edx + 0x28]
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 4
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov word [esp + 0x8c], 0
mov dword [esp + 0x64], 0xff
mov dword [esp + 0x68], 0x400
test edi, edi
je 0x1006cce4
mov ecx, dword [esp]
sub ecx, edi
jbe 0x1006cd25
cmp eax, ecx
ja 0x1006cd25
lea ecx, [esp + 0x24]
mov edx, 3
mov dword [esp + 0x6c], edi
mov dword [esp + 0x24], 4
mov dword [esp + 0x28], 0
mov dword [esp + 0x70], eax
mov dword [esp + 0x2c], 0
call fcn.1002c320
mov ebx, dword [esp + 0x24]
cmp al, 8
jne 0x1006cf5a
mov eax, dword [esp + 0x29]
movzx edx, byte [esp + 0x28]
mov ecx, dword [esp + 0x2c]
test ebx, ebx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb3], ecx
je 0x1006cf91
mov ecx, dword [esp + 0xb3]
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5d], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x58], ebx
mov byte [esp + 0x5c], dl
mov ebx, edi
lea edi, [esp + 0xf8]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x64]
push eax
push ebx
push edi
call fcn.10041a00
add esp, 0xc
cmp dword [esp + 0x24], 0
je 0x1006d243
movzx eax, byte [esp + 0x2c]
movzx ecx, word [esp + 0x2d]
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov edx, 4
mov dword [esp + 0x90], eax
movzx eax, byte [esp + 0x2f]
shl eax, 0x10
or ecx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 8], ecx
mov ecx, 0x18
mov dword [esp], eax
push dword [esp + 0x60]
call fcn.100092d0
add esp, 4
test eax, eax
je 0x1006cf9a
mov ecx, dword [0x421b000]
push edx
push eax
push dword [esp + 0x60]
push 0x421a968
call dword [ecx + 0x10]
add esp, 0x10
jmp 0x1006cf9a
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 4]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
jmp 0x1006d235
mov byte [esp + 0x8c], 1
mov dword [esp], eax
mov ecx, 4
xor ebx, ebx
movsd xmm1, qword [esi + 8]
movsd xmm0, qword [esi]
movzx eax, byte [esi + 0x18]
movsd qword [esp + 0x40], xmm1
movsd xmm1, qword [esi + 0x10]
movsd qword [esp + 0x38], xmm0
mov byte [esp + 0x50], al
mov esi, 0xff
movsd qword [esp + 0x48], xmm1
jmp 0x1006cd5c
mov dword [esp], eax
movzx eax, byte [esi + 0x18]
movsd xmm0, qword [esi + 0x10]
movq xmm2, qword [esi]
movsd xmm1, qword [esi + 8]
mov ebx, edi
mov ecx, 4
mov esi, 0xff
mov byte [esp + 0x50], al
movsd qword [esp + 0x48], xmm0
movsd qword [esp + 0x40], xmm1
movq qword [esp + 0x38], xmm2
xor eax, eax
xor edx, edx
mov edi, ebx
cmp dl, 2
jne 0x1006d01a
mov dword [esp + 0x90], eax
movzx eax, al
shl ecx, 8
mov dword [esp + 0x1c], esi
mov dword [esp + 4], edi
xor ebx, ebx
lea edx, [0x421942d]
lea edi, [0x421942e]
xor esi, esi
or ecx, eax
mov eax, 0xfffffff9
mov dword [esp + 8], ecx
nop dword [eax + eax]
movzx ecx, byte [edx]
mov edx, edi
mov ch, cl
add ch, 0xd0
cmp ch, 0xa
jb 0x1006cdc5
or cl, 0x20
mov ch, cl
add ch, 0x9f
cmp ch, 6
jae 0x1006d310
add cl, 0xa9
mov ch, cl
mov edi, ebx
movzx ecx, ch
shl edi, 4
or ecx, edi
lea edi, [edx + 1]
test eax, eax
cmove edi, edx
je 0x1006cde4
shld esi, ebx, 4
inc eax
test edx, edx
mov ebx, ecx
jne 0x1006cda0
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x1006cdf6
mov eax, dword [esp + 8]
mov dword [esp + 0x14], eax
jmp 0x1006ce12
mov eax, dword [esp + 0x90]
xor ecx, 0xb9
mov dword [esp], 0
mov dword [esp + 4], ecx
mov byte [esp + 0x14], al
mov dword [esp + 0x10], edx
xor edi, edi
lea edx, [0x421942d]
lea ebx, [0x421942e]
mov eax, 0xfffffff9
mov dword [esp + 0xa0], 0
nop word cs:[eax + eax]
nop
movzx ecx, byte [edx]
mov edx, ebx
mov ch, cl
add ch, 0xd0
cmp ch, 0xa
jb 0x1006ce65
or cl, 0x20
mov ch, cl
add ch, 0x9f
cmp ch, 6
jae 0x1006d310
add cl, 0xa9
mov ch, cl
mov ebx, edi
movzx esi, ch
shl ebx, 4
or esi, ebx
lea ebx, [edx + 1]
test eax, eax
cmove ebx, edx
je 0x1006ce89
shld dword [esp + 0xa0], edi, 4
inc eax
test edx, edx
mov edi, esi
jne 0x1006ce40
xor esi, 0xba
xor ebx, ebx
cmp dword [esp + 0x10], 0
mov eax, 0x4218ed5
mov edi, 0x4218edf
mov ecx, 0x4218ee8
mov edx, 0xa
sete bl
cmove edi, eax
add ebx, 9
call fcn.1000af30
mov ecx, edi
mov edx, ebx
mov dword [esp + 0xa0], eax
call fcn.1000af30
movd xmm1, dword [esp + 0xa0]
movd xmm0, eax
pxor xmm2, xmm2
mov edi, dword [esp + 4]
mov ebx, dword [esp]
mov eax, dword [0x421b000]
lea ecx, [esp + 0x64]
punpckldq xmm1, xmm0
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebx
pcmpeqd xmm2, xmm1
movdqa xmm0, xmm2
psrld xmm2, 0x1f
pandn xmm0, xmm1
por xmm2, xmm0
movdqa xmmword [esp + 0xa0], xmm2
push 4
push 8
push 0x421a968
push ecx
call dword [eax + 0xc]
add esp, 0x10
cmp byte [esp + 0x64], 0
je 0x1006cf37
lea ecx, [esp + 0x38]
call fcn.10003710
xor eax, eax
jmp 0x1006cf40
mov eax, dword [esp + 0x68]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov ecx, dword [esp + 0xc]
movaps xmm0, xmmword [esp + 0xa0]
movlps qword [ecx], xmm0
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], eax
jmp 0x1006d23b
mov edx, 4
mov dword [esp + 0x90], eax
mov ecx, 0x18
push dword [esp + 0x2c]
call fcn.100092d0
add esp, 4
test eax, eax
je 0x1006cf98
mov ecx, dword [0x421b000]
push edx
push eax
push ebx
push 0x421a968
call dword [ecx + 0x10]
add esp, 0x10
jmp 0x1006cf98
mov dword [esp + 0x90], edx
xor esi, esi
mov edx, 1
mov ecx, 1
push dword [esp + 0x7c]
call fcn.100092d0
add esp, 4
test eax, eax
je 0x1006cfcb
mov ecx, dword [0x421b000]
push edx
push eax
push dword [esp + 0x7c]
push 0x421a968
call dword [ecx + 0x10]
add esp, 0x10
mov edx, 4
mov ecx, 0x2c
push dword [esp + 0x88]
call fcn.100092d0
add esp, 4
test eax, eax
je 0x1006d002
mov ecx, dword [0x421b000]
push edx
push eax
push dword [esp + 0x88]
push 0x421a968
call dword [ecx + 0x10]
add esp, 0x10
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 8]
mov dl, 2
mov edi, ebx
cmp dl, 2
je 0x1006cd6b
movsd xmm1, qword [esp + 0x40]
mov dword [esp + 0x10], esi
mov byte [esp + 0x14], al
movzx eax, byte [esp + 0x50]
movsd xmm0, qword [esp + 0x38]
mov word [esp + 0x15], cx
shr ecx, 0x10
mov dword [esp + 0x18], edx
lea edx, [0x421942e]
mov byte [esp + 0x17], cl
lea ecx, [0x421942d]
movsd qword [esp + 0xc0], xmm1
movsd xmm1, qword [esp + 0x48]
mov byte [esp + 0xd0], al
mov eax, 0xfffffff9
movsd qword [esp + 0xb8], xmm0
movsd qword [esp + 0xc8], xmm1
nop dword [eax]
movzx ebx, byte [ecx]
mov ecx, edx
mov edx, ebx
add dl, 0xd0
cmp dl, 0xa
jb 0x1006d09e
or bl, 0x20
add bl, 0x9f
cmp bl, 6
jae 0x1006d310
lea edx, [ecx + 1]
test eax, eax
cmove edx, ecx
je 0x1006d0ad
inc eax
test ecx, ecx
jne 0x1006d080
movzx eax, byte [esp + 0xd0]
movsd xmm0, qword [esp + 0xc8]
movq xmm1, qword [esp + 0xb8]
movq xmm2, qword [esp + 0xc0]
mov ebx, dword [esp + 4]
movsd xmm3, qword [esp + 0x10]
movq qword [esp + 0xd8], xmm1
movq qword [esp + 0xe0], xmm2
movsd qword [esp + 0xe8], xmm0
mov byte [esp + 0xf0], al
cmp dword [ebx], 0
jne 0x1006d342
mov esi, dword [esp + 0xa0]
mov eax, 0xffffffff
mov dword [esi + 0xb0], 0xffffffff
cmp byte [esi + 0xdd], 2
je 0x1006d1a0
mov edx, 1
movaps xmmword [esp + 0x90], xmm3
mov ecx, 1
push dword [esi + 0xcc]
call fcn.100092d0
add esp, 4
test eax, eax
je 0x1006d161
mov ecx, dword [0x421b000]
push edx
push eax
push dword [esi + 0xc4]
push 0x421a968
call dword [ecx + 0x10]
add esp, 0x10
mov edx, 4
mov ecx, 0x2c
push dword [esi + 0xd8]
call fcn.100092d0
add esp, 4
test eax, eax
je 0x1006d196
mov ecx, dword [0x421b000]
push edx
push eax
push dword [esi + 0xd0]
push 0x421a968
call dword [ecx + 0x10]
add esp, 0x10
mov eax, dword [ebx]
movaps xmm3, xmmword [esp + 0x90]
mov ecx, dword [esp]
movlps qword [esi + 0xb4], xmm3
mov dword [esi + 0xbc], edi
movzx edi, word [esp + 0x22]
lea edx, [eax + 1]
cmp edx, 0x7fffffff
mov dword [esi + 0xc0], ecx
movsd xmm0, qword [esp + 0xd8]
movq xmm1, qword [esp + 0xe0]
movsd qword [esi + 0xc4], xmm0
movq qword [esi + 0xcc], xmm1
movsd xmm0, qword [esp + 0xe8]
movsd qword [esi + 0xd4], xmm0
movzx ecx, byte [esp + 0xf0]
mov byte [esi + 0xdc], cl
mov ecx, dword [esp + 0x18]
mov byte [esi + 0xdd], cl
mov word [esi + 0xde], di
mov dword [esi + 0xb0], edx
jae 0x1006d35c
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x54]
add eax, 2
mov dword [ebx], eax
mov dword [ecx + 4], edx
mov dword [ecx + 8], ebx
mov dword [ecx], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [esp + 0x8c], 1
mov edx, 4
mov ecx, 0x18
mov eax, dword [esp + 0x64]
movsd xmm0, qword [esi]
movzx ebx, byte [esp + 0x6b]
movsd xmm1, qword [esi + 8]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x1c], eax
movzx eax, byte [esp + 0x68]
movsd qword [esp + 0x38], xmm0
movsd xmm0, qword [esi + 0x10]
shl ebx, 0x10
movsd qword [esp + 0x40], xmm1
mov dword [esp + 0x90], eax
movzx eax, word [esp + 0x69]
movsd qword [esp + 0x48], xmm0
mov dword [esp + 8], eax
movzx eax, byte [esi + 0x18]
mov byte [esp + 0x50], al
mov eax, dword [esp + 0x70]
mov dword [esp], eax
movzx eax, byte [esp + 0x8d]
mov dword [esp + 0x18], eax
movzx eax, word [esp + 0x8e]
mov word [esp + 0x22], ax
push dword [esp + 0x60]
call fcn.100092d0
add esp, 4
test eax, eax
je 0x1006d2ed
mov ecx, dword [0x421b000]
push edx
push eax
push dword [esp + 0x60]
push 0x421a968
call dword [ecx + 0x10]
add esp, 0x10
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x90]
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
or ecx, ebx
cmp dl, 2
je 0x1006cd6b
jmp 0x1006d01a
mov ecx, 0x421a5f4
mov edx, 0xe
push 0x4212e44
call fcn.10006dd0
add esp, 4
ud2
mov ecx, 0x421ab8c
mov edx, 0x2b
push 0x42194b4
call fcn.10006dd0
add esp, 4
ud2
lea eax, [esp + 0x64]
mov ecx, 0x421aa9c
mov edx, 0x10
push 0x42194c4
push 0x42194f4
jmp 0x1006d374
lea eax, [esp + 0x64]
mov ecx, 0x421926c
mov edx, 0x18
push 0x42194d4
push 0x42194e4
push eax
call fcn.10007620
add esp, 0xc
ud2