Function at 0x45df175a
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45fbdc7a
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x46039020]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push esi
mov eax, dword [0x46039020]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
xor ebx, ebx
push 0x58
lea eax, [esp + 0xb4]
push ebx
push eax
mov dword [esp + 0xb8], ebx
call fcn.45fb1390
add esp, 0xc
lea eax, [esp + 0x20]
push eax
call fcn.45e12359
mov dword [esp + 0x120], ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0xac]
push edx
push eax
call dword [ecx + 0x10]
test eax, eax
jl 0x45df1834
mov al, byte [0x4603ba3d]
test al, al
jne 0x45df17c8
lea eax, [esp + 0xac]
push eax
call dword [0x4603b2d8]
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x45df187c
mov al, byte [0x4603ba3d]
test al, al
jne 0x45df17e7
mov eax, dword [edi + 4]
push eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x10], eax
cmp eax, ebx
jne 0x45df18c0
push 0x30
push 0x45dd3cb8
call fcn.45f85b90
lea eax, [esp + 0x28]
push eax
push 0x39c
push 0x45dbba50
mov esi, 0x80004005
push esi
mov dword [esp + 0x38], ebx
call fcn.45f85675
mov eax, dword [esp + 0x38]
add esp, 0x10
mov dword [esp + 0x6c], eax
mov dword [esp + 0x64], 0x45dc096c
mov dword [esp + 0x68], esi
mov dword [esp + 0x70], ebx
push 0x45ff0f98
lea eax, [esp + 0x68]
push eax
call fcn.45fb1416
lea eax, [esp + 0x24]
push eax
push 0x39d
push 0x45dbba50
mov esi, 0x80004005
push esi
mov dword [esp + 0x34], ebx
call fcn.45f85675
mov eax, dword [esp + 0x34]
add esp, 0x10
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], 0x45dc096c
mov dword [esp + 0x58], esi
mov dword [esp + 0x60], ebx
push 0x45ff0f98
lea eax, [esp + 0x58]
jmp 0x45df1876
mov byte [esp + 0x120], 1
push dword [esp + 0x14]
lea eax, [esp + 0x10]
call fcn.45f84577
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
call esi
mov dword [esp + 0x30], eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x10]
call fcn.45f84577
push eax
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
test eax, eax
je 0x45df19c3
mov al, byte [0x4603ba3d]
test al, al
jne 0x45df18e2
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x84]
push dword [esp + 0x30]
add ecx, eax
lea eax, [esp + 0x10]
mov dword [0x4603ba20], ecx
call fcn.45f84577
push eax
call esi
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [edi + 0x15c], ebx
je 0x45df1a0a
mov al, byte [0x4603ba3d]
test al, al
jne 0x45df1935
mov eax, dword [edi + 0x15c]
mov esi, dword [eax + 0x23c]
add esi, dword [eax + 0x238]
push 3
call dword [sym.imp.USER32.dll_GetSystemMetrics]
lea eax, [eax + esi + 2]
mov dword [0x4603ba24], eax
mov eax, dword [0x4603ba20]
add eax, eax
mov dword [0x4603ba28], eax
mov byte [esp + 0x120], bl
push dword [esp + 0x10]
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_ReleaseDC]
or dword [esp + 0x120], 0xffffffff
lea eax, [esp + 0x20]
push eax
call fcn.45df1a56
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.45fa9e5d
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x1c]
push eax
push 0x3a2
push 0x45dbba50
mov esi, 0x80004005
push esi
mov dword [esp + 0x2c], ebx
call fcn.45f85675
mov eax, dword [esp + 0x2c]
add esp, 0x10
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], 0x45dc096c
mov dword [esp + 0x38], esi
mov dword [esp + 0x40], ebx
push 0x45ff0f98
lea eax, [esp + 0x38]
jmp 0x45df1876
lea eax, [esp + 0x18]
push eax
push 0x3aa
push 0x45dbba50
mov esi, 0x80004005
push esi
mov dword [esp + 0x28], ebx
call fcn.45f85675
mov eax, dword [esp + 0x28]
add esp, 0x10
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], 0x45dc096c
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], ebx
push 0x45ff0f98
lea eax, [esp + 0x48]
jmp 0x45df1876