Function at 0x496e40
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4e806b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x10], ebp
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x54]
mov eax, dword [eax]
push edx
mov edx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push edx
mov ecx, dword [esp + 0x4c]
mov ecx, dword [ecx]
push 0x4ebd38
push eax
mov eax, dword [esp + 0x4c]
push ecx
push eax
push 0xd
mov ecx, ebp
call fcn.0043b140
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x50]
mov dword [ebp], 0x4f50b8
mov dword [ebp + 0x48], ecx
mov esi, dword [ebx]
push esi
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
push edi
call fcn.00445f00
mov ecx, edi
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add esp, 4
mov dword [ebp + 0x4c], eax
mov eax, dword [esp + 0x58]
xor edx, edx
mov dword [ebp + 0x50], edx
mov dword [ebp + 0x54], edx
mov dword [ebp + 0x58], 0xfffff000
mov ecx, dword [eax]
mov dword [ebp + 0x40], ecx
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x60]
mov dword [ebp + 0x44], eax
mov edi, dword [ebx]
mov eax, ecx
and eax, 0x100
xor esi, esi
test ecx, 0x40000000
mov byte [esp + 0x2c], 1
je 0x496f1b
mov esi, 1
test ecx, 0x20000000
je 0x496f26
or esi, 2
cmp dword [esp + 0x5c], 0xfffffff0
je 0x496f33
or esi, 0x10000000
cmp eax, edx
je 0x496f3d
or esi, 0x10000
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 5
jl 0x49706b
lea ecx, [edi + eax*2 - 8]
push ecx
push str..swf
call fcn.00440490
add esp, 8
test al, al
je 0x49706b
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x2c]
mov ebx, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x28]
add eax, edx
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x34], eax
mov eax, dword [0x519280]
add ecx, ebx
cmp eax, 1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ecx
je 0x497079
test eax, eax
jne 0x496fc0
mov dword [0x519280], 1
call fcn.00457650
test eax, eax
je 0x497079
mov dword [0x519280], eax
push 0x54
call fcn.004c86a5
add esp, 4
test eax, eax
je 0x496fdd
lea ecx, [ebp + 0x34]
push ecx
mov ecx, eax
call fcn.004577c0
mov ebx, eax
jmp 0x496fdf
xor ebx, ebx
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push 0
push 0
push edx
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x58], 0x12345004
mov ecx, dword [eax + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
or esi, 0x40000000
push esi
push 0x4ebd38
mov ecx, ebx
call fcn.00457920
mov dword [esp + 0x5c], 0
cmp word [edi + 2], 0x3a
mov byte [esp + 0x2c], 2
je 0x497046
push 0x4f7464
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
jne 0x497046
lea eax, [esp + 0x5c]
push eax
push edi
call fcn.00420bd9
add esp, 8
mov edi, eax
push edi
mov ecx, ebx
call fcn.00446ab0
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x497079
mov ecx, dword [0x51927c]
add eax, 0xfffffff8
push eax
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x497079
mov edx, dword [esp + 0x38]
push edx
push esi
push edi
mov ecx, ebp
call fcn.00485300
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x30