Function at 0x10008828
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], 0x10012740
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.100092c2
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 0x10008898
mov edx, dword [esi]
mov dword [ebp - 0x10], 1
push eax
push edx
mov dword [ebp - 0x34], ecx
call fcn.10006fac
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 0x10009155
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 0x10008c2a
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
sub edx, ecx
cmp edx, eax
jbe 0x10009219
mov bl, byte [ecx + eax]
mov byte [ebp - 0x26], bl
lea esi, [eax + 1]
mov dword [ebp - 0x60], esi
cmp edx, esi
jbe 0x1000921e
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.10006168
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, 0xd8
lea ecx, [ebp - 0x6c]
mov byte [ecx - 8], al
mov dword [ecx - 4], 5
mov dword [ecx], 0xf7f7e29b
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.10007950
mov byte [ebp + edi - 0x6c], al
inc edi
cmp edi, dword [ebp - 0x70]
jb 0x10008986
movaps xmm0, xmmword [0x100310a0]
lea esi, [ebp - 0x2b8]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x554322f7
mov dword [esi + 0x14], 0x4ff25a05
mov dword [esi + 0x18], 0x5fe4b473
xor edi, edi
mov ecx, esi
push dword [ebp - 0x2b8]
push dword [ebp + edi*4 - 0x2ac]
call fcn.10006150
mov dword [ebp + edi*4 - 0x2ac], eax
inc edi
cmp edi, dword [ebp - 0x2b4]
jb 0x100089c4
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 [0x100310b0]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x65357d31
xor ebx, ebx
mov ecx, esi
push dword [ebp - 0x2b8]
push dword [ebp + ebx*4 - 0x2ac]
call fcn.10006150
mov dword [ebp + ebx*4 - 0x2ac], eax
inc ebx
cmp ebx, dword [ebp - 0x2b4]
jb 0x10008a11
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 [0x100310c0]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x7527d76b
mov dword [esi + 0x14], 0x6fd70e8d
mov dword [esi + 0x18], 0x7fc968e7
xor edi, edi
mov ecx, esi
push dword [ebp - 0x2b8]
push dword [ebp + edi*4 - 0x2ac]
call fcn.10006150
mov dword [ebp + edi*4 - 0x2ac], eax
inc edi
cmp edi, dword [ebp - 0x2b4]
jb 0x10008a71
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 [0x100310d0]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x451a31a4
xor edi, edi
mov ecx, esi
push dword [ebp - 0x2b8]
push dword [ebp + edi*4 - 0x2ac]
call fcn.10006150
mov dword [ebp + edi*4 - 0x2ac], eax
inc edi
cmp edi, dword [ebp - 0x2b4]
jb 0x10008ac6
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 [0x100310e0]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0x550c8bde
mov dword [edi + 0x14], 0x4fbbc304
mov dword [edi + 0x18], 0x5fae1d5a
xor esi, esi
mov ecx, edi
push dword [ebp - 0x2b8]
push dword [ebp + esi*4 - 0x2ac]
call fcn.10006150
mov dword [ebp + esi*4 - 0x2ac], eax
inc esi
cmp esi, dword [ebp - 0x2b4]
jb 0x10008b24
xor esi, esi
mov ecx, 0
add dword [ebp - 0x34], ebx
mov edx, dword [ebp - 0x30]
je 0x10008c68
add edx, ebx
je 0x10008c68
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 0x10008c68
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 [0x100310f0]
movups xmmword [ebp - 0x2b8], xmm0
mov dword [ebp - 0x2a8], 0x64fee618
xor edi, edi
mov ecx, esi
push dword [ebp - 0x2b8]
push dword [ebp + edi*4 - 0x2ac]
call fcn.10006150
mov dword [ebp + edi*4 - 0x2ac], eax
inc edi
cmp edi, dword [ebp - 0x2b4]
jb 0x10008bae
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 0x10008c49
mov eax, dword [ebp - 0x34]
mov edi, dword [eax + edx*4]
add edi, ebx
push edi
call fcn.1001d360
add esp, 4
cmp eax, 0xffffffff
je 0x10008c21
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 0x10008c08
cmp ecx, 0xa9d3be22
mov ebx, dword [ebp - 0x2c]
je 0x10008c4d
mov eax, dword [ebp - 0x20]
inc eax
jmp 0x10008b91
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x10009155
mov ecx, dword [ebp - 0x54]
sub ecx, eax
push ecx
push eax
call fcn.10005d29
add esp, 8
jmp 0x10009155
xor ecx, ecx
jmp 0x10008c66
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 0x10008cd4
push dword [ebp - 0x64]
push eax
call fcn.100096e0
add esp, 8
lea ecx, [ebp - 0x90]
lea eax, [ebp - 0x2b8]
push eax
call fcn.100093f6
mov eax, dword [ebp - 0x2a4]
cmp eax, 0x10
jb 0x10008cd4
inc eax
push eax
push dword [ebp - 0x2b8]
call fcn.10005d29
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 0x10008d00
mov edx, dword [ebp - 0x90]
push eax
push edx
call fcn.10006fac
lea ecx, [ebp - 0x48]
call fcn.10009444
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 [0x100310a0]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x554322f7
mov dword [esi + 0x14], 0x4ff25a05
mov dword [esi + 0x18], 0x5fe4b473
xor edi, edi
mov ecx, esi
push dword [ebp - 0x2b8]
push dword [ebp + edi*4 - 0x2ac]
call fcn.10006150
mov dword [ebp + edi*4 - 0x2ac], eax
inc edi
cmp edi, dword [ebp - 0x2b4]
jb 0x10008d59
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 [0x100310b0]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x65357d31
xor ebx, ebx
mov ecx, esi
push dword [ebp - 0x2b8]
push dword [ebp + ebx*4 - 0x2ac]
call fcn.10006150
mov dword [ebp + ebx*4 - 0x2ac], eax
inc ebx
cmp ebx, dword [ebp - 0x2b4]
jb 0x10008da6
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 [0x100310c0]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x7527d76b
mov dword [esi + 0x14], 0x6fd70e8d
mov dword [esi + 0x18], 0x7fc968e7
xor edi, edi
mov ecx, esi
push dword [ebp - 0x2b8]
push dword [ebp + edi*4 - 0x2ac]
call fcn.10006150
mov dword [ebp + edi*4 - 0x2ac], eax
inc edi
cmp edi, dword [ebp - 0x2b4]
jb 0x10008e01
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 [0x100310d0]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0x451a31a4
xor edi, edi
mov ecx, esi
push dword [ebp - 0x2b8]
push dword [ebp + edi*4 - 0x2ac]
call fcn.10006150
mov dword [ebp + edi*4 - 0x2ac], eax
inc edi
cmp edi, dword [ebp - 0x2b4]
jb 0x10008e54
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 [0x100310e0]
movups xmmword [ebx], xmm0
mov dword [ebx + 0x10], 0x550c8bde
mov dword [ebx + 0x14], 0x4fbbc304
mov dword [ebx + 0x18], 0x5fae1d5a
xor esi, esi
mov ecx, ebx
push dword [ebp - 0x2b8]
push dword [ebp + esi*4 - 0x2ac]
call fcn.10006150
mov dword [ebp + esi*4 - 0x2ac], eax
inc esi
cmp esi, dword [ebp - 0x2b4]
jb 0x10008eb2
xor eax, eax
mov edi, dword [ebp - 0x2c]
add dword [ebp - 0x34], edi
je 0x10008fd5
mov esi, dword [ebp - 0x30]
add esi, edi
je 0x10008fd5
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 0x10008fd5
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x20], 0
lea esi, [ebp - 0x2b8]
movaps xmm0, xmmword [0x100310f0]
movups xmmword [ebp - 0x2b8], xmm0
mov dword [ebp - 0x2a8], 0x64fee618
xor ebx, ebx
mov ecx, esi
push dword [ebp - 0x2b8]
push dword [ebp + ebx*4 - 0x2ac]
call fcn.10006150
mov dword [ebp + ebx*4 - 0x2ac], eax
inc ebx
cmp ebx, dword [ebp - 0x2b4]
jb 0x10008f37
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 0x10008fb2
mov eax, dword [ebp - 0x34]
mov ebx, dword [eax + edx*4]
add ebx, edi
push ebx
call fcn.1001d360
add esp, 4
cmp eax, 0xffffffff
je 0x10008faa
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 0x10008f91
cmp ecx, 0x70dc5270
mov edi, dword [ebp - 0x2c]
je 0x10008fb6
inc dword [ebp - 0x20]
jmp 0x10008f1d
xor eax, eax
jmp 0x10008fcf
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.1001e252
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.10007472
lea ecx, [ebp - 0x48]
call fcn.100094ce
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.10006168
lea ecx, [ebp - 0x48]
call fcn.10009444
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 0x1000906a
mov byte [eax], cl
inc dword [ebp - 0x40]
jmp 0x10009087
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x35]
push edx
push eax
mov dword [ebp - 0x20], esi
call fcn.10007518
mov esi, dword [ebp - 0x20]
lea edx, [ebp - 0x74]
inc esi
cmp esi, 4
jne 0x10009054
cmp byte [ebp - 0x26], 0
je 0x100090b8
mov byte [ebp - 0x74], 0
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x3c]
je 0x100090a7
mov byte [eax], 0
inc dword [ebp - 0x40]
jmp 0x100090b8
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x44]
push edx
push eax
call fcn.10007518
mov dword [ebp - 0x10], 4
cmp byte [ebp - 0x25], 0
je 0x100090e2
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.100094ce
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 0x10009122
inc eax
push eax
push dword [ebp - 0x90]
call fcn.10005d29
add esp, 8
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x10009138
mov ecx, dword [ebp - 0x3c]
sub ecx, eax
push ecx
push eax
call fcn.10005d29
add esp, 8
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x10009155
mov ecx, dword [ebp - 0x54]
sub ecx, eax
push ecx
push eax
call fcn.10005d29
add esp, 8
mov dword [ebp - 0x5c], 0
lea esi, [ebp - 0x98]
mov dword [esi - 0x20], 0x100315c4
mov eax, dword [esi]
mov ecx, esi
push dword [eax + 4]
push esi
call fcn.10009630
push 0x28
push dword [esi]
call fcn.10012f81
add esp, 8
mov eax, dword [esi - 0xc]
test eax, eax
je 0x100091a8
mov ecx, dword [ebp - 0x9c]
sub ecx, eax
push ecx
push eax
call fcn.10005d29
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.1000967e
push 0x28
push dword [esi]
call fcn.10012f81
add esp, 8
mov esi, dword [esi - 4]
test esi, esi
je 0x100091e0
push esi
call fcn.1001508d
add esp, 4
push esi
call fcn.10012f7c
add esp, 4
mov esi, dword [ebp - 0x50]
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x100091f7
inc eax
push eax
push dword [esi]
call fcn.10005d29
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.100075ea
call fcn.100075ea
push ebp
sub esp, 0x20
add ebp, 0xc
mov eax, dword [ebp - 0x7c]
cmp eax, 0x10
jb 0x10009242
inc eax
push eax
push dword [ebp - 0x90]
call fcn.10005d29
add esp, 8
add esp, 0x20
pop ebp
ret