Function at 0x41fd50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4afe7c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe8
push esi
mov esi, ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x14]
mov dword [esp + 0xf4], 0
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf4], 1
call fcn.00495c80
lea ecx, [esp + 0x38]
mov byte [esp + 0xf4], 2
call fcn.00495c80
lea ecx, [esp + 0x54]
mov byte [esp + 0xf4], 3
call fcn.0041ead0
lea ecx, [esp + 0xbc]
mov byte [esp + 0xf4], 4
call fcn.00453470
mov eax, dword [esi + 0x30]
mov dword [esp + 0xf4], 5
test eax, eax
mov dword [esp + 0xc], 8
je 0x41fece
mov eax, dword [esi + 0x2c]
lea ecx, [esi + 0x28]
lea edx, [esp + 0xc]
push edx
push eax
lea eax, [esp + 0xc]
push eax
call fcn.004237d0
lea ecx, [esp + 0xbc]
mov dword [esp + 0xf4], 0xa
call fcn.004534f0
lea ecx, [esp + 0x54]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x84]
mov byte [esp + 0xf4], 0xd
call fcn.004534f0
lea ecx, [esp + 0x5c]
mov byte [esp + 0xf4], 0xc
call fcn.004966f0
lea ecx, [esp + 0x58]
mov byte [esp + 0xf4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov byte [esp + 0xf4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0xf4], 8
call fcn.004966f0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf4], 7
call fcn.004966f0
lea ecx, [esp + 0x14]
mov byte [esp + 0xf4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0xf4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
pop esi
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
add esp, 0xf4
ret
mov ecx, dword [esi + 0x24]
call fcn.0042b660
cmp eax, 0x20
jne 0x41ff69
lea ecx, [esp + 0xbc]
mov dword [esp + 0xf4], 0x12
call fcn.004534f0
lea ecx, [esp + 0x54]
mov byte [esp + 0xf4], 0x11
call fcn.0041cfb0
lea ecx, [esp + 0x38]
mov byte [esp + 0xf4], 0x10
call fcn.004966f0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf4], 0xf
call fcn.004966f0
lea ecx, [esp + 0x14]
mov byte [esp + 0xf4], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0xf4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
pop esi
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
add esp, 0xf4
ret
mov ecx, dword [esi + 0x24]
call fcn.0042c670
cmp eax, 2
jne 0x42001a
mov eax, dword [esi + 0x2c]
lea ecx, [esi + 0x28]
lea edx, [esp + 0xc]
push edx
push eax
lea eax, [esp + 0x10]
push eax
call fcn.004237d0
lea ecx, [esp + 0xbc]
mov dword [esp + 0xf4], 0x17
call fcn.004534f0
lea ecx, [esp + 0x54]
mov byte [esp + 0xf4], 0x16
call fcn.0041cfb0
lea ecx, [esp + 0x38]
mov byte [esp + 0xf4], 0x15
call fcn.004966f0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf4], 0x14
call fcn.004966f0
lea ecx, [esp + 0x14]
mov byte [esp + 0xf4], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0xf4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
pop esi
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
add esp, 0xf4
ret
cmp eax, 0x20
jne 0x4200ad
lea ecx, [esp + 0xbc]
mov dword [esp + 0xf4], 0x1c
call fcn.004534f0
lea ecx, [esp + 0x54]
mov byte [esp + 0xf4], 0x1b
call fcn.0041cfb0
lea ecx, [esp + 0x38]
mov byte [esp + 0xf4], 0x1a
call fcn.004966f0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf4], 0x19
call fcn.004966f0
lea ecx, [esp + 0x14]
mov byte [esp + 0xf4], 0x18
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0xf4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
pop esi
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
add esp, 0xf4
ret
lea ecx, [esp + 0xbc]
mov dword [esp + 0xf4], 0x21
call fcn.004534f0
lea ecx, [esp + 0x54]
mov byte [esp + 0xf4], 0x20
call fcn.0041cfb0
lea ecx, [esp + 0x38]
mov byte [esp + 0xf4], 0x1f
call fcn.004966f0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf4], 0x1e
call fcn.004966f0
lea ecx, [esp + 0x14]
mov byte [esp + 0xf4], 0x1d
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0xf4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xec]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0xf4
ret