Function at 0x47d8d0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4e7250
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.0043f2e0
add esp, 4
push 0x4ebd38
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax + 2]
lea ecx, [esi + 2]
push ecx
call fcn.00445f00
mov ecx, esi
mov edx, ecx
mov ebp, eax
shr ecx, 2
mov esi, 0x4ebd38
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.0043f2e0
mov ecx, dword [esp + 0x3c]
push 1
push ecx
push 0x4ec53c
call fcn.004403f0
mov bl, al
add esp, 0x14
test bl, bl
je 0x47d96e
add dword [esp + 0x34], 2
lea edx, [esp + 0x34]
push edx
call fcn.0043f2e0
add esp, 4
mov eax, dword [esp + 0x34]
cmp word [eax], di
jne 0x47d996
cmp ebp, edi
je 0x47db16
mov ecx, dword [0x51927c]
add ebp, 0xfffffff8
push ebp
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x47db16
push 0x3d
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.00449370
add esp, 0xc
push edi
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.004152c8
mov ebp, dword [esp + 0x10]
cmp word [ebp], di
jne 0x47d9da
mov edx, dword [0x51927c]
add ebp, 0xfffffff8
push ebp
push edi
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x47db16
mov eax, dword [esp + 0x34]
cmp word [eax], 0x3d
je 0x47da0f
mov eax, dword [0x51927c]
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.00445b70
mov eax, dword [esp + 0x34]
cmp word [eax], dx
je 0x47da61
lea ecx, [esp + 0x10]
call fcn.0043f290
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 0x47da95
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x38]
push edx
push eax
call fcn.00461600
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x34], ecx
push esi
call fcn.00450d90
add esp, 4
test eax, eax
je 0x47dabf
mov edx, dword [esp + 0x34]
push edx
call fcn.00450cd0
add esp, 4
test eax, eax
je 0x47dabf
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.00449750
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 0x47daeb
cmp ecx, eax
jle 0x47daed
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.00444550
lea ecx, [esp + 0x18]
call fcn.0043f290
lea ecx, [esp + 0x10]
call fcn.0043f290
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