Function at 0x40cf90
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4639a7
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x47e820]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47e820]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
push str.c:ipepmemfile_pwfcreate_08_09_17_file_
lea ecx, [esp + 0x1c]
call fcn.00409900
push 0x40
lea eax, [esp + 0x30]
push 0
push eax
mov dword [esp + 0xc4], 0
call fcn.0044c710
mov eax, dword [0x482d8c]
mov ecx, dword [eax - 0xc]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.00449b53
lea eax, [esp + 0x38]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d013
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.0040a560
push 0x46e918
lea esi, [esp + 0x1c]
call fcn.004099e0
call fcn.0042fdf3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d05a
push 0x80004005
call fcn.0040aa40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0xbc], 1
call fcn.00409f00
push str.reader.swf
lea esi, [esp + 0x24]
call fcn.004099e0
call fcn.0042fdf3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d0a8
push 0x80004005
call fcn.0040aa40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0xbc], 2
call fcn.00409f00
push str.view.html
lea esi, [esp + 0x20]
call fcn.004099e0
call fcn.0042fdf3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d0f6
push 0x80004005
call fcn.0040aa40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0xbc], 3
call fcn.00409f00
push str.login.html
lea esi, [esp + 0x28]
call fcn.004099e0
call fcn.0042fdf3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d144
push 0x80004005
call fcn.0040aa40
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xbc], 4
call fcn.00409f00
push str.login_dooland.swf
lea esi, [esp + 0x2c]
call fcn.004099e0
call fcn.00417b70
mov esi, dword [esp + 0x28]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x18], esp
mov edi, esp
push esi
call fcn.0040a2e0
add esp, 4
add eax, 0x10
push 0x115
mov dword [edi], eax
call fcn.00404430
mov edi, dword [esp + 0x2c]
add esp, 4
add edi, 0xfffffff0
mov dword [esp + 0x18], esp
mov ebx, esp
push edi
call fcn.0040a2e0
add esp, 4
add eax, 0x10
push 0xbd
mov dword [ebx], eax
call fcn.00404430
mov ebp, dword [esp + 0x24]
add esp, 4
add ebp, 0xfffffff0
mov dword [esp + 0x18], esp
mov ebx, esp
push ebp
call fcn.0040a2e0
add esp, 4
add eax, 0x10
push 0xb1
mov dword [ebx], eax
call fcn.00404430
mov ebx, dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x18], esp
add ebx, 0xfffffff0
mov dword [esp + 0x18], esp
push ebx
call fcn.0040a2e0
mov edx, dword [esp + 0x1c]
add esp, 4
add eax, 0x10
push 0xc2
mov dword [edx], eax
call fcn.00404430
mov eax, dword [esp + 0x20]
add esp, 4
mov dword [esp + 0x18], esp
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
push eax
call fcn.0040a2e0
mov ecx, dword [esp + 0x1c]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
call fcn.00404520
add esp, 4
mov byte [esp + 0xb8], 3
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x40d26e
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0xb8], 2
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d28f
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [esp + 0xb8], 1
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40d2b1
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
mov byte [esp + 0xb8], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d2d2
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov dword [esp + 0xb8], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d2fd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00448c81
add esp, 0xa8
ret