Function at 0x10006b03
Capabilities:
Check for peb beingdebugged flag
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1f0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
cmp byte [eax + 2], 0
jne 0x1000701e
lea esi, [esp + 0x40]
push esi
call fcn.100b9990
add esp, 4
mov eax, dword [esi]
cmp eax, 0x80000000
jne 0x10006b58
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
cmp al, 4
jne 0x10006cf9
jmp 0x10007425
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
lea ebx, [esp + 0x160]
mov dword [ebx], eax
mov dword [ebx + 8], edx
mov dword [ebx + 4], ecx
mov dword [ebx + 0xc], edi
push ebx
push esi
call fcn.10001269
add esp, 8
cmp byte [esp + 0x40], 4
jne 0x10006b90
mov eax, dword [esp + 0x44]
mov dword [esp], eax
jmp 0x10006b9f
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
cmp al, 4
jne 0x10006b43
mov dword [esp], ecx
xor ebx, ebx
mov edi, 0x2000
push ebx
push edi
call fcn.1005817c
add esp, 8
push edi
push edx
push eax
call fcn.100af406
add esp, 0xc
lea ecx, [esp + 0x108]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x10], ebx
mov eax, dword [esp]
mov dword [ecx + 0x14], eax
lea edi, [esp + 0xb4]
mov dword [edi], ebx
mov dword [edi + 4], 1
mov dword [edi + 8], ebx
push edi
push ecx
push esi
call fcn.10006a54
add esp, 0xc
cmp byte [esp + 0x40], 4
je 0x10006c07
mov eax, dword [esp + 0x40]
cmp al, 4
jne 0x10006ccf
lea esi, [esp + 0x198]
xorps xmm0, xmm0
movups xmmword [esi + 0x30], xmm0
movups xmmword [esi + 0x20], xmm0
movups xmmword [esi + 0x10], xmm0
movups xmmword [esi], xmm0
mov byte [esi + 0x40], 0
movups xmm0, xmmword [0x10103140]
movaps xmmword [esi - 0x28], xmm0
movups xmm0, xmmword [0x10103150]
movaps xmmword [esi - 0x18], xmm0
xor eax, eax
mov dword [esi - 4], eax
mov dword [esi - 8], eax
push edi
call fcn.10058170
add esp, 4
mov dword [esp], eax
mov edi, edx
mov dl, byte [esi + 0x40]
movzx ebx, dl
mov ecx, 0x40
mov eax, ebx
sub ecx, ebx
mov ebx, edi
sub ebx, ecx
mov dword [esp + 4], ebx
jae 0x10006c8a
mov ebx, eax
add esi, eax
push 0x10102f10
push edi
push dword [esp + 8]
push edi
push esi
call fcn.10059d15
add esp, 0x14
add edi, ebx
mov ebx, edi
jmp 0x10006d4a
test dl, dl
je 0x10006d07
mov edi, eax
mov eax, dword [esp]
mov ebx, eax
add ebx, ecx
add edi, esi
push 0x10102ef0
push ecx
push eax
push ecx
push edi
call fcn.10059d15
add esp, 0x14
lea eax, [esp + 0x170]
add dword [eax + 0x20], 1
adc dword [eax + 0x24], 0
push 1
push esi
push eax
call fcn.100b3af4
add esp, 0xc
mov eax, ebx
mov edx, dword [esp + 4]
mov ebx, edx
jmp 0x10006d0e
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
push edi
call fcn.10001480
add esp, 4
push edi
call fcn.1005a250
add esp, 4
lea ecx, [esp + 0x108]
call fcn.1000673b
lea ecx, [esp + 0x40]
call fcn.100066c4
jmp 0x10007425
mov ebx, edi
mov edx, edi
mov eax, dword [esp]
mov edi, edx
and edi, 0xffffffc0
and ebx, 0x3f
add edi, eax
cmp edx, 0x40
jb 0x10006d39
shr edx, 6
lea ecx, [esp + 0x170]
add dword [ecx + 0x20], edx
adc dword [ecx + 0x24], 0
push edx
push eax
push ecx
call fcn.100b3af4
add esp, 0xc
push 0x10102f00
push ebx
push edi
push ebx
push esi
call fcn.10059d15
add esp, 0x14
lea esi, [esp + 0x170]
mov byte [esi + 0x68], bl
lea eax, [esp + 0x40]
mov ecx, 0x1c
mov edi, eax
rep movsd dword es:[edi], dword [esi]
xorps xmm0, xmm0
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xf0], xmm0
movaps xmmword [esp + 0xe0], xmm0
movzx ebx, byte [eax + 0x68]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
shld eax, ecx, 9
shl ecx, 9
lea edx, [ebx*8]
or edx, ecx
bswap edx
bswap eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], eax
mov byte [esp + ebx + 0x68], 0x80
mov eax, ebx
xor eax, 0x3f
je 0x10006dcc
lea ecx, [esp + ebx]
add ecx, 0x69
test ecx, ecx
je 0x10006dcc
push eax
push 0
push ecx
call fcn.100ea2f0
add esp, 0xc
lea esi, [esp + 0x68]
not ebx
test bl, 0x38
jne 0x10006e29
xor edi, edi
inc edi
push edi
push esi
lea esi, [esp + 0x48]
push esi
call fcn.100b3af4
add esp, 0xc
xorps xmm0, xmm0
lea eax, [esp + 0x158]
movaps xmmword [eax - 8], xmm0
movaps xmmword [eax - 0x18], xmm0
movaps xmmword [eax - 0x28], xmm0
movaps xmmword [eax - 0x38], xmm0
mov ecx, 8
lea edx, [esp + 0x34]
push 0x10102f30
push ecx
push edx
push ecx
push eax
call fcn.10059d15
add esp, 0x14
lea eax, [esp + 0x120]
push edi
push eax
push esi
jmp 0x10006e52
lea eax, [esp + 0xa0]
mov ecx, 8
lea edx, [esp + 0x34]
push 0x10102f20
push ecx
push edx
push ecx
push eax
call fcn.10059d15
add esp, 0x14
push 1
push esi
lea eax, [esp + 0x48]
push eax
call fcn.100b3af4
add esp, 0xc
mov byte [esp + 0xa8], 0
xor esi, esi
mov ebx, 4
lea edi, [esp + 0x120]
lea eax, [esp + esi]
add eax, 0xe0
mov ecx, dword [esp + esi + 0x40]
bswap ecx
mov dword [esp + 0x120], ecx
push 0x10103130
push ebx
push edi
push ebx
push eax
call fcn.10059d15
add esp, 0x14
add esi, ebx
cmp esi, 0x20
jne 0x10006e70
mov eax, 0x20
lea esi, [esp + 0xe0]
lea ebx, [esp + 0xc0]
push 0x10102ecc
push eax
push esi
push eax
push ebx
call fcn.10059d15
add esp, 0x14
movaps xmm0, xmmword [ebx]
movaps xmm1, xmmword [ebx + 0x10]
movaps xmmword [esp + 0x120], xmm0
movaps xmmword [esp + 0x130], xmm1
mov dword [esi], edi
mov dword [esi + 4], 0x10003c5a
mov dword [esp + 0x40], 0x1010316c
xor eax, eax
inc eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x34]
lea ebx, [esp + 0x40]
push ebx
push eax
call fcn.100cf940
add esp, 8
push esi
call fcn.100b9990
add esp, 4
mov eax, dword [esi]
cmp eax, 0x80000000
jne 0x10006f3c
lea ecx, [esp + 0xe4]
call fcn.100066c4
lea edi, [esp + 0xb4]
jmp 0x100073f1
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x4c], ecx
movsd xmm0, qword [esp + 0xe4]
movsd qword [esp + 0x44], xmm0
mov dword [esp + 0x40], eax
push ebx
call fcn.10058170
add esp, 4
push edx
push eax
call fcn.100be920
add esp, 8
test eax, eax
je 0x10006f96
push edx
push eax
push esi
call fcn.100c5ec0
add esp, 0xc
push esi
lea eax, [esp + 0xc4]
push eax
call fcn.1005a2b0
add esp, 8
mov esi, dword [esp + 0xc0]
jmp 0x10006fa6
mov dword [esp + 0xc0], 0x80000000
mov esi, 0x80000000
lea edi, [esp + 0xb4]
push ebx
call fcn.10001480
add esp, 4
push ebx
call fcn.1005a250
add esp, 4
cmp esi, 0x80000000
je 0x100073f1
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x1000701e
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc8]
mov esi, dword [esp + 0x38]
cmp edx, ecx
jae 0x1000700a
cmp edx, 1
jne 0x10007028
mov dl, byte [esi]
cmp ecx, 7
ja 0x100071a4
xor esi, esi
cmp byte [eax + esi], dl
je 0x1000701e
inc esi
cmp ecx, esi
jne 0x10006ffb
jmp 0x100073d8
push ecx
push eax
push edx
push esi
call fcn.1005a98c
add esp, 0x10
test al, al
je 0x100073d8
push 0x100
call fcn.100be9a0
push edx
push esi
push ecx
push eax
push ebx
call fcn.100d8f30
add esp, 0x14
cmp dword [esp + 0x40], 0
je 0x100071c0
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x70]
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
lea ecx, [eax - 1]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x18], eax
mov dword [esp + 8], esi
cmp esi, 0xffffffff
mov eax, ebx
mov dword [esp], edx
mov dword [esp + 0x30], ecx
je 0x100072aa
mov edi, dword [esp + 0x5c]
add ecx, edi
cmp ecx, edx
jae 0x100073d1
mov edx, dword [esp + 0x48]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x10], edx
mov esi, dword [esp + 0x58]
mov edx, dword [esp + 4]
mov dword [esp + 0x24], esi
sub edx, esi
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x10]
neg edx
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x28], edx
mov cl, byte [ebx + ecx]
xor edx, edx
xor esi, esi
inc esi
shld edx, esi, cl
shl esi, cl
test cl, 0x20
cmovne edx, esi
mov ecx, 0
cmovne esi, ecx
and edx, dword [esp + 0x28]
and esi, dword [esp + 0x2c]
or esi, edx
je 0x10007138
xor ebx, ebx
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
cmp edx, ecx
mov esi, ecx
cmova esi, edx
mov dword [esp + 0xc], edi
add edi, esi
mov ecx, dword [esp + 0x18]
lea edx, [ecx + esi]
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], esi
sub ecx, esi
cmovb ecx, ebx
sub ecx, 1
jb 0x10007149
mov esi, dword [esp]
cmp edi, esi
jae 0x10007444
mov bl, byte [edx]
lea esi, [edi + 1]
inc edx
cmp bl, byte [eax + edi]
mov edi, esi
je 0x10007109
mov ebx, eax
add esi, dword [esp + 0x1c]
mov dword [esp + 8], 0
mov edi, esi
jmp 0x10007144
add edi, dword [esp + 4]
mov dword [esp + 8], 0
mov esi, dword [esp]
jmp 0x10007191
mov ecx, dword [esp + 0x10]
cmp dword [esp + 8], ecx
mov edx, dword [esp + 0xc]
jae 0x1000701e
dec ecx
cmp ecx, dword [esp + 4]
jae 0x1000742d
add edx, ecx
mov esi, dword [esp]
cmp edx, esi
jae 0x10007438
mov edi, dword [esp + 0x18]
mov bl, byte [edi + ecx]
cmp bl, byte [eax + edx]
je 0x1000714d
mov ebx, eax
mov edi, dword [esp + 0xc]
add edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x30]
add ecx, edi
cmp ecx, esi
jb 0x100070b7
jmp 0x100073d1
movzx edx, dl
push ecx
push eax
push edx
call fcn.100d85e0
add esp, 0xc
cmp eax, 1
jne 0x100073d8
jmp 0x1000701e
cmp byte [esp + 0x4e], 0
jne 0x100073d1
mov ecx, dword [esp + 0x44]
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov dword [esp], eax
cmp byte [esp + 0x4c], 0
sete bl
mov dword [esp + 4], edi
mov edx, dword [esp]
test ecx, ecx
je 0x10007205
mov edx, dword [esp]
sub edx, ecx
jbe 0x100071ff
cmp byte [edi + ecx], 0xbf
jg 0x10007205
jmp 0x10007495
jne 0x10007495
test edx, edx
je 0x100073c8
mov dl, byte [edi + ecx]
movzx esi, dl
test dl, dl
jns 0x10007266
and esi, 0x1f
movzx eax, byte [edi + ecx + 1]
and eax, 0x3f
cmp dl, 0xdf
jbe 0x10007256
movzx edi, byte [edi + ecx + 2]
shl eax, 6
and edi, 0x3f
or edi, eax
cmp dl, 0xf0
jb 0x1000725d
mov edx, dword [esp + 4]
movzx eax, byte [edx + ecx + 3]
and esi, 7
shl esi, 0x12
shl edi, 6
and eax, 0x3f
or eax, edi
or esi, eax
mov edi, edx
jmp 0x10007266
shl esi, 6
or esi, eax
jmp 0x10007266
shl esi, 0xc
or esi, edi
mov edi, dword [esp + 4]
test bl, 1
je 0x1000701e
cmp esi, 0x110000
je 0x100073d1
xor eax, eax
inc eax
cmp esi, 0x80
jb 0x100072a1
mov eax, 2
cmp esi, 0x800
jb 0x100072a1
cmp esi, 0x10000
mov eax, 4
sbb eax, 0
add ecx, eax
xor ebx, ebx
jmp 0x100071e6
mov edi, dword [esp + 0x5c]
mov dword [esp + 8], edi
add ecx, edi
cmp ecx, edx
jae 0x100073d1
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 4]
cmp esi, edx
cmova edx, esi
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x10], edx
xor edx, edx
inc edx
sub edx, esi
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x1c], edx
lea edx, [esi - 1]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x14], esi
add edx, esi
dec edx
mov dword [esp + 0x20], edx
mov cl, byte [ebx + ecx]
xor edx, edx
xor esi, esi
inc esi
shld edx, esi, cl
shl esi, cl
test cl, 0x20
cmovne edx, esi
mov ecx, 0
cmovne esi, ecx
and edx, dword [esp + 0x10]
and esi, dword [esp + 0x28]
or esi, edx
je 0x10007367
mov edi, dword [esp + 8]
mov ecx, edi
neg ecx
lea edx, [ebx + edi]
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x2c], esi
je 0x10007371
add edi, esi
cmp edi, dword [esp]
jae 0x10007479
mov edi, dword [esp + 0x18]
mov bl, byte [edi + esi]
dec ecx
cmp bl, byte [edx + esi]
mov ebx, eax
lea esi, [esi + 1]
mov edi, dword [esp + 8]
je 0x1000733a
neg ecx
mov edx, ecx
jmp 0x100073b3
mov edx, dword [esp + 8]
add edx, dword [esp + 4]
jmp 0x100073b3
mov ecx, dword [esp + 0xc]
add ecx, edi
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
cmp edi, 1
je 0x1000701e
mov edx, dword [esp + 0xc]
cmp edx, dword [esp + 4]
jae 0x1000745d
cmp ecx, dword [esp]
jae 0x1000746e
mov dl, byte [esi]
inc edi
dec esi
cmp dl, byte [ebx + ecx]
lea ecx, [ecx - 1]
je 0x1000737f
mov edx, dword [esp + 8]
add edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], edx
add ecx, edx
cmp ecx, dword [esp]
jb 0x10007304
jmp 0x100073d1
test bl, 1
je 0x1000701e
lea edi, [esp + 0xb4]
lea esi, [esp + 0xc0]
push esi
call fcn.10001480
add esp, 4
push esi
call fcn.1005a250
add esp, 4
lea esi, [esp + 0x34]
push esi
call fcn.10001480
add esp, 4
push esi
call fcn.1005a250
add esp, 4
push edi
call fcn.10001480
add esp, 4
push edi
call fcn.1005a250
add esp, 4
lea ecx, [esp + 0x108]
call fcn.1000673b
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x101030d8
push dword [esp + 8]
jmp 0x1000748f
push 0x101030e8
push esi
push edx
call fcn.10101330
mov eax, dword [esp + 0xc]
add eax, dword [esp + 0x14]
cmp esi, eax
cmova eax, esi
push 0x101030f8
push esi
push eax
call fcn.10101330
neg edi
push 0x101030d8
push dword [esp + 8]
push edi
call fcn.10101330
push 0x101030e8
push dword [esp + 4]
jmp 0x1000748f
mov ecx, dword [esp + 8]
add ecx, dword [esp + 0x14]
mov eax, dword [esp]
cmp eax, ecx
cmova ecx, eax
push 0x101030f8
push eax
push ecx
call fcn.10101330
push 0x10103108
mov eax, dword [esp + 4]
push eax
push ecx
push eax
push edi
call fcn.10101780