Function at 0x41f860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4af6bc
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.004958d0
lea ecx, [esp + 0x38]
mov byte [esp + 0xf4], 2
call fcn.004958d0
lea ecx, [esp + 0x54]
mov byte [esp + 0xf4], 3
call fcn.0041dff0
lea ecx, [esp + 0xbc]
mov byte [esp + 0xf4], 4
call fcn.00452d80
mov eax, dword [esi + 0x30]
mov dword [esp + 0xf4], 5
test eax, eax
mov dword [esp + 0xc], 8
je 0x41f9de
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.004232e0
lea ecx, [esp + 0xbc]
mov dword [esp + 0xf4], 0xa
call fcn.00452e00
lea ecx, [esp + 0x54]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x84]
mov byte [esp + 0xf4], 0xd
call fcn.00452e00
lea ecx, [esp + 0x5c]
mov byte [esp + 0xf4], 0xc
call fcn.00496360
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.00496360
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf4], 7
call fcn.00496360
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.0042af60
cmp eax, 0x20
jne 0x41fa79
lea ecx, [esp + 0xbc]
mov dword [esp + 0xf4], 0x12
call fcn.00452e00
lea ecx, [esp + 0x54]
mov byte [esp + 0xf4], 0x11
call fcn.0041cb50
lea ecx, [esp + 0x38]
mov byte [esp + 0xf4], 0x10
call fcn.00496360
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf4], 0xf
call fcn.00496360
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.0042bf70
cmp eax, 2
jne 0x41fb2a
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.004232e0
lea ecx, [esp + 0xbc]
mov dword [esp + 0xf4], 0x17
call fcn.00452e00
lea ecx, [esp + 0x54]
mov byte [esp + 0xf4], 0x16
call fcn.0041cb50
lea ecx, [esp + 0x38]
mov byte [esp + 0xf4], 0x15
call fcn.00496360
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf4], 0x14
call fcn.00496360
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 0x41fbbd
lea ecx, [esp + 0xbc]
mov dword [esp + 0xf4], 0x1c
call fcn.00452e00
lea ecx, [esp + 0x54]
mov byte [esp + 0xf4], 0x1b
call fcn.0041cb50
lea ecx, [esp + 0x38]
mov byte [esp + 0xf4], 0x1a
call fcn.00496360
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf4], 0x19
call fcn.00496360
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.00452e00
lea ecx, [esp + 0x54]
mov byte [esp + 0xf4], 0x20
call fcn.0041cb50
lea ecx, [esp + 0x38]
mov byte [esp + 0xf4], 0x1f
call fcn.00496360
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf4], 0x1e
call fcn.00496360
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