Function at 0x4958c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4cc528
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov ecx, dword [esp + 0x28]
push ebx
push ebp
mov ebp, dword [0x4f0b10]
mov al, 1
cmp al, byte [ecx + 2]
push esi
push edi
sbb edi, edi
and edi, dword [0x4f0b14]
xor ebx, ebx
mov byte [esp + 0x11], bl
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov byte [esp + 0x13], al
mov byte [esp + 0x12], bl
mov esi, edx
jmp 0x495920
mov al, byte [esi]
cmp al, 0x20
je 0x49592a
cmp al, 9
jne 0x49592d
inc esi
jmp 0x495920
cmp byte [esi], 0x2a
jne 0x4959d2
jmp 0x495940
push 0x4e41b4
inc esi
call fcn.0049be50
add esp, 4
push 0xa
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x495967
add esi, 0xa
mov byte [esp + 0x13], bl
jmp 0x49598c
push 0x4e460c
call fcn.0049be50
add esp, 4
push 7
push eax
push esi
call fcn.004babb4
add esp, 0xc
test eax, eax
jne 0x49598c
add esi, 7
mov byte [esp + 0x12], 1
cmp esi, ebx
je 0x4959cc
mov dl, byte [esi]
cmp dl, bl
je 0x4959cc
mov ecx, 0x4d9558
mov al, 0x20
lea ecx, [ecx]
cmp dl, al
je 0x4959b6
mov al, byte [ecx + 1]
inc ecx
cmp al, bl
jne 0x4959a0
mov dl, byte [esi + 1]
inc esi
cmp dl, bl
jne 0x495996
jmp 0x4959cc
mov al, byte [esi]
cmp al, 0x20
je 0x4959c0
cmp al, 9
jne 0x4959c3
inc esi
jmp 0x4959b6
cmp byte [esi], 0x2a
je 0x495940
cmp byte [esp + 0x12], bl
jne 0x4959e7
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x18]
push edx
call fcn.0048fd70
add esp, 4
test al, al
je 0x495a41
mov al, byte [ebp + 0x17]
cmp al, bl
jne 0x4959f4
mov eax, dword [ebp + 0xc]
mov al, byte [eax + 0x17]
cmp al, 2
je 0x495a41
mov al, byte [edi + 0x17]
cmp al, bl
jne 0x495a05
mov ecx, dword [edi + 0xc]
mov al, byte [ecx + 0x17]
cmp al, 2
je 0x495a41
cmp byte [esp + 0x12], bl
je 0x495a28
mov ebx, dword [esp + 0x3c]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
call fcn.00495ef0
add esp, 4
xor ebx, ebx
jmp 0x495a3d
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
call fcn.00495e20
add esp, 4
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x495a56
cmp byte [esp + 0x13], bl
je 0x495a56
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp byte [esp + 0x11], bl
je 0x495ad8
cmp edi, ebx
je 0x495a6f
mov ecx, dword [esp + 0x14]
push 0x18
push ebx
push ecx
mov eax, edi
call fcn.00401570
cmp ebp, ebx
je 0x495aee
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
push edx
mov eax, ebp
call fcn.004a6340
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
cmp byte [ebp + 0x17], bl
jne 0x495a9b
mov eax, dword [ebp + 0xc]
jmp 0x495a9d
mov eax, ebp
cmp byte [eax + 0x17], 2
jne 0x495ad2
cmp dword [0x4f2354], ebx
je 0x495ad2
push 1
mov ecx, 0x4f2348
call fcn.004049f0
cmp eax, ebx
jne 0x495af2
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 8
and byte [eax + 0x15], 0x86
jmp 0x495af2
cmp ebp, ebx
je 0x495ae3
mov ecx, ebp
call fcn.0041a480
cmp edi, ebx
je 0x495aee
mov ecx, edi
call fcn.0041a480
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
xor eax, eax
cmp byte [esp + 0x11], bl
sete al
push eax
push ecx
call fcn.0042d1e0
mov esi, eax
cmp edi, ebx
je 0x495b24
mov edx, dword [esp + 0x1c]
push edx
push ebx
push edi
call fcn.004c16a0
add esp, 0xc
push edi
call fcn.004ba14c
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 8