Function at 0x1000a016
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2ac
mov dword [ebp - 0x50], ecx
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x10014340
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov dword [eax + 8], 0
lea ecx, [ebp - 0xb8]
call fcn.1000aab0
mov dword [ebp - 0x20], esp
sub esp, 0x1c
mov ecx, esp
mov esi, dword [ebp - 0x50]
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov eax, dword [esi + 0x10]
cmp dword [esi + 0x14], 0x10
mov edx, esi
jb 0x1000a086
mov edx, dword [esi]
mov dword [ebp - 0x10], 1
push eax
push edx
mov dword [ebp - 0x34], ecx
call fcn.1000743c
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x18], eax
lea ecx, [ebp - 0xb8]
call section..text
mov esp, dword [ebp - 0x20]
test al, al
je 0x1000a943
xorps xmm0, xmm0
lea eax, [ebp - 0x5c]
movups xmmword [eax - 4], xmm0
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0xb8]
push eax
call fcn.10001212
test al, al
je 0x1000a418
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
sub edx, ecx
cmp edx, eax
jbe 0x1000aa07
mov bl, byte [ecx + eax]
mov byte [ebp - 0x26], bl
lea esi, [eax + 1]
mov dword [ebp - 0x60], esi
cmp edx, esi
jbe 0x1000aa0c
mov cl, byte [ecx + eax + 1]
mov byte [ebp - 0x25], cl
add eax, 2
mov dword [ebp - 0x60], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x48], xmm0
xor eax, eax
lea ecx, [ebp - 0x90]
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
movups xmmword [ecx], xmm0
mov dword [ebp - 0x10], 3
push 5
push str.error
call fcn.100065f8
mov dword [ebp - 0x64], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov ebx, dword [eax + 0x10]
mov al, 0xc9
lea ecx, [ebp - 0x6c]
mov byte [ecx - 8], al
mov dword [ecx - 4], 5
mov dword [ecx], 0xe6e6f38a
mov byte [ecx + 4], al
lea esi, [ebp - 0x74]
xor edi, edi
movsx eax, byte [ebp + edi - 0x6c]
mov ecx, esi
push eax
call fcn.10007d00
mov byte [ebp + edi - 0x6c], al
inc edi
cmp edi, dword [ebp - 0x70]
jb 0x1000a174
movaps xmm0, xmmword [0x100350a0]
lea esi, [ebp - 0x2b8]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x54791917
mov dword [esi + 0x14], 0x4f5ad2ed
mov dword [esi + 0x18], 0x5eb5a5a3
xor edi, edi
mov ecx, esi
push dword [ebp - 0x2b8]
push dword [ebp + edi*4 - 0x2ac]
call fcn.100065e0
mov dword [ebp + edi*4 - 0x2ac], eax
inc edi
cmp edi, dword [ebp - 0x2b4]
jb 0x1000a1b2
lea esi, [ebp - 0x2b8]
mov eax, dword [esi + 8]
mov eax, dword [ebp + eax*4 - 0x2ac]
mov dword [ebp - 0x2c], ebx
mov edi, dword [eax + ebx]
movaps xmm0, xmmword [0x100350b0]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x63d3ebe9
xor ebx, ebx
mov ecx, esi
push dword [ebp - 0x2b8]
push dword [ebp + ebx*4 - 0x2ac]
call fcn.100065e0
mov dword [ebp + ebx*4 - 0x2ac], eax
inc ebx
cmp ebx, dword [ebp - 0x2b4]
jb 0x1000a1ff
mov ebx, dword [ebp - 0x2c]
add edi, ebx
lea esi, [ebp - 0x2b8]
mov eax, dword [esi + 8]
mov eax, dword [ebp + eax*4 - 0x2ac]
mov eax, dword [eax + edi]
mov dword [ebp - 0x24], eax
movaps xmm0, xmmword [0x100350c0]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x732ebebb
mov dword [esi + 0x14], 0x6e107855
mov dword [esi + 0x18], 0x7d6b4b47
xor edi, edi
mov ecx, esi
push dword [ebp - 0x2b8]
push dword [ebp + edi*4 - 0x2ac]
call fcn.100065e0
mov dword [ebp + edi*4 - 0x2ac], eax
inc edi
cmp edi, dword [ebp - 0x2b4]
jb 0x1000a25f
mov ecx, dword [ebp - 0x24]
add ecx, ebx
lea esi, [ebp - 0x2b8]
mov eax, dword [esi + 8]
mov eax, dword [ebp + eax*4 - 0x2ac]
mov dword [ebp - 0x24], ecx
mov eax, dword [eax + ecx]
mov dword [ebp - 0x34], eax
movaps xmm0, xmmword [0x100350d0]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x4289918c
xor edi, edi
mov ecx, esi
push dword [ebp - 0x2b8]
push dword [ebp + edi*4 - 0x2ac]
call fcn.100065e0
mov dword [ebp + edi*4 - 0x2ac], eax
inc edi
cmp edi, dword [ebp - 0x2b4]
jb 0x1000a2b4
lea edi, [ebp - 0x2b8]
mov eax, dword [edi + 8]
mov eax, dword [ebp + eax*4 - 0x2ac]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + ecx]
mov dword [ebp - 0x30], eax
movaps xmm0, xmmword [0x100350e0]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0x51e4645e
mov dword [edi + 0x14], 0x4cc61e3c
mov dword [edi + 0x18], 0x5c20f0ea
xor esi, esi
mov ecx, edi
push dword [ebp - 0x2b8]
push dword [ebp + esi*4 - 0x2ac]
call fcn.100065e0
mov dword [ebp + esi*4 - 0x2ac], eax
inc esi
cmp esi, dword [ebp - 0x2b4]
jb 0x1000a312
xor esi, esi
mov ecx, 0
add dword [ebp - 0x34], ebx
mov edx, dword [ebp - 0x30]
je 0x1000a456
add edx, ebx
je 0x1000a456
mov eax, dword [ebp - 0x2b0]
mov eax, dword [ebp + eax*4 - 0x2ac]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + ecx]
mov ecx, 0
add eax, ebx
je 0x1000a456
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x30], edx
xor eax, eax
lea esi, [ebp - 0x2b8]
mov dword [ebp - 0x20], eax
movaps xmm0, xmmword [0x100350f0]
movups xmmword [ebp - 0x2b8], xmm0
mov dword [ebp - 0x2a8], 0x613f3730
xor edi, edi
mov ecx, esi
push dword [ebp - 0x2b8]
push dword [ebp + edi*4 - 0x2ac]
call fcn.100065e0
mov dword [ebp + edi*4 - 0x2ac], eax
inc edi
cmp edi, dword [ebp - 0x2b4]
jb 0x1000a39c
mov eax, dword [ebp - 0x2b0]
mov eax, dword [ebp + eax*4 - 0x2ac]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
cmp edx, dword [eax + ecx]
jae 0x1000a437
mov eax, dword [ebp - 0x34]
mov edi, dword [eax + edx*4]
add edi, ebx
push edi
call fcn.10020570
add esp, 4
cmp eax, 0xffffffff
je 0x1000a40f
inc eax
mov ecx, 0x1d
xor edx, edx
movsx ebx, byte [edi + edx]
xor ebx, ecx
lea ecx, [ebx + ebx*4]
inc edx
cmp eax, edx
jne 0x1000a3f6
cmp ecx, 0xa9d3be22
mov ebx, dword [ebp - 0x2c]
je 0x1000a43b
mov eax, dword [ebp - 0x20]
inc eax
jmp 0x1000a37f
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x1000a943
mov ecx, dword [ebp - 0x54]
sub ecx, eax
push ecx
push eax
call fcn.100061be
add esp, 8
jmp 0x1000a943
xor ecx, ecx
jmp 0x1000a454
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x20]
movzx eax, word [eax + ecx*2]
mov ecx, dword [ebp - 0x30]
add ebx, dword [ecx + eax*4]
mov dword [ebp - 0x10], 4
mov ecx, ebx
xor esi, esi
mov dword [ebp - 0x10], 4
sub esp, 0x20
xorps xmm0, xmm0
movups xmmword [esp + 0x10], xmm0
lea eax, [ebp - 0x64]
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov dword [esp + 4], esi
lea eax, [ebp - 0x6c]
mov dword [esp], eax
call ecx
test al, al
lea eax, [ebp - 0x2b8]
je 0x1000a4c2
push dword [ebp - 0x64]
push eax
call fcn.1000aece
add esp, 8
lea ecx, [ebp - 0x90]
lea eax, [ebp - 0x2b8]
push eax
call fcn.1000abe4
mov eax, dword [ebp - 0x2a4]
cmp eax, 0x10
jb 0x1000a4c2
inc eax
push eax
push dword [ebp - 0x2b8]
call fcn.100061be
add esp, 8
mov dword [ebp - 0x20], esp
push eax
sub esp, 0x14
mov ecx, esp
xor eax, eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x7c], 0x10
lea edx, [ebp - 0x90]
jb 0x1000a4ee
mov edx, dword [ebp - 0x90]
push eax
push edx
call fcn.1000743c
lea ecx, [ebp - 0x48]
call fcn.1000ac32
mov esp, dword [ebp - 0x20]
mov dword [ebp - 0x78], 0x100
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x2c], eax
lea esi, [ebp - 0x2b8]
movaps xmm0, xmmword [0x100350a0]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x54791917
mov dword [esi + 0x14], 0x4f5ad2ed
mov dword [esi + 0x18], 0x5eb5a5a3
xor edi, edi
mov ecx, esi
push dword [ebp - 0x2b8]
push dword [ebp + edi*4 - 0x2ac]
call fcn.100065e0
mov dword [ebp + edi*4 - 0x2ac], eax
inc edi
cmp edi, dword [ebp - 0x2b4]
jb 0x1000a547
lea esi, [ebp - 0x2b8]
mov eax, dword [esi + 8]
mov eax, dword [ebp + eax*4 - 0x2ac]
mov ecx, dword [ebp - 0x2c]
mov edi, dword [eax + ecx]
movaps xmm0, xmmword [0x100350b0]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x63d3ebe9
xor ebx, ebx
mov ecx, esi
push dword [ebp - 0x2b8]
push dword [ebp + ebx*4 - 0x2ac]
call fcn.100065e0
mov dword [ebp + ebx*4 - 0x2ac], eax
inc ebx
cmp ebx, dword [ebp - 0x2b4]
jb 0x1000a594
add edi, dword [ebp - 0x2c]
lea esi, [ebp - 0x2b8]
mov eax, dword [esi + 8]
mov eax, dword [ebp + eax*4 - 0x2ac]
mov ebx, dword [eax + edi]
movaps xmm0, xmmword [0x100350c0]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x732ebebb
mov dword [esi + 0x14], 0x6e107855
mov dword [esi + 0x18], 0x7d6b4b47
xor edi, edi
mov ecx, esi
push dword [ebp - 0x2b8]
push dword [ebp + edi*4 - 0x2ac]
call fcn.100065e0
mov dword [ebp + edi*4 - 0x2ac], eax
inc edi
cmp edi, dword [ebp - 0x2b4]
jb 0x1000a5ef
add ebx, dword [ebp - 0x2c]
lea esi, [ebp - 0x2b8]
mov eax, dword [esi + 8]
mov eax, dword [ebp + eax*4 - 0x2ac]
mov dword [ebp - 0x24], ebx
mov eax, dword [eax + ebx]
mov dword [ebp - 0x34], eax
movaps xmm0, xmmword [0x100350d0]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x4289918c
xor edi, edi
mov ecx, esi
push dword [ebp - 0x2b8]
push dword [ebp + edi*4 - 0x2ac]
call fcn.100065e0
mov dword [ebp + edi*4 - 0x2ac], eax
inc edi
cmp edi, dword [ebp - 0x2b4]
jb 0x1000a642
lea ebx, [ebp - 0x2b8]
mov eax, dword [ebx + 8]
mov eax, dword [ebp + eax*4 - 0x2ac]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + ecx]
mov dword [ebp - 0x30], eax
movaps xmm0, xmmword [0x100350e0]
movups xmmword [ebx], xmm0
mov dword [ebx + 0x10], 0x51e4645e
mov dword [ebx + 0x14], 0x4cc61e3c
mov dword [ebx + 0x18], 0x5c20f0ea
xor esi, esi
mov ecx, ebx
push dword [ebp - 0x2b8]
push dword [ebp + esi*4 - 0x2ac]
call fcn.100065e0
mov dword [ebp + esi*4 - 0x2ac], eax
inc esi
cmp esi, dword [ebp - 0x2b4]
jb 0x1000a6a0
xor eax, eax
mov edi, dword [ebp - 0x2c]
add dword [ebp - 0x34], edi
je 0x1000a7c3
mov esi, dword [ebp - 0x30]
add esi, edi
je 0x1000a7c3
mov ecx, dword [ebp - 0x2b0]
mov ecx, dword [ebp + ecx*4 - 0x2ac]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ecx + edx]
add ecx, edi
je 0x1000a7c3
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x20], 0
lea esi, [ebp - 0x2b8]
movaps xmm0, xmmword [0x100350f0]
movups xmmword [ebp - 0x2b8], xmm0
mov dword [ebp - 0x2a8], 0x613f3730
xor ebx, ebx
mov ecx, esi
push dword [ebp - 0x2b8]
push dword [ebp + ebx*4 - 0x2ac]
call fcn.100065e0
mov dword [ebp + ebx*4 - 0x2ac], eax
inc ebx
cmp ebx, dword [ebp - 0x2b4]
jb 0x1000a725
mov eax, dword [ebp - 0x2b0]
mov eax, dword [ebp + eax*4 - 0x2ac]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
cmp edx, dword [eax + ecx]
jae 0x1000a7a0
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax + edx*4]
add ebx, edi
push ebx
call fcn.10020570
add esp, 4
cmp eax, 0xffffffff
je 0x1000a798
inc eax
mov ecx, 0x1d
xor edx, edx
movsx edi, byte [ebx + edx]
xor edi, ecx
lea ecx, [edi + edi*4]
inc edx
cmp eax, edx
jne 0x1000a77f
cmp ecx, 0x70dc5270
mov edi, dword [ebp - 0x2c]
je 0x1000a7a4
inc dword [ebp - 0x20]
jmp 0x1000a70b
xor eax, eax
jmp 0x1000a7bd
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x20]
movzx eax, word [eax + ecx*2]
mov ecx, dword [ebp - 0x30]
add edi, dword [ecx + eax*4]
mov dword [ebp - 0x10], 4
mov eax, edi
lea ebx, [ebp - 0x2b8]
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x78]
push ecx
push ebx
call eax
mov dword [ebp - 0x20], esp
push eax
sub esp, 0x14
mov esi, esp
xor eax, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
xorps xmm0, xmm0
movups xmmword [esi], xmm0
lea edi, [ebp - 0x2b8]
push edi
call fcn.10021549
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.10007902
lea ecx, [ebp - 0x48]
call fcn.1000acbc
mov esp, dword [ebp - 0x20]
push eax
sub esp, 0x14
mov ecx, esp
xor eax, eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
push 0x12
push str.sportsfreund___new
call fcn.100065f8
lea ecx, [ebp - 0x48]
call fcn.1000ac32
lea edx, [ebp - 0x74]
mov esp, dword [ebp - 0x20]
mov dword [ebp - 0x74], 1
xor esi, esi
mov cl, byte [ebp + esi - 0x74]
mov byte [ebp - 0x35], cl
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x3c]
je 0x1000a858
mov byte [eax], cl
inc dword [ebp - 0x40]
jmp 0x1000a875
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x35]
push edx
push eax
mov dword [ebp - 0x20], esi
call fcn.10009114
mov esi, dword [ebp - 0x20]
lea edx, [ebp - 0x74]
inc esi
cmp esi, 4
jne 0x1000a842
cmp byte [ebp - 0x26], 0
je 0x1000a8a6
mov byte [ebp - 0x74], 0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x3c]
je 0x1000a895
mov byte [eax], 0
inc dword [ebp - 0x40]
jmp 0x1000a8a6
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x44]
push edx
push eax
call fcn.10009114
mov dword [ebp - 0x10], 4
cmp byte [ebp - 0x25], 0
je 0x1000a8d0
mov dword [ebp - 0x20], esp
push eax
sub esp, 0x14
mov eax, esp
push eax
call fcn.100030cc
add esp, 4
lea ecx, [ebp - 0x48]
call fcn.1000acbc
mov esp, dword [ebp - 0x20]
lea ecx, [ebp - 0xb8]
lea eax, [ebp - 0x44]
push eax
call fcn.100010c8
movzx eax, byte [ebp - 0x25]
movzx ecx, byte [ebp - 0x26]
push eax
push ecx
lea eax, [ebp - 0xb8]
push eax
call fcn.10003137
add esp, 0xc
mov eax, dword [ebp - 0x7c]
cmp eax, 0x10
jb 0x1000a910
inc eax
push eax
push dword [ebp - 0x90]
call fcn.100061be
add esp, 8
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x1000a926
mov ecx, dword [ebp - 0x3c]
sub ecx, eax
push ecx
push eax
call fcn.100061be
add esp, 8
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x1000a943
mov ecx, dword [ebp - 0x54]
sub ecx, eax
push ecx
push eax
call fcn.100061be
add esp, 8
mov dword [ebp - 0x5c], 0
lea esi, [ebp - 0x98]
mov dword [esi - 0x20], 0x10035b84
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.1000ae1e
push 0x28
push dword [esi]
call fcn.10014c41
add esp, 8
mov eax, dword [esi - 0xc]
test eax, eax
je 0x1000a996
mov ecx, dword [ebp - 0x9c]
sub ecx, eax
push ecx
push eax
call fcn.100061be
add esp, 8
xor eax, eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
lea esi, [ebp - 0xac]
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.1000ae6c
push 0x28
push dword [esi]
call fcn.10014c41
add esp, 8
mov esi, dword [esi - 4]
test esi, esi
je 0x1000a9ce
push esi
call fcn.10016edf
add esp, 4
push esi
call fcn.10014c3c
add esp, 4
mov esi, dword [ebp - 0x50]
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x1000a9e5
inc eax
push eax
push dword [esi]
call fcn.100061be
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.100091e6
call fcn.100091e6
push ebp
sub esp, 0x20
add ebp, 0xc
mov eax, dword [ebp - 0x7c]
cmp eax, 0x10
jb 0x1000aa30
inc eax
push eax
push dword [ebp - 0x90]
call fcn.100061be
add esp, 8
add esp, 0x20
pop ebp
ret