Function at 0x10031ef0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x100511e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
mov ebx, dword [esp + 0x9c]
xor ebp, ebp
lea ecx, [esp + 0x30]
mov dword [esp + 0x94], ebp
mov eax, dword [ebx + 4]
mov ax, word [eax]
mov dword [esp + 0x10], eax
call fcn.10032310
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 1
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0x10058bec
call fcn.10032930
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x48]
mov byte [esp + 0x94], 2
mov dx, word [eax + 2]
mov dword [esp + 0x14], edx
call fcn.10032310
lea eax, [esp + 0x14]
lea ecx, [esp + 0x44]
push eax
mov byte [esp + 0x98], 3
mov dword [esp + 0x48], 0x10058be0
call fcn.100329a0
lea ecx, [esp + 0x60]
mov byte [esp + 0x94], 4
mov dword [esp + 0x10], ebp
call fcn.10032310
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 5
push ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], 0x10058bd4
call fcn.10032a10
mov dx, word [esi + 4]
lea ecx, [esp + 0x78]
mov byte [esp + 0x94], 6
mov dword [esp + 0x14], edx
call fcn.10032310
lea eax, [esp + 0x14]
lea ecx, [esp + 0x74]
push eax
mov byte [esp + 0x98], 7
mov dword [esp + 0x78], 0x10058bc8
call fcn.10032a50
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x74]
mov byte [esp + 0x94], 8
call dword [edx + 4]
mov edx, dword [esp + 0x74]
mov edi, eax
lea ecx, [esp + 0x10]
lea eax, [edi - 1]
push ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x14], eax
call dword [edx + 8]
cmp di, bp
jbe 0x10032264
jmp 0x10032032
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x5c]
mov si, word [esi]
lea ecx, [esp + 0x5c]
call dword [eax + 4]
mov edx, dword [esp + 0x5c]
lea ecx, [esp + 0x1c]
add eax, esi
push ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x20], eax
call dword [edx + 8]
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x44]
call dword [eax + 4]
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0xa4]
mov di, ax
lea ecx, [esp + 0x5c]
shl edi, 4
call dword [edx + 4]
mov esi, eax
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x44]
call dword [eax + 4]
mov edx, dword [esp + 0x44]
mov bx, ax
lea ecx, [esp + 0x44]
add ebx, esi
call dword [edx + 4]
mov ecx, dword [esp + 0xa4]
mov dx, word [ebp]
shr ax, 5
mov si, word [ecx + 2]
add dx, di
add si, ax
mov eax, dword [esp + 0x2c]
xor esi, edx
lea ecx, [esp + 0x2c]
xor esi, ebx
call dword [eax + 4]
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x20]
add eax, esi
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], eax
call dword [edx + 8]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
call dword [eax + 4]
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0xa4]
mov di, ax
lea ecx, [esp + 0x5c]
shl edi, 4
call dword [edx + 4]
mov esi, eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
call dword [eax + 4]
mov edx, dword [esp + 0x2c]
mov bx, ax
lea ecx, [esp + 0x2c]
add ebx, esi
call dword [edx + 4]
mov ecx, dword [esp + 0xa4]
mov dx, word [ebp + 4]
shr ax, 5
mov si, word [ecx + 6]
add dx, di
add si, ax
mov eax, dword [esp + 0x44]
xor esi, edx
lea ecx, [esp + 0x44]
xor esi, ebx
call dword [eax + 4]
lea ecx, [esp + 0x24]
add eax, esi
push ecx
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x48]
mov edx, dword [esp + 0x48]
call dword [edx + 8]
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x44]
call dword [eax + 4]
mov edx, dword [esp + 0x5c]
mov ebp, dword [esp + 0xa4]
mov di, ax
lea ecx, [esp + 0x5c]
shl edi, 4
call dword [edx + 4]
mov esi, eax
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x44]
call dword [eax + 4]
mov edx, dword [esp + 0x44]
mov bx, ax
lea ecx, [esp + 0x44]
add ebx, esi
call dword [edx + 4]
mov ecx, dword [esp + 0xa4]
mov dx, word [ebp + 8]
shr ax, 5
mov si, word [ecx + 0xa]
add dx, di
add si, ax
mov eax, dword [esp + 0x2c]
xor esi, edx
lea ecx, [esp + 0x2c]
xor esi, ebx
call dword [eax + 4]
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x28]
add eax, esi
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x2c], eax
call dword [edx + 8]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
call dword [eax + 4]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0xa4]
mov si, ax
lea ecx, [esp + 0x5c]
shl esi, 4
call dword [edx + 4]
mov ebp, eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
call dword [eax + 4]
mov di, ax
push 5
add edi, ebp
mov ebp, dword [esp + 0xa8]
lea ecx, [esp + 0x30]
call fcn.10032910
mov cx, word [ebx + 0xc]
add ax, word [ebp + 0xe]
add cx, si
xor eax, ecx
lea ecx, [esp + 0x44]
xor eax, edi
push eax
call fcn.10032950
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x74]
call dword [edx + 4]
mov edx, dword [esp + 0x74]
mov esi, eax
lea ecx, [esp + 0x10]
lea eax, [esi - 1]
push ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x14], eax
call dword [edx + 8]
test si, si
ja 0x1003202e
mov ebx, dword [esp + 0x9c]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
call dword [eax + 4]
mov ecx, dword [ebx + 4]
mov word [ecx], ax
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x44]
call dword [edx + 4]
mov ecx, dword [ebx + 4]
mov word [ecx + 2], ax
lea ecx, [esp + 0x7c]
call fcn.1002ecc0
lea ecx, [esp + 0x64]
call fcn.1002ecc0
lea ecx, [esp + 0x4c]
call fcn.1002ecc0
lea ecx, [esp + 0x34]
call fcn.1002ecc0
lea ecx, [esp + 0xa0]
call fcn.1002ecc0
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x88
ret 0x14