Function at 0x47eff4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
test dl, dl
je 0x47f011
add esp, 0xfffffff0
call fcn.004044f8
mov ebx, ecx
mov byte [ebp - 0xd], dl
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x47f223
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 8], edx
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x44], 0
xor edx, edx
push ebp
push 0x47f1fe
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, 0x47f258
call fcn.0043747c
mov esi, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], esi
mov eax, esi
xor edx, edx
call fcn.00439c28
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov edx, 0x47f270
call fcn.0043a9a4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
call fcn.00438600
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x450], edx
mov dword [eax + 0x44c], 0x47f4cc
call fcn.00438600
push 0x47f284
call sub.user32.dll_RegisterWindowMessageA
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x10], eax
push 0x47f294
call sub.user32.dll_RegisterWindowMessageA
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x14], eax
push 0x47f2a8
call sub.user32.dll_RegisterWindowMessageA
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x18], eax
push 0x47f2b8
call sub.user32.dll_RegisterWindowMessageA
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x1c], eax
push 0x47f2c4
call sub.user32.dll_RegisterWindowMessageA
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x20], eax
push 0x47f2dc
call sub.user32.dll_RegisterWindowMessageA
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x24], eax
push 0x47f2e8
call sub.user32.dll_RegisterWindowMessageA
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x28], eax
push 0x47f2f4
call sub.user32.dll_RegisterWindowMessageA
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x2c], eax
push 0x47f304
call sub.user32.dll_RegisterWindowMessageA
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x30], eax
push 0x47f318
call sub.user32.dll_RegisterWindowMessageA
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x34], eax
push 0x47f334
call sub.user32.dll_RegisterWindowMessageA
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x38], eax
push 0x47f344
call sub.user32.dll_RegisterWindowMessageA
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x3c], eax
push 0x47f358
call sub.user32.dll_RegisterWindowMessageA
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x40], eax
push 0x47f368
mov eax, dword [0x4937f8]
push eax
call sub.user32.dll_LoadIconA
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xc], eax
cmp byte [ebp + 8], 0
je 0x47f1b4
lea edx, [ebp - 8]
lea eax, [ebp - 4]
call fcn.0047756c
cmp dword [ebp - 4], 0
je 0x47f1b4
cmp dword [ebp - 8], 0
je 0x47f1b4
push 1
push 0x47f374
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x407]
push eax
call sub.user32.dll_SetPropA
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x10]
push eax
push 0x47f384
push 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
call fcn.00438600
mov ecx, eax
mov dl, 1
mov eax, dword [0x451dfc]
call fcn.00451e68
mov edx, dword [ebp - 0xc]
mov dword [edx + 8], eax
test bl, bl
je 0x47f1f4
mov eax, dword [ebp - 0xc]
call fcn.0047ff74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47f208
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f22a
lea eax, [ebp - 8]
mov edx, 2
call fcn.004050f4
ret