Function at 0x433a40
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b5d5d
push eax
mov eax, dword [0x4dc2c4]
mov dword fs:[0], esp
sub esp, 0x13c
test eax, eax
push ebx
push ebp
push esi
push edi
mov ebp, ecx
jne 0x43400a
mov eax, dword [ebp + 0x2bcc0]
test eax, eax
jne 0x43400a
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x49]
mov byte [esp + 0x48], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x48]
push 0x104
mov ebx, 1
push eax
push 0
mov dword [0x4dc2c4], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_2
push 0x5c
lea ecx, [esp + 0x28]
mov dword [esp + 0x158], 0
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea edx, [esp + 0x28]
push eax
push edx
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x158], bl
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x154], 0
call fcn.004ac05e
lea eax, [esp + 0x24]
push str.VipItem.ini
lea ecx, [esp + 0x14]
push eax
push ecx
call sub.MFC42.DLL_operator_2
mov edx, dword [esp + 0x10]
mov byte [esp + 0x154], 2
push edx
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push str.ItemCount
call sub.MFC42.DLL_CString::CString_2
mov edi, dword [esp + 0x168]
mov ecx, ebp
push edi
call fcn.004334b0
mov ecx, eax
call fcn.004334a0
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push str.Common
call ebx
mov esi, eax
test esi, esi
mov dword [esp + 0x40], esi
jle 0x433f8d
mov eax, dword [esp + 0x10]
push eax
push 0
push str.RandType
push str.Common
call ebx
lea ecx, [esi*4]
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
xor ecx, ecx
test esi, esi
mov dword [esp + 0x3c], eax
jle 0x433ba3
mov edx, eax
mov dword [edx], ecx
inc ecx
add edx, 4
cmp ecx, esi
jl 0x433b99
test esi, esi
mov dword [esp + 0x30], 0
jle 0x433f65
xor edx, edx
lea eax, [ebp + 0x22010]
test edi, edi
sete dl
mov dword [esp + 0x38], edx
lea ecx, [ebp + 0x2bc34]
lea edx, [ebp + 0x22724]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], edx
lea esi, [ebp + 0x28cb8]
jmp 0x433bf1
mov edi, dword [esp + 0x15c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x18]
push eax
push 0x4ce98c
push ecx
mov byte [esp + 0x160], 3
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x18]
push edx
push 0
call fcn.004334a0
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.ItemId
call sub.MFC42.DLL_CString::CString_2
push edi
mov ecx, ebp
call fcn.004334b0
mov ecx, eax
call fcn.004334a0
push eax
call ebx
mov dword [esi - 0x3100], eax
mov eax, dword [esp + 0x10]
push eax
lea ebx, [esi - 0x3284]
push 0x40
push ebx
push 0x4daff4
lea ecx, [esp + 0x28]
call fcn.004334a0
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.ItemName
call sub.MFC42.DLL_CString::CString_2
push edi
mov ecx, ebp
call fcn.004334b0
mov ecx, eax
call fcn.004334a0
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
call edi
mov ecx, dword [esp + 0x10]
lea edx, [esi - 0x3244]
push ecx
push 0x40
push edx
push 0x4daff4
lea ecx, [esp + 0x28]
call fcn.004334a0
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.ItemIntro
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x174]
mov ecx, ebp
push eax
call fcn.004334b0
mov ecx, eax
call fcn.004334a0
push eax
call edi
mov ecx, dword [esp + 0x10]
push ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004334a0
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.ItemId
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x48]
mov ecx, ebp
push edx
call fcn.004334b0
mov ecx, eax
call fcn.004334a0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [esi], eax
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esi - 0x184]
push 0x40
push ecx
push 0x4daff4
lea ecx, [esp + 0x28]
call fcn.004334a0
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.ItemName
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x50]
mov ecx, ebp
push edx
call fcn.004334b0
mov ecx, eax
call fcn.004334a0
push eax
call edi
mov eax, dword [esp + 0x10]
lea ecx, [esi - 0x144]
push eax
push 0x40
push ecx
push 0x4daff4
lea ecx, [esp + 0x28]
call fcn.004334a0
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.ItemIntro
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x50]
mov ecx, ebp
push edx
call fcn.004334b0
mov ecx, eax
call fcn.004334a0
push eax
call edi
mov ecx, dword [ebp + 0x25a30]
inc ecx
mov dword [ebp + 0x25a30], ecx
mov eax, dword [esi - 0x3100]
test eax, eax
jle 0x433f11
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi - 0x3100]
lea ecx, [esp + 0x28]
push eax
push str.datadlgpet_vipitem_
push str._s_d.mif
push ecx
mov byte [esp + 0x164], 4
call sub.MFC42.DLL_CString::Format
mov edx, dword [esi - 0x3100]
add esp, 0x10
lea edi, [esi - 0x3204]
push edx
push str.datadlgpet_vipitem_
push str._s_d.mif
push 0x103
push edi
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
push 0
push 0
push 0
push edi
mov edi, dword [esp + 0x44]
mov ecx, edi
call sub.CLRenderNewEngine.dll_public:_bool___thiscall_CxImage::CreateImageFromFile_char_const___struct_IDisplay::_SELECT_PARA___unsigned_int__unsigned_long_int__
mov ecx, dword [esp + 0x1c]
push edi
call fcn.0046ae40
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi - 0x3100]
mov edi, ebx
push ebx
mov dword [ecx], eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 8
jg 0x433e5e
mov ecx, dword [esp + 0x20]
call fcn.0046ae10
jmp 0x433f00
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x14]
mov byte [esp + 0x154], 5
xor edi, edi
cmp byte [edi + eax], 0
jge 0x433e7c
inc edi
inc edi
cmp edi, 4
jl 0x433e75
mov eax, edi
push 0x2e
push eax
lea ecx, [esp + 0x1c]
inc edi
call sub.MFC42.DLL_CString::SetAt
mov eax, edi
push 0x2e
push eax
lea ecx, [esp + 0x1c]
inc edi
call sub.MFC42.DLL_CString::SetAt
mov eax, edi
push 0x2e
push eax
lea ecx, [esp + 0x1c]
inc edi
call sub.MFC42.DLL_CString::SetAt
lea edx, [esp + 0x44]
push edi
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x158], 6
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x44]
mov byte [esp + 0x154], 5
call fcn.004ac05e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.0046ae10
lea ecx, [esp + 0x14]
mov byte [esp + 0x154], 4
call fcn.004ac05e
lea ecx, [esp + 0x28]
mov byte [esp + 0x154], 3
call fcn.004ac05e
lea ecx, [esp + 0x18]
mov byte [esp + 0x154], 2
call fcn.004ac05e
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
add ecx, 4
inc eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x40]
add ebx, 0x24
add esi, 0x188
add edx, 0xe0
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x1c], edx
jl 0x433be4
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x25a30]
lea esi, [ebp + 0x25a34]
mov dword [ebp + 0x22918], ecx
mov ecx, 0xc40
lea edi, [ebp + 0x2291c]
push eax
rep movsd dword es:[edi], dword [esi]
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [ebp + 0x2174c]
xor edi, edi
test eax, eax
jle 0x433fca
lea esi, [ebp + 0x34c]
mov edx, dword [esi]
mov ecx, ebp
push edx
call fcn.00434090
test eax, eax
je 0x433fb9
mov eax, dword [esi]
push 0
push eax
mov ecx, ebp
call fcn.00434210
mov eax, dword [ebp + 0x2174c]
inc edi
add esi, 0x214
cmp edi, eax
jl 0x433f9f
mov ecx, ebp
call fcn.00434330
push str.UpdateDialog___InitVipItemFromLocal
call fcn.00488710
add esp, 4
mov ecx, ebp
call fcn.00431130
lea ecx, [esp + 0x10]
mov byte [esp + 0x154], 0
call fcn.004ac05e
lea ecx, [esp + 0x24]
mov dword [esp + 0x154], 0xffffffff
call fcn.004ac05e
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x148
ret 4