Function at 0x42cc20
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56eedb
mov eax, dword fs:[0]
push eax
mov eax, 0x1440
call fcn.004fa110
mov eax, dword [0x5cc6c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0042cb10
sub esp, 0x18
lea ecx, [edi + 0x31c]
mov edx, esp
mov esi, eax
push ecx
mov ecx, edx
call fcn.0042b090
lea eax, [ebp - 0x1438]
mov ecx, esi
push eax
call fcn.0043e470
push 0x800
lea eax, [ebp - 0xc20]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0053f0a0
push 0x800
lea eax, [ebp - 0x1420]
push 0
push eax
call fcn.0053f0a0
cmp dword [ebp - 0x1424], 8
lea eax, [ebp - 0x1438]
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
cmovae eax, dword [ebp - 0x1438]
push eax
lea eax, [ebp - 0xc20]
push 0x581e64
push eax
call ebx
cmp dword [ebp - 0x1424], 8
lea eax, [ebp - 0x1438]
cmovae eax, dword [ebp - 0x1438]
push eax
lea eax, [ebp - 0x1420]
push 0x581e90
push eax
call ebx
add esp, 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
lea ecx, [edi + 0x30]
push 0
mov dword [ebp - 0x144c], ebx
call fcn.00484980
lea ecx, [ebp - 0xc20]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42cd20
mov esi, dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
lea eax, [ebp - 0x1448]
push eax
sub ecx, edx
lea eax, [ebp - 0xc20]
sar ecx, 1
push ecx
push eax
push ebx
call esi
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0053f0a0
push 0x12
lea eax, [ebp - 0x218]
push 0x580fe4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0053f0a0
push 0x104
lea eax, [ebp - 0x420]
push 0x580fe4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x30
lea ecx, [edi + 0x30]
push 0
call fcn.00484980
lea ecx, [ebp - 0xc20]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42cdb0
sub ecx, edx
lea eax, [ebp - 0x1440]
push eax
sar ecx, 1
lea eax, [ebp - 0xc20]
push ecx
push eax
push ebx
call esi
cmp dword [ebp - 0x1440], 0x104
push 0
jle 0x42ced9
cmp dword [ebp - 0x1424], 8
lea esi, [ebp - 0x1438]
lea ecx, [edi + 0x30]
cmovae esi, dword [ebp - 0x1438]
call fcn.00484980
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ce04
sub ecx, edx
lea eax, [ebp - 0x1440]
push eax
sar ecx, 1
push ecx
push esi
mov esi, dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push ebx
call esi
cmp dword [ebp - 0x1440], 0x104
mov ecx, edi
jle 0x42ceb0
push 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
sub esp, 8
mov eax, esp
mov dword [eax], 0x581ebc
mov dword [eax + 4], 4
call fcn.0042c770
cmp dword [ebp - 0x1424], 8
lea ecx, [ebp - 0x218]
push 1
push ecx
lea ecx, [ebp - 0x420]
push ecx
push dword [ebp - 0x1428]
lea eax, [ebp - 0x1438]
mov ecx, edi
cmovae eax, dword [ebp - 0x1438]
push eax
call fcn.0042c770
push 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
sub esp, 8
mov eax, esp
mov dword [eax], 0x581ec8
mov dword [eax + 4], 0xc
jmp 0x42cf16
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x144c]
push eax
lea eax, [ebp - 0xc20]
push eax
call fcn.0042c8a0
mov ebx, dword [ebp - 0x144c]
jmp 0x42cf1d
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0xc20]
sub esp, 8
mov ecx, esp
mov edx, eax
mov dword [ecx], eax
lea eax, [edx + 2]
mov dword [ebp - 0x144c], eax
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42cf00
sub edx, dword [ebp - 0x144c]
sar edx, 1
mov dword [ecx + 4], edx
mov ecx, edi
call fcn.0042c770
push 0
lea ecx, [edi + 0x30]
call fcn.00484980
lea ecx, [ebp - 0x1420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42cf30
sub ecx, edx
lea eax, [ebp - 0x1440]
push eax
sar ecx, 1
lea eax, [ebp - 0x1420]
push ecx
push eax
push ebx
call esi
push 0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
sub esp, 8
cmp dword [ebp - 0x1440], 0x104
jle 0x42cfd3
mov eax, esp
mov ecx, edi
mov dword [eax], str._fT
mov dword [eax + 4], 0xf
call fcn.0042c770
push 2
push 0x581f04
lea ecx, [ebp - 0x1438]
call fcn.0041fd60
cmp dword [ebp - 0x1424], 8
lea eax, [ebp - 0x218]
push 1
push eax
lea eax, [ebp - 0x420]
lea ecx, [ebp - 0x1438]
cmovae ecx, dword [ebp - 0x1438]
push eax
sub esp, 8
mov edx, esp
lea esi, [ecx + 2]
mov dword [edx], ecx
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42cfc6
jmp 0x42cfed
lea eax, [ebp - 0x1420]
mov edx, esp
mov ecx, eax
mov dword [edx], eax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42cfe2
sub ecx, esi
sar ecx, 1
mov dword [edx + 4], ecx
mov ecx, edi
call fcn.0042c770
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [ebp - 0x1424]
cmp edx, 8
jb 0x42d041
mov ecx, dword [ebp - 0x1438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42d037
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42d05d
push edx
push ecx
call fcn.004f9e2c
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fa0d4
mov esp, ebp
pop ebp
ret
call fcn.00542930
int3