Function at 0x47f010
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b9528
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x28]
push eax
push ecx
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CWnd::FromHandle
push eax
mov ecx, edi
call fcn.0047f400
mov ebx, eax
mov ecx, edi
push ebx
call fcn.0047f930
test eax, eax
jne 0x47f147
mov edx, dword [esp + 0x20]
sub esp, 0x48
mov esi, esp
mov dword [esp + 0x54], esp
mov dword [esi], edx
mov eax, dword [esp + 0x6c]
mov dword [esi + 4], eax
mov edx, dword [esp + 0x70]
lea ecx, [esi + 8]
mov dword [esi + 8], edx
mov eax, dword [esp + 0x74]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x78]
mov dword [ecx + 8], edx
mov eax, dword [esp + 0x7c]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x80]
mov dword [esi + 0x18], ecx
mov edx, dword [esp + 0x84]
lea eax, [esp + 0x88]
lea ecx, [esi + 0x20]
push eax
mov dword [esi + 0x1c], edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x8c]
mov dword [esi + 0x24], ecx
mov edx, dword [esp + 0x90]
mov dword [esi + 0x28], edx
mov eax, dword [esp + 0x94]
mov dword [esi + 0x2c], eax
mov ecx, dword [esp + 0x98]
mov dword [esi + 0x30], ecx
mov edx, dword [esp + 0x9c]
mov dword [esi + 0x34], edx
mov eax, dword [esp + 0xa0]
mov dword [esi + 0x38], eax
mov ecx, dword [esp + 0xa4]
mov dword [esi + 0x3c], ecx
mov edx, dword [esp + 0xa8]
mov dword [esi + 0x40], edx
mov eax, dword [esp + 0xac]
lea ecx, [edi + 0x40]
mov dword [esi + 0x44], eax
call fcn.0047ff00
xor ecx, ecx
mov dword [esp + 0x18], 0xffffffff
test eax, eax
setge cl
mov esi, ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::CString
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x48
mov edx, dword [esp + 0x20]
sub esp, 0x48
mov esi, esp
mov dword [esp + 0x54], esp
mov dword [esi], edx
mov eax, dword [esp + 0x6c]
mov dword [esi + 4], eax
mov edx, dword [esp + 0x70]
lea ecx, [esi + 8]
mov dword [esi + 8], edx
mov eax, dword [esp + 0x74]
mov dword [ecx + 4], eax
mov edx, dword [esp + 0x78]
mov dword [ecx + 8], edx
mov eax, dword [esp + 0x7c]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0x80]
mov dword [esi + 0x18], ecx
mov edx, dword [esp + 0x84]
lea eax, [esp + 0x88]
lea ecx, [esi + 0x20]
push eax
mov dword [esi + 0x1c], edx
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [esp + 0x8c]
push ebx
mov dword [esi + 0x24], ecx
mov edx, dword [esp + 0x94]
mov dword [esi + 0x28], edx
mov eax, dword [esp + 0x98]
mov dword [esi + 0x2c], eax
mov ecx, dword [esp + 0x9c]
mov dword [esi + 0x30], ecx
mov edx, dword [esp + 0xa0]
mov dword [esi + 0x34], edx
mov eax, dword [esp + 0xa4]
mov dword [esi + 0x38], eax
mov ecx, dword [esp + 0xa8]
mov dword [esi + 0x3c], ecx
mov edx, dword [esp + 0xac]
mov dword [esi + 0x40], edx
mov eax, dword [esp + 0xb0]
lea ecx, [edi + 0x40]
mov dword [esi + 0x44], eax
call fcn.0047fe20
lea ecx, [esp + 0x40]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 0x48