Function at 0x1006b1e0
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 0x1006b2cd
mov dword [esp + 0xc], ecx
mov ecx, 0x50850e8
mov edx, 6
call fcn.100091f0
test eax, eax
mov esi, 1
mov ecx, 0x50850ee
mov edx, 0x12
cmove eax, esi
mov dword [esp + 0xa0], eax
call fcn.100091f0
test eax, eax
lea edi, [0x50850ad]
mov ecx, 0xfffffff9
cmove eax, esi
lea esi, [0x50850ae]
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 0x1006b285
or dl, 0x20
mov dh, dl
add dh, 0x9f
cmp dh, 6
jae 0x1006bb70
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 0x1006b2a4
shld ebx, eax, 4
inc ecx
test edi, edi
mov eax, edx
jne 0x1006b260
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 0x1006ba9b
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, [0x50850ad]
lea ebx, [0x50850ae]
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 0x1006b32b
or al, 0x20
add al, 0x9f
cmp al, 6
jae 0x1006bb70
lea ebx, [esi + 1]
test edx, edx
cmove ebx, esi
je 0x1006b33a
inc edx
test esi, esi
jne 0x1006b310
mov eax, dword [esp + 0xa0]
cmp byte [eax + 0xdd], 2
jne 0x1006b531
mov dword [eax + 0xb0], edi
mov dword [esp + 0xc], ecx
mov edx, dword [eax]
mov ecx, dword [edx + 0x14c]
test ecx, ecx
je 0x1006bb89
mov edi, dword [edx + 0xc]
mov esi, dword [edx + 8]
lea eax, [ecx - 1]
add eax, esi
mov ebx, edi
adc ebx, 0
jb 0x1006bb89
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 0x1006b544
mov ecx, dword [esp]
sub ecx, edi
jbe 0x1006b585
cmp eax, ecx
ja 0x1006b585
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.10028590
mov ebx, dword [esp + 0x24]
cmp al, 8
jne 0x1006b7ba
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 0x1006b7f1
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.10046430
add esp, 0xc
cmp dword [esp + 0x24], 0
je 0x1006baa3
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.100078c0
add esp, 4
test eax, eax
je 0x1006b7fa
mov ecx, dword [0x5087000]
push edx
push eax
push dword [esp + 0x60]
push 0x5086800
call dword [ecx + 0x10]
add esp, 0x10
jmp 0x1006b7fa
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 4]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
jmp 0x1006ba95
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 0x1006b5bc
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 0x1006b87a
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, [0x50850ad]
lea edi, [0x50850ae]
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 0x1006b625
or cl, 0x20
mov ch, cl
add ch, 0x9f
cmp ch, 6
jae 0x1006bb70
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 0x1006b644
shld esi, ebx, 4
inc eax
test edx, edx
mov ebx, ecx
jne 0x1006b600
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x1006b656
mov eax, dword [esp + 8]
mov dword [esp + 0x14], eax
jmp 0x1006b672
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, [0x50850ad]
lea ebx, [0x50850ae]
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 0x1006b6c5
or cl, 0x20
mov ch, cl
add ch, 0x9f
cmp ch, 6
jae 0x1006bb70
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 0x1006b6e9
shld dword [esp + 0xa0], edi, 4
inc eax
test edx, edx
mov edi, esi
jne 0x1006b6a0
xor esi, 0xba
xor ebx, ebx
cmp dword [esp + 0x10], 0
mov eax, 0x507edeb
mov edi, 0x507dc64
mov ecx, 0x507dc6d
mov edx, 0xa
sete bl
cmove edi, eax
add ebx, 9
call fcn.100091f0
mov ecx, edi
mov edx, ebx
mov dword [esp + 0xa0], eax
call fcn.100091f0
movd xmm1, dword [esp + 0xa0]
movd xmm0, eax
pxor xmm2, xmm2
mov edi, dword [esp + 4]
mov ebx, dword [esp]
mov eax, dword [0x5087000]
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 0x5086800
push ecx
call dword [eax + 0xc]
add esp, 0x10
cmp byte [esp + 0x64], 0
je 0x1006b797
lea ecx, [esp + 0x38]
call fcn.10004080
xor eax, eax
jmp 0x1006b7a0
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 0x1006ba9b
mov edx, 4
mov dword [esp + 0x90], eax
mov ecx, 0x18
push dword [esp + 0x2c]
call fcn.100078c0
add esp, 4
test eax, eax
je 0x1006b7f8
mov ecx, dword [0x5087000]
push edx
push eax
push ebx
push 0x5086800
call dword [ecx + 0x10]
add esp, 0x10
jmp 0x1006b7f8
mov dword [esp + 0x90], edx
xor esi, esi
mov edx, 1
mov ecx, 1
push dword [esp + 0x7c]
call fcn.100078c0
add esp, 4
test eax, eax
je 0x1006b82b
mov ecx, dword [0x5087000]
push edx
push eax
push dword [esp + 0x7c]
push 0x5086800
call dword [ecx + 0x10]
add esp, 0x10
mov edx, 4
mov ecx, 0x2c
push dword [esp + 0x88]
call fcn.100078c0
add esp, 4
test eax, eax
je 0x1006b862
mov ecx, dword [0x5087000]
push edx
push eax
push dword [esp + 0x88]
push 0x5086800
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 0x1006b5cb
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, [0x50850ae]
mov byte [esp + 0x17], cl
lea ecx, [0x50850ad]
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 0x1006b8fe
or bl, 0x20
add bl, 0x9f
cmp bl, 6
jae 0x1006bb70
lea edx, [ecx + 1]
test eax, eax
cmove edx, ecx
je 0x1006b90d
inc eax
test ecx, ecx
jne 0x1006b8e0
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 0x1006bba2
mov esi, dword [esp + 0xa0]
mov eax, 0xffffffff
mov dword [esi + 0xb0], 0xffffffff
cmp byte [esi + 0xdd], 2
je 0x1006ba00
mov edx, 1
movaps xmmword [esp + 0x90], xmm3
mov ecx, 1
push dword [esi + 0xcc]
call fcn.100078c0
add esp, 4
test eax, eax
je 0x1006b9c1
mov ecx, dword [0x5087000]
push edx
push eax
push dword [esi + 0xc4]
push 0x5086800
call dword [ecx + 0x10]
add esp, 0x10
mov edx, 4
mov ecx, 0x2c
push dword [esi + 0xd8]
call fcn.100078c0
add esp, 4
test eax, eax
je 0x1006b9f6
mov ecx, dword [0x5087000]
push edx
push eax
push dword [esi + 0xd0]
push 0x5086800
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 0x1006bbbc
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.100078c0
add esp, 4
test eax, eax
je 0x1006bb4d
mov ecx, dword [0x5087000]
push edx
push eax
push dword [esp + 0x60]
push 0x5086800
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 0x1006b5cb
jmp 0x1006b87a
mov ecx, 0x50851ac
mov edx, 0xe
push 0x507ed4c
call fcn.100053c0
add esp, 4
ud2
mov ecx, 0x50869e4
mov edx, 0x2b
push 0x5085134
call fcn.100053c0
add esp, 4
ud2
lea eax, [esp + 0x64]
mov ecx, 0x5086934
mov edx, 0x10
push 0x5085144
push 0x5085174
jmp 0x1006bbd4
lea eax, [esp + 0x64]
mov ecx, 0x5085230
mov edx, 0x18
push 0x5085154
push 0x5085164
push eax
call fcn.10005c10
add esp, 0xc
ud2