Function at 0x4077c0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x441867
mov eax, dword fs:[0]
push eax
sub esp, 0x408
mov eax, dword [0x453f10]
xor eax, esp
mov dword [esp + 0x404], eax
push ebx
push esi
mov eax, dword [0x453f10]
xor eax, esp
push eax
lea eax, [esp + 0x414]
mov dword fs:[0], eax
mov ecx, edi
mov dword [esp + 0xc], edi
call fcn.0041c938
mov dword [esp + 0x41c], 0
mov eax, 1
lea ebx, [edi + 0x58]
mov dword [edi], vtable.CHelpWnd.0
mov dword [edi + 0x54], eax
mov dword [ebx + 4], 0
mov dword [ebx], vtable.CFont.0
lea esi, [edi + 0x60]
push 0x448e30
mov ecx, esi
mov byte [esp + 0x420], al
call fcn.00402700
push 0
push 0x448e34
push 0x63
mov ecx, ebx
mov byte [esp + 0x428], 2
call fcn.004225c4
push 0xd
push str.2Box_r_n
mov ecx, esi
call fcn.00402200
mov eax, 0x672c
mov word [esp + 0x10], ax
mov ecx, 0x8f6f
mov word [esp + 0x12], cx
mov edx, 0x4ef6
mov word [esp + 0x14], dx
mov eax, 0x5b8c
mov word [esp + 0x16], ax
mov ecx, 0x5168
mov word [esp + 0x18], cx
mov edx, 0x514d
mov word [esp + 0x1a], dx
mov eax, 0x8d39
mov word [esp + 0x1c], ax
mov ecx, 0x2c
mov word [esp + 0x1e], cx
mov edx, 0x4ec5
mov word [esp + 0x20], dx
mov eax, 0x4f9b
mov word [esp + 0x22], ax
mov ecx, 0x5b66
mov word [esp + 0x24], cx
mov edx, 0x4e60
mov word [esp + 0x26], dx
mov eax, 0x4ea4
mov word [esp + 0x28], ax
mov ecx, 0x6d41
mov word [esp + 0x2a], cx
mov edx, 0x2c
mov word [esp + 0x2c], dx
mov eax, 0xd
mov ecx, 0xa
mov word [esp + 0x2e], ax
mov word [esp + 0x30], cx
mov edx, 0x8bf7
mov word [esp + 0x32], dx
mov eax, 0x52ff
mov ecx, 0x7528
mov word [esp + 0x34], ax
mov word [esp + 0x36], cx
mov edx, 0x4e8e
mov eax, 0x4efb
mov ecx, 0x4f55
mov word [esp + 0x38], dx
mov edx, 0x5546
mov word [esp + 0x3a], ax
mov word [esp + 0x3c], cx
mov eax, 0x4e1a
mov ecx, 0x7528
mov word [esp + 0x3e], dx
mov word [esp + 0x40], ax
mov word [esp + 0x42], cx
mov edx, 0x9014
mov ecx, 0x5426
mov word [esp + 0x48], cx
mov word [esp + 0x44], dx
mov eax, 0x2c
mov word [esp + 0x46], ax
mov ecx, 0x679c
mov edx, 0x5219
mov eax, 0x540e
mov word [esp + 0x4e], cx
mov word [esp + 0x4a], dx
mov word [esp + 0x4c], ax
mov ecx, 0x21
mov edx, 0x81ea
mov eax, 0x8d1f
push 0x3b6
mov word [esp + 0x58], cx
mov word [esp + 0x54], dx
mov word [esp + 0x56], ax
lea ecx, [esp + 0x5e]
mov edx, 0xd
mov eax, 0xa
push 0
push ecx
mov word [esp + 0x62], dx
mov word [esp + 0x64], ax
call fcn.0042ce90
lea eax, [esp + 0x1c]
add esp, 0xc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4079f6
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call fcn.00402200
push 4
push str._r_n_r_n
mov ecx, esi
call fcn.00402200
push 0x1b
push 0x449268
mov ecx, esi
call fcn.00402200
push 7
push 0x4492a0
mov ecx, esi
call fcn.00402200
push 0x16
push 0x4492b0
mov ecx, esi
call fcn.00402200
push 0x16
push 0x4492e0
mov ecx, esi
call fcn.00402200
push 0x26
push 0x449310
mov ecx, esi
call fcn.00402200
push 0x16
push 0x449360
mov ecx, esi
call fcn.00402200
mov eax, edi
mov ecx, dword [esp + 0x414]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x404]
xor ecx, esp
call fcn.0042bb06
add esp, 0x414
ret