Function at 0x416520
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x433d98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0xc]
mov dword [esp + 0x74], 0
push eax
call fcn.004242a0
add esp, 4
lea ecx, [esp + 0xc]
push str.VstarConf.ini
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 1
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [edi + 0x750]
lea edx, [esp + 0x1c]
push ecx
mov ebx, 2
push 0x43eef8
push edx
mov byte [esp + 0x80], bl
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0xc
push eax
push ecx
push str.CurrentSkin
push str.Skin
call esi
cmp dword [edi + 0x208], ebx
jne 0x416626
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [edi + 0x754]
mov byte [esp + 0x74], 3
and edx, reloc.Language.dll_Ordinal_1
jns 0x4165ea
dec edx
or edx, 0xfffffffe
inc edx
neg edx
sbb edx, edx
lea eax, [esp + 0x14]
add edx, ebx
push edx
push 0x43eef8
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
add esp, 0xc
push ecx
push edx
push str.CurrentForm
push str.Skin
call esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [edi + 0x758]
lea ecx, [esp + 0x18]
push eax
push 0x43eef8
push ecx
mov byte [esp + 0x80], 4
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
add esp, 0xc
push edx
push eax
push str.DefaultSkin
push str.Skin
call esi
mov ecx, dword [esp + 0xc]
push ecx
push str.Normal
push str.WinStatus
push str.Position
call esi
lea edx, [esp + 0x40]
mov ecx, edi
push edx
call sub.MFC42.DLL_CWnd::GetWindowPlacement
mov edi, dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x30]
push eax
push ecx
call edi
lea edx, [esp + 0x30]
lea eax, [esp + 0x20]
push edx
push eax
call edi
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x10]
push ecx
push 0x43eef8
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push eax
push ecx
push 0x43eed0
push str.Position
call esi
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x10]
push edx
push 0x43eef8
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
add esp, 0xc
push ecx
push edx
push 0x43eecc
push str.Position
call esi
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x10]
push eax
push 0x43eef8
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add esp, 0xc
push edx
push eax
push 0x43eec8
push str.Position
call esi
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x10]
push ecx
push 0x43eef8
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push eax
push ecx
push 0x43eec4
push str.Position
call esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x74], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x74], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret