Function at 0x10009da6
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, 0x2b0
mov dword [ebp - 0x50], ecx
lea eax, [ebp - 0x18]
mov dword [eax - 4], esp
mov dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x10014010
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
mov dword [eax + 8], 0
lea ecx, [ebp - 0x2bc]
call fcn.1000a76a
mov dword [ebp - 0x34], esp
sub esp, 0x1c
mov ecx, esp
mov esi, dword [ebp - 0x50]
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x20], 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 0x10009e16
mov edx, dword [esi]
mov dword [ebp - 0x10], 1
push eax
push edx
mov dword [ebp - 0x24], ecx
call fcn.100071cc
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x18], eax
lea ecx, [ebp - 0x2bc]
call section..text
mov esp, dword [ebp - 0x34]
test al, al
je 0x1000a67e
xorps xmm0, xmm0
lea eax, [ebp - 0x5c]
movups xmmword [eax - 4], xmm0
mov dword [ebp - 0x10], 2
lea ecx, [ebp - 0x2bc]
push eax
call fcn.100012b6
test al, al
je 0x1000a17e
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
sub edx, ecx
cmp edx, eax
jbe 0x1000a6c2
mov bl, byte [ecx + eax]
mov byte [ebp - 0x26], bl
lea esi, [eax + 1]
mov dword [ebp - 0x60], esi
cmp edx, esi
jbe 0x1000a6c7
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.10006388
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, 0xb
lea ecx, [ebp - 0x6c]
mov byte [ecx - 8], al
mov dword [ecx - 4], 5
mov dword [ecx], 0x24243148
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.10007a90
mov byte [ebp + edi - 0x6c], al
inc edi
cmp edi, dword [ebp - 0x70]
jb 0x10009f04
movaps xmm0, xmmword [0x100350d0]
lea esi, [ebp - 0x290]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x55409b4f
xor edi, edi
mov ecx, esi
push dword [ebp - 0x290]
push dword [ebp + edi*4 - 0x284]
call fcn.10006370
mov dword [ebp + edi*4 - 0x284], eax
inc edi
cmp edi, dword [ebp - 0x28c]
jb 0x10009f34
lea esi, [ebp - 0x290]
mov eax, dword [esi + 8]
mov eax, dword [ebp + eax*4 - 0x284]
mov dword [ebp - 0x2c], ebx
mov edi, dword [eax + ebx]
movaps xmm0, xmmword [0x100350e0]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x65310fcb
xor ebx, ebx
mov ecx, esi
push dword [ebp - 0x290]
push dword [ebp + ebx*4 - 0x284]
call fcn.10006370
mov dword [ebp + ebx*4 - 0x284], eax
inc ebx
cmp ebx, dword [ebp - 0x28c]
jb 0x10009f81
mov ebx, dword [ebp - 0x2c]
add edi, ebx
lea esi, [ebp - 0x290]
mov eax, dword [esi + 8]
mov eax, dword [ebp + eax*4 - 0x284]
mov eax, dword [eax + edi]
mov dword [ebp - 0x24], eax
movaps xmm0, xmmword [0x100350f0]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x75218447
xor edi, edi
mov ecx, esi
push dword [ebp - 0x290]
push dword [ebp + edi*4 - 0x284]
call fcn.10006370
mov dword [ebp + edi*4 - 0x284], eax
inc edi
cmp edi, dword [ebp - 0x28c]
jb 0x10009fd3
mov ecx, dword [ebp - 0x24]
add ecx, ebx
lea esi, [ebp - 0x290]
mov eax, dword [esi + 8]
mov eax, dword [ebp + eax*4 - 0x284]
mov dword [ebp - 0x24], ecx
mov eax, dword [eax + ecx]
mov dword [ebp - 0x34], eax
movaps xmm0, xmmword [0x10035100]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x4511f8c2
xor edi, edi
mov ecx, esi
push dword [ebp - 0x290]
push dword [ebp + edi*4 - 0x284]
call fcn.10006370
mov dword [ebp + edi*4 - 0x284], eax
inc edi
cmp edi, dword [ebp - 0x28c]
jb 0x1000a028
lea edi, [ebp - 0x290]
mov eax, dword [edi + 8]
mov eax, dword [ebp + eax*4 - 0x284]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + ecx]
mov dword [ebp - 0x30], eax
movaps xmm0, xmmword [0x10035110]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0x55026d3e
xor esi, esi
mov ecx, edi
push dword [ebp - 0x290]
push dword [ebp + esi*4 - 0x284]
call fcn.10006370
mov dword [ebp + esi*4 - 0x284], eax
inc esi
cmp esi, dword [ebp - 0x28c]
jb 0x1000a078
xor esi, esi
mov ecx, 0
add dword [ebp - 0x34], ebx
mov edx, dword [ebp - 0x30]
je 0x1000a1bc
add edx, ebx
je 0x1000a1bc
mov eax, dword [ebp - 0x288]
mov eax, dword [ebp + eax*4 - 0x284]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + ecx]
mov ecx, 0
add eax, ebx
je 0x1000a1bc
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x30], edx
xor eax, eax
lea esi, [ebp - 0x290]
mov dword [ebp - 0x20], eax
movaps xmm0, xmmword [0x10035120]
movups xmmword [ebp - 0x290], xmm0
mov dword [ebp - 0x280], 0x64f2e1ba
xor edi, edi
mov ecx, esi
push dword [ebp - 0x290]
push dword [ebp + edi*4 - 0x284]
call fcn.10006370
mov dword [ebp + edi*4 - 0x284], eax
inc edi
cmp edi, dword [ebp - 0x28c]
jb 0x1000a102
mov eax, dword [ebp - 0x288]
mov eax, dword [ebp + eax*4 - 0x284]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
cmp edx, dword [eax + ecx]
jae 0x1000a19d
mov eax, dword [ebp - 0x34]
mov edi, dword [eax + edx*4]
add edi, ebx
push edi
call fcn.10020240
add esp, 4
cmp eax, 0xffffffff
je 0x1000a175
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 0x1000a15c
cmp ecx, 0xa9d3be22
mov ebx, dword [ebp - 0x2c]
je 0x1000a1a1
mov eax, dword [ebp - 0x20]
inc eax
jmp 0x1000a0e5
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x1000a67e
mov ecx, dword [ebp - 0x54]
sub ecx, eax
push ecx
push eax
call fcn.10005f50
add esp, 8
jmp 0x1000a67e
xor ecx, ecx
jmp 0x1000a1ba
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 - 0x290]
je 0x1000a228
push dword [ebp - 0x64]
push eax
call fcn.1000ab88
add esp, 8
lea ecx, [ebp - 0x90]
lea eax, [ebp - 0x290]
push eax
call fcn.1000a8b2
mov eax, dword [ebp - 0x27c]
cmp eax, 0x10
jb 0x1000a228
inc eax
push eax
push dword [ebp - 0x290]
call fcn.10005f50
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 0x1000a254
mov edx, dword [ebp - 0x90]
push eax
push edx
call fcn.100071cc
lea ecx, [ebp - 0x48]
call fcn.1000a900
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 - 0x290]
movaps xmm0, xmmword [0x100350d0]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x55409b4f
xor edi, edi
mov ecx, esi
push dword [ebp - 0x290]
push dword [ebp + edi*4 - 0x284]
call fcn.10006370
mov dword [ebp + edi*4 - 0x284], eax
inc edi
cmp edi, dword [ebp - 0x28c]
jb 0x1000a29f
lea esi, [ebp - 0x290]
mov eax, dword [esi + 8]
mov eax, dword [ebp + eax*4 - 0x284]
mov ecx, dword [ebp - 0x2c]
mov edi, dword [eax + ecx]
movaps xmm0, xmmword [0x100350e0]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x65310fcb
xor ebx, ebx
mov ecx, esi
push dword [ebp - 0x290]
push dword [ebp + ebx*4 - 0x284]
call fcn.10006370
mov dword [ebp + ebx*4 - 0x284], eax
inc ebx
cmp ebx, dword [ebp - 0x28c]
jb 0x1000a2ec
add edi, dword [ebp - 0x2c]
lea esi, [ebp - 0x290]
mov eax, dword [esi + 8]
mov eax, dword [ebp + eax*4 - 0x284]
mov ebx, dword [eax + edi]
movaps xmm0, xmmword [0x100350f0]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x75218447
xor edi, edi
mov ecx, esi
push dword [ebp - 0x290]
push dword [ebp + edi*4 - 0x284]
call fcn.10006370
mov dword [ebp + edi*4 - 0x284], eax
inc edi
cmp edi, dword [ebp - 0x28c]
jb 0x1000a339
add ebx, dword [ebp - 0x2c]
lea esi, [ebp - 0x290]
mov eax, dword [esi + 8]
mov eax, dword [ebp + eax*4 - 0x284]
mov dword [ebp - 0x24], ebx
mov eax, dword [eax + ebx]
mov dword [ebp - 0x34], eax
movaps xmm0, xmmword [0x10035100]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x4511f8c2
xor edi, edi
mov ecx, esi
push dword [ebp - 0x290]
push dword [ebp + edi*4 - 0x284]
call fcn.10006370
mov dword [ebp + edi*4 - 0x284], eax
inc edi
cmp edi, dword [ebp - 0x28c]
jb 0x1000a38c
lea ebx, [ebp - 0x290]
mov eax, dword [ebx + 8]
mov eax, dword [ebp + eax*4 - 0x284]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + ecx]
mov dword [ebp - 0x30], eax
movaps xmm0, xmmword [0x10035110]
movups xmmword [ebx], xmm0
mov dword [ebx + 0x10], 0x55026d3e
xor esi, esi
mov ecx, ebx
push dword [ebp - 0x290]
push dword [ebp + esi*4 - 0x284]
call fcn.10006370
mov dword [ebp + esi*4 - 0x284], eax
inc esi
cmp esi, dword [ebp - 0x28c]
jb 0x1000a3dc
xor eax, eax
mov edi, dword [ebp - 0x2c]
add dword [ebp - 0x34], edi
je 0x1000a4fe
mov esi, dword [ebp - 0x30]
add esi, edi
je 0x1000a4fe
mov ecx, dword [ebp - 0x288]
mov ecx, dword [ebp + ecx*4 - 0x284]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ecx + edx]
add ecx, edi
je 0x1000a4fe
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x30], esi
xor eax, eax
lea esi, [ebp - 0x290]
mov dword [ebp - 0x20], eax
movaps xmm0, xmmword [0x10035120]
movups xmmword [ebp - 0x290], xmm0
mov dword [ebp - 0x280], 0x64f2e1ba
xor ebx, ebx
mov ecx, esi
push dword [ebp - 0x290]
push dword [ebp + ebx*4 - 0x284]
call fcn.10006370
mov dword [ebp + ebx*4 - 0x284], eax
inc ebx
cmp ebx, dword [ebp - 0x28c]
jb 0x1000a45f
mov eax, dword [ebp - 0x288]
mov eax, dword [ebp + eax*4 - 0x284]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
cmp edx, dword [eax + ecx]
jae 0x1000a4db
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax + edx*4]
add ebx, edi
push ebx
call fcn.10020240
add esp, 4
cmp eax, 0xffffffff
je 0x1000a4d2
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 0x1000a4b9
cmp ecx, 0x70dc5270
mov edi, dword [ebp - 0x2c]
je 0x1000a4df
mov eax, dword [ebp - 0x20]
inc eax
jmp 0x1000a442
xor eax, eax
jmp 0x1000a4f8
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 - 0x290]
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 - 0x290]
push edi
call fcn.10021219
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.10007692
lea ecx, [ebp - 0x48]
call fcn.1000a98a
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.10006388
lea ecx, [ebp - 0x48]
call fcn.1000a900
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 0x1000a593
mov byte [eax], cl
inc dword [ebp - 0x40]
jmp 0x1000a5b0
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x35]
push edx
push eax
mov dword [ebp - 0x20], esi
call fcn.10008ea4
mov esi, dword [ebp - 0x20]
lea edx, [ebp - 0x74]
inc esi
cmp esi, 4
jne 0x1000a57d
cmp byte [ebp - 0x26], 0
je 0x1000a5e1
mov byte [ebp - 0x74], 0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x3c]
je 0x1000a5d0
mov byte [eax], 0
inc dword [ebp - 0x40]
jmp 0x1000a5e1
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x44]
push edx
push eax
call fcn.10008ea4
mov dword [ebp - 0x10], 4
cmp byte [ebp - 0x25], 0
je 0x1000a60b
mov dword [ebp - 0x20], esp
push eax
sub esp, 0x14
mov eax, esp
push eax
call fcn.10002ff8
add esp, 4
lea ecx, [ebp - 0x48]
call fcn.1000a98a
mov esp, dword [ebp - 0x20]
lea ecx, [ebp - 0x2bc]
lea eax, [ebp - 0x44]
push eax
call fcn.1000116c
movzx eax, byte [ebp - 0x25]
movzx ecx, byte [ebp - 0x26]
push eax
push ecx
lea eax, [ebp - 0x2bc]
push eax
call fcn.10003063
add esp, 0xc
mov eax, dword [ebp - 0x7c]
cmp eax, 0x10
jb 0x1000a64b
inc eax
push eax
push dword [ebp - 0x90]
call fcn.10005f50
add esp, 8
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x1000a661
mov ecx, dword [ebp - 0x3c]
sub ecx, eax
push ecx
push eax
call fcn.10005f50
add esp, 8
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x1000a67e
mov ecx, dword [ebp - 0x54]
sub ecx, eax
push ecx
push eax
call fcn.10005f50
add esp, 8
mov dword [ebp - 0x5c], 0
lea ecx, [ebp - 0x2bc]
call fcn.1000aa06
mov esi, dword [ebp - 0x50]
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x1000a6a0
inc eax
push eax
push dword [esi]
call fcn.10005f50
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.10008f76
call fcn.10008f76
push ebp
sub esp, 0x20
add ebp, 0xc
mov eax, dword [ebp - 0x7c]
cmp eax, 0x10
jb 0x1000a6eb
inc eax
push eax
push dword [ebp - 0x90]
call fcn.10005f50
add esp, 8
add esp, 0x20
pop ebp
ret