Function at 0x401490
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4324fc
push eax
mov dword fs:[0], esp
sub esp, 0x7f4
xor eax, eax
push ebp
mov ebp, ecx
push esi
push edi
lea esi, [ebp + 0x3c]
or ecx, 0xffffffff
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x402cdd
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x402cdd
push esi
mov ecx, ebp
call fcn.0041aca0
test al, al
je 0x402cdd
push ebx
push 0x43f7fc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
xor ebx, ebx
push str.SKINCONFIG
mov ecx, ebp
mov dword [esp + 0x810], ebx
call fcn.0041af90
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
test al, al
je 0x4015f2
lea eax, [esp + 0x14]
push str.normalForm
push eax
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x40155e
push eax
call edi
add esp, 4
mov dword [ebp + 0x140], eax
lea ecx, [esp + 0x14]
push str.maxForm
push ecx
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 2
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x4015a7
push eax
call edi
add esp, 4
mov dword [ebp + 0x144], eax
lea edx, [esp + 0x14]
push str.skinmode
push edx
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x4015f2
push eax
call edi
add esp, 4
mov dword [ebp + 0x148], eax
jmp 0x4015f8
mov dword [ebp + 0x148], ebx
push esi
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_3
push 0x5c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x810], 4
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea ecx, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
push ebx
push eax
call sub.MFC42.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x810], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
push str.IMGCONFIG
mov ecx, ebp
call fcn.0041af90
test al, al
je 0x4017b8
lea ecx, [esp + 0x14]
push str.reversergb
push ecx
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x4016a8
push eax
mov ecx, ebp
call fcn.004031c0
mov dword [ebp + 0x63c], eax
lea edx, [esp + 0x14]
push str.imagepath
push edx
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x4016f3
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x14]
push str.reverseimg
push edx
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 8
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x40176d
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
mov ecx, ebp
push eax
mov byte [esp + 0x810], 9
call fcn.00403210
lea ecx, [esp + 0x14]
mov dword [ebp + 0x63c], eax
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
push str.textcolor
push ecx
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0xa
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x4017b8
push eax
mov ecx, ebp
call fcn.004031c0
mov dword [ebp + 0x640], eax
push str.BTNCONFIG
mov ecx, ebp
call fcn.0041af90
test al, al
je 0x401862
lea edx, [esp + 0x14]
push str.textcolor
push edx
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0xb
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x401817
push eax
mov ecx, ebp
call fcn.004031c0
mov dword [ebp + 0x644], eax
lea eax, [esp + 0x14]
push str.hoverclr
push eax
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0xc
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x401862
push eax
mov ecx, ebp
call fcn.004031c0
mov dword [ebp + 0x648], eax
push str.STACONFIG
mov ecx, ebp
call fcn.0041af90
test al, al
je 0x4018bd
lea ecx, [esp + 0x14]
push str.textcolor
push ecx
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0xd
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x4018bd
push eax
mov ecx, ebp
call fcn.004031c0
mov dword [ebp + 0x64c], eax
push str.MENUCONFIG
mov ecx, ebp
call fcn.0041af90
test al, al
je 0x401db8
lea edx, [esp + 0x14]
push str.textcolor
push edx
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0xe
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x40191c
push eax
mov ecx, ebp
call fcn.004031c0
mov dword [ebp + 0x17c], eax
lea eax, [esp + 0x14]
push str.disablecolor
push eax
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0xf
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x401967
push eax
mov ecx, ebp
call fcn.004031c0
mov dword [ebp + 0x184], eax
lea ecx, [esp + 0x14]
push str.bgcolor
push ecx
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0x10
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x4019b2
push eax
mov ecx, ebp
call fcn.004031c0
mov dword [ebp + 0x174], eax
lea edx, [esp + 0x14]
push str.selcolor
push edx
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0x11
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x4019fd
push eax
mov ecx, ebp
call fcn.004031c0
mov dword [ebp + 0x178], eax
lea eax, [esp + 0x14]
push str.seltextcolor
push eax
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0x12
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x401a48
push eax
mov ecx, ebp
call fcn.004031c0
mov dword [ebp + 0x180], eax
lea ecx, [esp + 0x14]
push str.leftimage
push ecx
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0x13
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
cmp dword [edx - 8], ebx
je 0x401acf
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x28c]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
lea ecx, [esp + 0x14]
push str.outerLTclr
push ecx
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0x14
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x401b1a
push eax
mov ecx, ebp
call fcn.004031c0
mov dword [ebp + 0x354], eax
lea edx, [esp + 0x14]
push str.outerRBclr
push edx
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0x15
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x401b65
push eax
mov ecx, ebp
call fcn.004031c0
mov dword [ebp + 0x358], eax
lea eax, [esp + 0x14]
push str.innerLTclr
push eax
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0x16
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x401bb0
push eax
mov ecx, ebp
call fcn.004031c0
mov dword [ebp + 0x35c], eax
lea ecx, [esp + 0x14]
push str.innerRBclr
push ecx
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0x17
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x401bfb
push eax
mov ecx, ebp
call fcn.004031c0
mov dword [ebp + 0x360], eax
lea edx, [esp + 0x14]
push str.lineUpclr
push edx
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0x18
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x401c46
push eax
mov ecx, ebp
call fcn.004031c0
mov dword [ebp + 0x364], eax
lea eax, [esp + 0x14]
push str.lineDnclr
push eax
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0x19
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x401c91
push eax
mov ecx, ebp
call fcn.004031c0
mov dword [ebp + 0x368], eax
lea ecx, [esp + 0x14]
push str.round
push ecx
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0x1a
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x401ce8
push str.TRUE
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x401ce8
mov byte [ebp + 0x14c], 1
lea edx, [esp + 0x14]
push str.bgimg
push edx
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0x1b
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x401d6f
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x188]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
lea ecx, [esp + 0x14]
push str.height
push ecx
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0x1c
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x401db8
push eax
call edi
add esp, 4
mov dword [ebp + 0x170], eax
push str.PLUGCONFIG
mov ecx, ebp
call fcn.0041af90
test al, al
je 0x401fc3
lea edx, [esp + 0x14]
push str.textcolor
push edx
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0x1d
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x401e17
push eax
mov ecx, ebp
call fcn.004031c0
mov dword [ebp + 0x36c], eax
lea eax, [esp + 0x14]
push str.image
push eax
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0x1e
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 8], ebx
je 0x401e9e
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x438]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
lea ecx, [esp + 0x14]
push str.hoverimg
push ecx
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0x1f
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x10]
cmp dword [edx - 8], ebx
je 0x401f25
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp + 0x370]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
lea ecx, [esp + 0x14]
push str.rightoffset
push ecx
mov ecx, ebp
mov dword [ebp + 0x500], ebx
mov dword [ebp + 0x504], ebx
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0x20
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x401f7a
push eax
call edi
add esp, 4
mov dword [ebp + 0x500], eax
lea edx, [esp + 0x14]
push str.topoffset
push edx
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0x21
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x401fc3
push eax
call edi
add esp, 4
mov dword [ebp + 0x504], eax
push str.FORM
mov ecx, ebp
call fcn.0041af90
test al, al
je 0x402cb0
lea eax, [esp + 0x40]
push 0x43e1f4
push eax
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0x22
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x40]
mov byte [esp + 0x80c], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x402c9c
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov esi, dword [ebp + 0x654]
add esp, 4
lea ecx, [esp + 0x30]
lea edi, [ebp + 0x650]
lea edx, [esp + 0x98]
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x38], eax
call fcn.00408210
mov eax, dword [eax]
mov ecx, dword [edi + 4]
cmp eax, ecx
mov dword [esp + 0x44], eax
je 0x402062
mov edx, dword [esp + 0x30]
cmp edx, dword [eax + 0xc]
jl 0x402062
lea eax, [esp + 0x44]
jmp 0x40206a
mov dword [esp + 0x68], ecx
lea eax, [esp + 0x68]
cmp dword [eax], esi
jne 0x402c9c
lea eax, [esp + 0x2f]
lea ecx, [esp + 0x2a]
push eax
push ebx
push ecx
lea ecx, [esp + 0x304]
call fcn.004053b0
lea edx, [esp + 0x2c]
lea eax, [esp + 0x2e]
push edx
push ebx
push eax
lea ecx, [esp + 0x314]
mov byte [esp + 0x818], 0x23
call fcn.00405530
lea ecx, [esp + 0x36]
lea edx, [esp + 0x25]
push ecx
push edx
lea ecx, [esp + 0x320]
mov byte [esp + 0x814], 0x24
call fcn.00404ed0
lea eax, [esp + 0x2d]
lea ecx, [esp + 0x27]
push eax
push ecx
lea ecx, [esp + 0x330]
mov byte [esp + 0x814], 0x25
call fcn.00405010
lea ecx, [esp + 0xd8]
mov byte [esp + 0x80c], 0x26
call fcn.00402f20
lea edx, [esp + 0x50]
push str.fixsize
push edx
mov ecx, ebp
mov byte [esp + 0x814], 0x27
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0x28
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x50]
mov byte [esp + 0x80c], 0x27
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x40215b
push str.TRUE
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x40215b
mov dword [esp + 0xd8], 1
lea eax, [esp + 0x78]
push str.minWidth
push eax
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0x29
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x78]
mov byte [esp + 0x80c], 0x27
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x4021ad
mov esi, dword [sym.imp.MSVCRT.dll_atoi]
push eax
call esi
add esp, 4
mov dword [esp + 0xdc], eax
jmp 0x4021b3
mov esi, dword [sym.imp.MSVCRT.dll_atoi]
lea ecx, [esp + 0x58]
push str.minHeight
push ecx
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0x2a
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x58]
mov byte [esp + 0x80c], 0x27
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x4021fd
push eax
call esi
add esp, 4
mov dword [esp + 0xe0], eax
lea edx, [esp + 0x70]
push str.defWidth
push edx
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0x2b
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x70]
mov byte [esp + 0x80c], 0x27
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x402247
push eax
call esi
add esp, 4
mov dword [esp + 0xe4], eax
lea eax, [esp + 0x60]
push str.defHeight
push eax
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0x2c
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x60]
mov byte [esp + 0x80c], 0x27
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x402291
push eax
call esi
add esp, 4
mov dword [esp + 0xe8], eax
lea ecx, [esp + 0x80]
push str.stretchmode
push ecx
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0x2d
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x80]
mov byte [esp + 0x80c], 0x27
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x4022e1
push eax
call esi
add esp, 4
mov dword [esp + 0xec], eax
lea edx, [esp + 0x3c]
push str.bkimage
push edx
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0x2e
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80c], 0x27
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x40232d
push eax
lea eax, [esp + 0xf4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x4c]
push str.bkimagetrans
push ecx
mov ecx, ebp
call fcn.0040a3e0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x810], 0x2f
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x80c], 0x27
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebx
je 0x402379
lea edx, [esp + 0x1f4]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, ebp
call fcn.0041b0c0
push 0x43f7fc
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_3
push ebx
mov ecx, ebp
mov byte [esp + 0x810], 0x30
call fcn.0041af90
test al, al
je 0x402473
lea eax, [esp + 0x54]
mov ecx, ebp
push eax
call fcn.0040a3c0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x810], 0x31
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x54]
mov byte [esp + 0x80c], 0x30
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.MSVCRT.dll__mbsicmp]
push str.PICTURE
push ecx
call esi
add esp, 8
test eax, eax
jne 0x4023fd
lea edx, [esp + 0xd8]
mov ecx, ebp
push edx
call fcn.00403430
mov eax, dword [esp + 0x1c]
push str.BUTTON
push eax
call esi
add esp, 8
test eax, eax
jne 0x40241f
lea ecx, [esp + 0xd8]
push ecx
mov ecx, ebp
call fcn.00403820
mov edx, dword [esp + 0x1c]
push str.CONTROL
push edx
call esi
add esp, 8
test eax, eax
jne 0x402441
lea eax, [esp + 0xd8]
mov ecx, ebp
push eax
call fcn.00403720
mov ecx, dword [esp + 0x1c]
push str.MENUGROUP
push ecx
call esi
add esp, 8
test eax, eax
jne 0x402463
lea edx, [esp + 0xd8]
mov ecx, ebp
push edx
call fcn.00404350
push ebx
mov ecx, ebp
call fcn.0041af90
test al, al
jne 0x4023a6
mov ecx, ebp
call fcn.0041b100
lea ecx, [esp + 0x1c]
mov byte [esp + 0x80c], 0x27
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x35]
lea ecx, [esp + 0x29]
push eax
push ebx
push ecx
lea ecx, [esp + 0x56c]
call fcn.004053b0
lea edx, [esp + 0x23]
lea eax, [esp + 0x2b]
push edx
push ebx
push eax
lea ecx, [esp + 0x57c]
mov byte [esp + 0x818], 0x32
call fcn.00405530
lea ecx, [esp + 0x37]
lea edx, [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x588]
mov byte [esp + 0x814], 0x33
call fcn.00404ed0
lea eax, [esp + 0x26]
lea ecx, [esp + 0x28]
push eax
push ecx
lea ecx, [esp + 0x598]
mov byte [esp + 0x814], 0x34
call fcn.00405010
lea ecx, [esp + 0x340]
mov byte [esp + 0x80c], 0x35
call fcn.00402f20
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x340]
push eax
lea ecx, [esp + 0x5a8]
mov byte [esp + 0x810], 0x36
mov dword [esp + 0x5a4], edx
call fcn.00405950
lea ecx, [esp + 0x5a0]
lea edx, [esp + 0x338]
push ecx
push edx
mov ecx, edi
mov byte [esp + 0x814], 0x37
call fcn.004080e0
mov esi, dword [eax]
lea ecx, [esp + 0x5a4]
mov dword [esp + 0x44], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x5a4]
mov byte [esp + 0x80c], 0x3b
call fcn.00402f20
lea ecx, [esp + 0x7f4]
mov byte [esp + 0x80c], 0x3a
call fcn.004050e0
lea ecx, [esp + 0x7e4]
mov byte [esp + 0x80c], 0x39
call fcn.00404fa0
lea ecx, [esp + 0x7d4]
mov byte [esp + 0x80c], 0x38
call fcn.00404df0
lea ecx, [esp + 0x7c4]
mov byte [esp + 0x80c], 0x36
call fcn.00404d60
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x358]
mov dword [esp + 0x354], ebx
mov dword [esp + 0x350], ebx
mov dword [esp + 0x34c], ebx
mov dword [esp + 0x348], ebx
mov dword [esp + 0x344], ebx
mov dword [esp + 0x340], ebx
lea edx, [esp + 0x90]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x45c]
rep stosd dword es:[edi], eax
push edx
lea ecx, [esp + 0x564]
mov byte [esp + 0x810], 0x3f
call fcn.004053e0
mov eax, dword [eax]
mov ecx, dword [esp + 0x564]
cmp eax, ecx
mov dword [esp + 0x38], eax
je 0x402674
mov eax, dword [eax + 0x10]
cmp eax, ebx
je 0x402653
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
lea eax, [esp + 0xd4]
push ebx
push eax
lea ecx, [esp + 0x40]
call fcn.00404dd0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x564]
cmp eax, ecx
jne 0x402644
lea ecx, [esp + 0x560]
call fcn.00405510
lea ecx, [esp + 0x570]
call fcn.00405690
lea ecx, [esp + 0x580]
call fcn.004057e0
lea ecx, [esp + 0x590]
call fcn.00405930
lea ecx, [esp + 0x590]
mov byte [esp + 0x80c], 0x3e
call fcn.004050e0
lea ecx, [esp + 0x580]
mov byte [esp + 0x80c], 0x3d
call fcn.00404fa0
lea ecx, [esp + 0x570]
mov byte [esp + 0x80c], 0x3c
call fcn.00404df0
lea ecx, [esp + 0x560]
mov byte [esp + 0x80c], 0x27
call fcn.00404d60
mov ecx, dword [esp + 0xd8]
add esi, 0x10
mov edi, 0xffffffe8
mov dword [esi], ecx
mov edx, dword [esp + 0xdc]
mov dword [esi + 4], edx
mov eax, dword [esp + 0xe0]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0xe4]
mov dword [esi + 0xc], ecx
mov edx, dword [esp + 0xe8]
mov dword [esi + 0x10], edx
mov eax, dword [esp + 0xec]
lea ecx, [esp + 0xd8]
mov dword [esi + 0x14], eax
sub ecx, esi
lea eax, [esi + 0x18]
sub edi, esi
mov dl, byte [ecx + eax]
mov byte [eax], dl
inc eax
lea edx, [edi + eax]
cmp edx, 0x104
jb 0x402745
mov edi, 0xfffffee4
lea eax, [esi + 0x11c]
sub edi, esi
mov dl, byte [eax + ecx]
mov byte [eax], dl
inc eax
lea edx, [edi + eax]
cmp edx, 0x104
jb 0x402763
lea edi, [esi + 0x220]
lea eax, [esp + 0x2f8]
cmp edi, eax
je 0x4027b4
mov eax, dword [edi + 4]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x90]
push ecx
mov ecx, edi
call fcn.004053f0
mov dl, byte [esp + 0x2f9]
lea eax, [esp + 0x2f8]
push eax
mov ecx, edi
mov byte [edi + 1], dl
call fcn.00406250
lea edi, [esi + 0x230]
lea ecx, [esp + 0x308]
cmp edi, ecx
je 0x402866
mov eax, dword [edi + 4]
lea edx, [esp + 0xc0]
push eax
mov ecx, dword [eax]
push ecx
push edx
mov ecx, edi
call fcn.00405570
mov al, byte [esp + 0x309]
lea ecx, [esp + 0x5c]
mov byte [edi + 1], al
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
mov ecx, dword [esp + 0x30c]
mov ebx, dword [edi + 4]
push ebx
mov byte [esp + 0x810], 0x40
mov edx, dword [ecx + 4]
mov ecx, edi
push edx
call fcn.00408630
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x314]
mov ebx, dword [edi + 4]
mov dword [edi + 0xc], eax
mov ecx, dword [0x43f7f8]
mov eax, dword [ebx + 4]
cmp eax, ecx
je 0x40284a
push eax
call fcn.00408a90
mov dword [ebx], eax
mov edi, dword [edi + 4]
mov ecx, dword [edi + 4]
push ecx
call fcn.00408a50
add esp, 8
mov dword [edi + 8], eax
jmp 0x402852
mov dword [ebx], ebx
mov edi, dword [edi + 4]
mov dword [edi + 8], edi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x80c], 0x27
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
xor ebx, ebx
lea edi, [esi + 0x240]
lea edx, [esp + 0x318]
cmp edi, edx
je 0x402918
mov eax, dword [edi + 4]
push eax
mov ecx, dword [eax]
lea eax, [esp + 0xa4]
push ecx
push eax
mov ecx, edi
call fcn.004056c0
mov cl, byte [esp + 0x319]
mov byte [edi + 1], cl
lea ecx, [esp + 0x64]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
mov edx, dword [esp + 0x31c]
mov ebx, dword [edi + 4]
push ebx
mov ecx, edi
mov eax, dword [edx + 4]
mov byte [esp + 0x810], 0x41
push eax
call fcn.00408ad0
mov dword [ebx + 4], eax
mov ecx, dword [esp + 0x324]
mov ebx, dword [edi + 4]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x43f7f4]
mov eax, dword [ebx + 4]
cmp eax, ecx
je 0x4028fc
push eax
call fcn.00408f30
mov dword [ebx], eax
mov edi, dword [edi + 4]
mov edx, dword [edi + 4]
push edx
call fcn.00408ef0
add esp, 8
mov dword [edi + 8], eax
jmp 0x402904
mov dword [ebx], ebx
mov edi, dword [edi + 4]
mov dword [edi + 8], edi
lea ecx, [esp + 0x64]
mov byte [esp + 0x80c], 0x27
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
xor ebx, ebx
add esi, 0x250
lea eax, [esp + 0x328]
cmp esi, eax
je 0x402958
mov eax, dword [esi + 4]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0xd4]
push ecx
mov ecx, esi
call fcn.00405810
mov dl, byte [esp + 0x329]
lea eax, [esp + 0x328]
push eax
mov ecx, esi
mov byte [esi + 1], dl
call fcn.00407ed0
mov eax, dword [esp + 0x2fc]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0xb0]
push ecx
lea ecx, [esp + 0x304]
call fcn.004053f0
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0xf0]
mov dword [esp + 0xec], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xd8], ebx
lea edx, [esp + 0xc8]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x1f4]
rep stosd dword es:[edi], eax
push edx
lea ecx, [esp + 0x2fc]
mov byte [esp + 0x810], 0x45
call fcn.004053e0
mov eax, dword [eax]
mov ecx, dword [esp + 0x2fc]
cmp eax, ecx
mov dword [esp + 0x14], eax
je 0x402a11
mov ecx, dword [eax + 0x10]
cmp ecx, ebx
je 0x4029f9
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [esp + 0x14]
call fcn.00406500
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2fc]
cmp eax, ecx
jne 0x4029ec
push ecx
lea ecx, [esp + 0xb4]
push ecx
lea ecx, [esp + 0x300]
call fcn.004053e0
mov edx, dword [eax]
lea eax, [esp + 0xd4]
push edx
push eax
lea ecx, [esp + 0x304]
call fcn.004053f0
mov ecx, dword [esp + 0x30c]
lea edx, [esp + 0xb8]
push ecx
push edx
lea ecx, [esp + 0x310]
call fcn.00405560
mov eax, dword [eax]
lea ecx, [esp + 0x90]
push eax
push ecx
lea ecx, [esp + 0x314]
call fcn.00405570
mov edx, dword [esp + 0x31c]
lea eax, [esp + 0x94]
push edx
push eax
lea ecx, [esp + 0x320]
call fcn.004056b0
mov ecx, dword [eax]
lea edx, [esp + 0xa0]
push ecx
push edx
lea ecx, [esp + 0x324]
call fcn.004056c0
mov eax, dword [esp + 0x32c]
push eax
mov ecx, dword [eax]
lea eax, [esp + 0xa8]
push ecx
push eax
lea ecx, [esp + 0x334]
call fcn.00405810
mov eax, dword [esp + 0x32c]
mov byte [esp + 0x80c], 0x44
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0xb4]
push ecx
lea ecx, [esp + 0x334]
call fcn.00405810
mov edx, dword [esp + 0x32c]
push edx
call sub.MFC42.DLL_operatordelete
mov esi, dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
add esp, 4
lea ecx, [esp + 0x6c]
mov dword [esp + 0x32c], ebx
mov dword [esp + 0x334], ebx
call esi
mov eax, dword [0x43f7f0]
dec eax
mov dword [0x43f7f0], eax
jne 0x402b34
mov eax, dword [0x43f7ec]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [0x43f7ec], ebx
mov edi, dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
lea ecx, [esp + 0x6c]
call edi
mov eax, dword [esp + 0x31c]
mov byte [esp + 0x80c], 0x43
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0xbc]
push ecx
lea ecx, [esp + 0x324]
call fcn.004056c0
mov edx, dword [esp + 0x31c]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x74]
mov dword [esp + 0x31c], ebx
mov dword [esp + 0x324], ebx
call esi
mov eax, dword [0x43f7e8]
dec eax
mov dword [0x43f7e8], eax
jne 0x402bac
mov eax, dword [0x43f7f4]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [0x43f7f4], ebx
lea ecx, [esp + 0x74]
call edi
mov eax, dword [esp + 0x30c]
mov byte [esp + 0x80c], 0x42
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0xc4]
push ecx
lea ecx, [esp + 0x314]
call fcn.00405570
mov edx, dword [esp + 0x30c]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x7c]
mov dword [esp + 0x30c], ebx
mov dword [esp + 0x314], ebx
call esi
mov eax, dword [0x43f7e4]
dec eax
mov dword [0x43f7e4], eax
jne 0x402c1e
mov eax, dword [0x43f7f8]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [0x43f7f8], ebx
lea ecx, [esp + 0x7c]
call edi
mov eax, dword [esp + 0x2fc]
mov byte [esp + 0x80c], 4
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0xcc]
push ecx
lea ecx, [esp + 0x304]
call fcn.004053f0
mov edx, dword [esp + 0x2fc]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x84]
mov dword [esp + 0x2fc], ebx
mov dword [esp + 0x304], ebx
call esi
mov eax, dword [0x43f7e0]
dec eax
mov dword [0x43f7e0], eax
jne 0x402c93
mov eax, dword [0x43f7dc]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [0x43f7dc], ebx
lea ecx, [esp + 0x84]
call edi
push str.FORM
mov ecx, ebp
call fcn.0041af90
test al, al
jne 0x401fd7
lea ecx, [esp + 0x18]
mov byte [esp + 0x80c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x80c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
pop ebx
jmp 0x402cdf
xor eax, eax
mov ecx, dword [esp + 0x800]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x800
ret