Function at 0x4802c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4eb680
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
lea eax, [esp + 0x30]
push edi
push eax
mov dword [esp + 0x18], ecx
call fcn.00443850
add esp, 4
push 0x4efd50
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
lea ecx, [esi + 2]
push ecx
call fcn.00449130
mov ecx, esi
mov edx, ecx
mov ebp, eax
shr ecx, 2
mov esi, 0x4efd50
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x14], ebp
lea eax, [esp + 0x38]
xor edi, edi
push eax
mov dword [esp + 0x34], edi
call fcn.00443850
mov ecx, dword [esp + 0x3c]
push 1
push ecx
push 0x4f05c4
call fcn.00444970
mov bl, al
add esp, 0x14
test bl, bl
je 0x48035e
add dword [esp + 0x34], 2
lea edx, [esp + 0x34]
push edx
call fcn.00443850
add esp, 4
mov eax, dword [esp + 0x34]
cmp word [eax], di
jne 0x480386
cmp ebp, edi
je 0x480506
mov ecx, dword [0x51d3c8]
add ebp, 0xfffffff8
push ebp
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x480506
push 0x3d
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.0044c770
add esp, 0xc
push edi
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.004166b6
mov ebp, dword [esp + 0x10]
cmp word [ebp], di
jne 0x4803ca
mov edx, dword [0x51d3c8]
add ebp, 0xfffffff8
push ebp
push edi
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x480506
mov eax, dword [esp + 0x34]
cmp word [eax], 0x3d
je 0x4803ff
mov eax, dword [0x51d3c8]
add ebp, 0xfffffff8
push ebp
push edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
mov eax, 0x80070057
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
mov word [eax], di
mov eax, dword [esp + 0x34]
add eax, 2
mov dword [esp + 0x34], eax
mov esi, eax
mov edx, 0x2c
lea eax, [esp + 0x34]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], esi
call fcn.00448ed0
mov eax, dword [esp + 0x34]
cmp word [eax], dx
je 0x480451
lea ecx, [esp + 0x10]
call fcn.00443880
pop edi
pop esi
pop ebp
mov eax, 0x80070057
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
mov word [eax], di
add dword [esp + 0x34], 2
mov dword [esp + 0x18], edi
test bl, bl
mov byte [esp + 0x2c], 1
je 0x480485
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x38]
push edx
push eax
call fcn.00463920
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x34], ecx
push esi
call fcn.00451d80
add esp, 4
test eax, eax
je 0x4804af
mov edx, dword [esp + 0x34]
push edx
call fcn.00451cc0
add esp, 4
test eax, eax
je 0x4804af
mov eax, dword [esp + 0x34]
mov dword [esp + 0x34], esi
mov dword [esp + 0x1c], eax
push 0x2c
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.0044cb50
mov edx, dword [esp + 0x40]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x20]
cmp ecx, 1
jl 0x4804db
cmp ecx, eax
jle 0x4804dd
mov ecx, eax
mov eax, dword [esp + 0x34]
mov word [eax + ecx*2], di
mov ecx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x18]
push ebp
call fcn.00448be0
lea ecx, [esp + 0x18]
call fcn.00443880
lea ecx, [esp + 0x10]
call fcn.00443880
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8