Function at 0x4032e0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x493878
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c3aa8]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebp, ecx
call fcn.004382e6
mov eax, dword [ebp + 0x74]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov eax, dword [ebp + 0x20]
push 1
push 0x80
push eax
call esi
mov eax, dword [ebp + 0x74]
mov ecx, dword [ebp + 0x20]
push eax
push 0
push 0x80
push ecx
call esi
or eax, 0xffffffff
push 0x535
lea esi, [ebp + 0x2e4]
push esi
mov dword [ebp + 0x8dc], eax
mov dword [ebp + 0x8e0], eax
call fcn.00420960
call fcn.00420870
push 0xf8faf4
lea edi, [ebp + 0x3bc]
push 0x537
mov esi, edi
call fcn.004241f0
push 0xf8faf4
lea esi, [ebp + 0x64c]
push 0x536
call fcn.004241f0
mov eax, dword [ebp + 0x304]
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x2c]
push edx
push eax
call ebx
mov edx, dword [ebp + 0x66c]
lea ecx, [esp + 0x1c]
push ecx
push edx
call ebx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
mov edx, ecx
sub edx, eax
lea ebx, [edx + ebx - 0xa]
mov edx, dword [esp + 0x30]
add edx, 2
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x20]
push 1
push edx
sub eax, ecx
push eax
mov eax, dword [esp + 0x24]
push eax
push ebx
mov ecx, esi
call fcn.0043c55d
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push 1
push ecx
mov ecx, dword [esp + 0x2c]
mov edx, ecx
sub edx, eax
push edx
mov edx, dword [esp + 0x24]
sub eax, ecx
push edx
lea eax, [eax + ebx - 8]
push eax
mov ecx, edi
call fcn.0043c55d
mov eax, dword [0x4cd0d0]
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x403420
sub eax, ecx
cmp eax, 1
jbe 0x403439
push 6
mov ecx, ebp
call fcn.0043c59d
jmp 0x403497
mov edx, dword [ebp + 0x20]
lea ecx, [esp + 0x4c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp + 0x20]
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push 1
push 0x20e
push 0x2b9
push edx
push eax
mov ecx, ebp
call fcn.0043c55d
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push 1
push 0x204
push 0x2b9
add ecx, 0x1d
push ecx
push edx
mov ecx, 0x4cd138
call fcn.0043c55d
call fcn.00403050
push ebp
call fcn.00403180
call fcn.00435396
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4034bc
push 0x80004005
call fcn.00402c90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
mov dword [esp + 0x6c], 0
call fcn.004406d1
call fcn.00442d39
call fcn.00442d39
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov edx, dword [esp + 0x14]
mov ebx, dword [ebp + 0x20]
push eax
mov eax, dword [0x4cd0cc]
lea esi, [ebp + 0x78]
push edx
call fcn.00418500
mov eax, dword [ebp + 0x20]
mov dword [ebp + 0x284], eax
mov eax, esi
call fcn.00418820
mov edi, dword [ebp + 0x20]
call fcn.00418e20
mov eax, dword [esp + 0x14]
push eax
mov eax, esi
call fcn.004187b0
mov eax, dword [0x4cd0d0]
lea edx, [eax + 1]
jmp 0x403540
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403540
sub eax, edx
cmp eax, 1
jbe 0x403562
mov edi, dword [ebp + 0x20]
call fcn.00418da0
mov dword [ebp + 0x2e0], 1
jmp 0x403573
mov eax, ebp
call fcn.004036c0
mov dword [ebp + 0x2e0], 0
mov ecx, dword [ebp + 0x20]
push 0
push 0xbb8
push 0x1332a15
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0
push 0
push 0
push 0
push 0x403150
call fcn.0043a643
mov dword [esp + 0x68], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4035c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret