Function at 0x49e320
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4dbde8
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 [0x51ae08]
mov al, 1
cmp al, byte [ecx + 2]
push esi
push edi
sbb edi, edi
and edi, dword [0x51ae0c]
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 0x49e380
movzx eax, word [esi]
cmp eax, 0x20
je 0x49e38d
cmp eax, 9
jne 0x49e392
add esi, 2
jmp 0x49e380
cmp word [esi], 0x2a
jne 0x49e452
lea esp, [esp]
push 0xa
push 0x50d3c4
add esi, 2
call fcn.004a4b10
add esp, 4
push eax
push esi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x49e3c9
add esi, 0x14
mov byte [esp + 0x13], bl
jmp 0x49e3ee
push 7
push 0x50dc04
call fcn.004a4b10
add esp, 4
push eax
push esi
call fcn.004ca3fb
add esp, 0xc
test eax, eax
jne 0x49e3ee
add esi, 0xe
mov byte [esp + 0x12], 1
cmp esi, ebx
je 0x49e44c
movzx eax, word [esi]
cmp ax, bx
je 0x49e44c
lea ebx, [ebx]
movzx edx, ax
mov ecx, 0x4ebd9c
mov eax, 0x20
lea ecx, [ecx]
cmp dx, ax
je 0x49e430
movzx eax, word [ecx + 2]
add ecx, 2
cmp ax, bx
jne 0x49e410
movzx eax, word [esi + 2]
add esi, 2
cmp ax, bx
jne 0x49e400
jmp 0x49e44c
movzx eax, word [esi]
cmp eax, 0x20
je 0x49e43d
cmp eax, 9
jne 0x49e442
add esi, 2
jmp 0x49e430
cmp word [esi], 0x2a
je 0x49e3a0
cmp byte [esp + 0x12], bl
jne 0x49e467
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x18]
push edx
call fcn.00498710
add esp, 4
test al, al
je 0x49e4c1
mov al, byte [ebp + 0x17]
cmp al, bl
jne 0x49e474
mov eax, dword [ebp + 0xc]
mov al, byte [eax + 0x17]
cmp al, 2
je 0x49e4c1
mov al, byte [edi + 0x17]
cmp al, bl
jne 0x49e485
mov ecx, dword [edi + 0xc]
mov al, byte [ecx + 0x17]
cmp al, 2
je 0x49e4c1
cmp byte [esp + 0x12], bl
je 0x49e4a8
mov ebx, dword [esp + 0x3c]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x20]
call fcn.0049e970
add esp, 4
xor ebx, ebx
jmp 0x49e4bd
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
call fcn.0049e8a0
add esp, 4
mov byte [esp + 0x11], al
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x49e4d6
cmp byte [esp + 0x13], bl
je 0x49e4d6
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp byte [esp + 0x11], bl
je 0x49e556
cmp edi, ebx
je 0x49e4ef
mov ecx, dword [esp + 0x14]
push 0x18
push ebx
push ecx
mov eax, edi
call fcn.00401590
cmp ebp, ebx
je 0x49e56c
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
push edx
mov eax, ebp
call fcn.0046c490
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
cmp byte [ebp + 0x17], bl
jne 0x49e51b
mov eax, dword [ebp + 0xc]
jmp 0x49e51d
mov eax, ebp
cmp byte [eax + 0x17], 2
jne 0x49e550
cmp dword [0x51c0a8], ebx
je 0x49e550
mov ecx, 0x51c09c
call fcn.004049a0
cmp eax, ebx
jne 0x49e570
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 0x49e570
cmp ebp, ebx
je 0x49e561
mov ecx, ebp
call fcn.0041acb0
cmp edi, ebx
je 0x49e56c
mov ecx, edi
call fcn.0041acb0
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.0042dc30
mov esi, eax
cmp edi, ebx
je 0x49e5a2
mov edx, dword [esp + 0x1c]
push edx
push ebx
push edi
call fcn.004d2f90
add esp, 0xc
push edi
call fcn.004ca991
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