Function at 0x454720
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466264
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c8
mov eax, dword [0x483230]
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0x8d4], ecx
cmp dword [ebp + 8], 0
je 0x45475c
movzx eax, word [ebp + 0xc]
cmp eax, 0x64
jle 0x454763
xor al, al
jmp 0x45510c
mov cx, word [0x47591c]
mov word [ebp - 0x424], cx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x422]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x104
lea edx, [ebp - 0x424]
push edx
call dword [sym.imp.ServiceCore.dll_public:_static_bool___cdecl_CWHService::GetWorkDirectory_wchar_t__const__unsigned_short_int_]
add esp, 8
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x4547cb
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x424]
push edx
push str._s_sAvertCheatMode
push 0x104
mov eax, dword [ebp - 0x8d4]
add eax, 0x11a4
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x14
jmp 0x4547f5
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x424]
push edx
push str._s_s
push 0x104
mov eax, dword [ebp - 0x8d4]
add eax, 0x11a4
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x14
mov cx, word [0x475958]
mov word [ebp - 0x21c], cx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [ebp - 0x8d4]
add edx, 0x11a4
push edx
push 0x47595c
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x4549b3
mov dx, word [0x475988]
mov word [ebp - 0x83c], dx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x83a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 0x8d4]
add eax, 0x11a4
push eax
push 0x47598c
push 0x104
lea ecx, [ebp - 0x83c]
push ecx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
lea ecx, [ebp - 0x634]
call dword [sym.imp.WHImage.dll_public:_void___thiscall_CPngImage::constructor_void_]
mov dword [ebp - 4], 0
lea edx, [ebp - 0x83c]
push edx
lea ecx, [ebp - 0x634]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::LoadImageW_wchar_t_const__]
movzx eax, al
test eax, eax
jne 0x454938
push 0x208
push 0
mov ecx, dword [ebp - 0x8d4]
add ecx, 0x11a4
push ecx
call sub.MSVCR71.dll_memset
add esp, 0xc
lea edx, [ebp - 0x424]
push edx
push str._sAvertCheatMode
push 0x104
mov eax, dword [ebp - 0x8d4]
add eax, 0x11a4
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
push 0x208
push 0
lea ecx, [ebp - 0x21c]
push ecx
call sub.MSVCR71.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x8d4]
add edx, 0x11a4
push edx
push str._sTableResource.INI
push 0x104
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
mov ecx, dword [ebp - 0x8d4]
add ecx, 0x11a4
push ecx
push str._sWaitDistribute.bmp
push 0x104
lea edx, [ebp - 0x83c]
push edx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
lea eax, [ebp - 0x83c]
push eax
mov ecx, dword [ebp - 0x8d4]
add ecx, 0x1a2c
call fcn.0045b5b0
test eax, eax
jge 0x4549a0
mov byte [ebp - 0x8cd], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x634]
call dword [sym.imp.WHImage.dll_public_virtual:_void___thiscall_CPngImage::destructor_void_]
mov al, byte [ebp - 0x8cd]
jmp 0x45510c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x634]
call dword [sym.imp.WHImage.dll_public_virtual:_void___thiscall_CPngImage::destructor_void_]
lea ecx, [ebp - 0x21c]
push ecx
push str.Color_Name
push 0x475a3c
mov edx, dword [ebp - 0x8d4]
add edx, 0x1008
push edx
mov ecx, dword [ebp - 0x8d4]
call fcn.00455ae0
lea eax, [ebp - 0x21c]
push eax
push str.Color_Member
push 0x475a64
mov ecx, dword [ebp - 0x8d4]
add ecx, 0x100c
push ecx
mov ecx, dword [ebp - 0x8d4]
call fcn.00455ae0
lea edx, [ebp - 0x21c]
push edx
push str.Color_Master
push str.Color
mov eax, dword [ebp - 0x8d4]
add eax, 0x1010
push eax
mov ecx, dword [ebp - 0x8d4]
call fcn.00455ae0
lea ecx, [ebp - 0x21c]
push ecx
push str.Point_Lock
push 0x475ab0
mov edx, dword [ebp - 0x8d4]
add edx, 0x40
push edx
mov ecx, dword [ebp - 0x8d4]
call fcn.00455a10
lea eax, [ebp - 0x21c]
push eax
push str.Point_Enter
push 0x475adc
mov ecx, dword [ebp - 0x8d4]
add ecx, 0x48
push ecx
mov ecx, dword [ebp - 0x8d4]
call fcn.00455a10
lea edx, [ebp - 0x21c]
push edx
push str.Point_TableID
push 0x475b0c
mov eax, dword [ebp - 0x8d4]
add eax, 0x50
push eax
mov ecx, dword [ebp - 0x8d4]
call fcn.00455a10
lea ecx, [ebp - 0x21c]
push ecx
push 1
push str.ShowUser
push 0x475b34
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov edx, dword [ebp - 0x8d4]
mov byte [edx + 0x2c], al
lea eax, [ebp - 0x21c]
push eax
push 1
push str.ShowChair
push 0x475b5c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0x8d4]
mov byte [ecx + 0x2e], al
lea edx, [ebp - 0x21c]
push edx
push 1
push str.ShowTable
push 0x475b84
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0x8d4]
mov byte [ecx + 0x2f], al
lea edx, [ebp - 0x21c]
push edx
push 1
push str.ShowFocus
push 0x475bac
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0x8d4]
mov byte [ecx + 0x30], al
lea edx, [ebp - 0x21c]
push edx
push 0
push str.ShowEnter
push 0x475bd4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0x8d4]
mov byte [ecx + 0x2d], al
lea edx, [ebp - 0x21c]
push edx
push 0
push str.CustomUser
push 0x475c00
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0x8d4]
mov byte [ecx + 0x31], al
lea edx, [ebp - 0x21c]
push edx
push 1
push str.ShowTableID
push 0x475c2c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0x8d4]
mov byte [ecx + 0x32], al
lea edx, [ebp - 0x21c]
push edx
push 1
push str.RenderImage
push 0x475c58
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0x8d4]
mov byte [ecx + 0x33], al
lea edx, [ebp - 0x21c]
push edx
push 2
push str.TableItemCount
push 0x475c8c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x8d4]
mov word [ecx + 0x34], ax
lea edx, [ebp - 0x21c]
push edx
movzx eax, word [ebp + 0xc]
push eax
push str.ChairItemCount
push 0x475cc0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x8d4]
mov word [ecx + 0x36], ax
lea edx, [ebp - 0x21c]
push edx
push 1
push str.UserGenreCount
push 0x475cf4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x8d4]
mov word [ecx + 0x38], ax
lea edx, [ebp - 0x21c]
push edx
push 1
push str.TableGenreCount
push 0x475d28
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x8d4]
mov word [ecx + 0x3a], ax
lea edx, [ebp - 0x21c]
push edx
push 1
push str.ChairGenreCount
push str.Attribute
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x8d4]
mov word [ecx + 0x3c], ax
call dword [sym.imp.SkinControl.dll_public:_static_class_CSkinRenderManager____cdecl_CSkinRenderManager::GetInstance_void_]
push eax
mov ecx, dword [ebp - 0x8d4]
call fcn.00455130
movzx edx, al
test edx, edx
jne 0x454cc1
xor al, al
jmp 0x45510c
mov ecx, dword [ebp - 0x8d4]
add ecx, 0x13ac
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::IsNull_void_]
movzx eax, al
test eax, eax
jne 0x454d17
mov ecx, dword [ebp - 0x8d4]
add ecx, 0x13ac
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetHeight_void_]
push eax
mov ecx, dword [ebp - 0x8d4]
add ecx, 0x13ac
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetWidth_void_]
cdq
and edx, 3
add eax, edx
sar eax, 2
push eax
mov ecx, dword [ebp - 0x8d4]
add ecx, 0x14
call fcn.00431800
mov ecx, dword [ebp - 0x8d4]
add ecx, 0x15bc
call fcn.0045b590
movzx ecx, al
test ecx, ecx
jne 0x454d7b
mov ecx, dword [ebp - 0x8d4]
add ecx, 0x15bc
call fcn.0041da90
mov edx, dword [ebp - 0x8d4]
movzx ecx, word [edx + 0x3c]
cdq
idiv ecx
push eax
mov ecx, dword [ebp - 0x8d4]
add ecx, 0x15bc
call fcn.004436c0
mov edx, dword [ebp - 0x8d4]
movzx ecx, word [edx + 0x36]
cdq
idiv ecx
push eax
mov ecx, dword [ebp - 0x8d4]
add ecx, 4
call fcn.00431800
mov ecx, dword [ebp - 0x8d4]
add ecx, 0x17f4
call fcn.0045b590
movzx edx, al
test edx, edx
jne 0x454ddf
mov ecx, dword [ebp - 0x8d4]
add ecx, 0x17f4
call fcn.0041da90
mov ecx, dword [ebp - 0x8d4]
movzx ecx, word [ecx + 0x3a]
cdq
idiv ecx
push eax
mov ecx, dword [ebp - 0x8d4]
add ecx, 0x17f4
call fcn.004436c0
mov edx, dword [ebp - 0x8d4]
movzx ecx, word [edx + 0x34]
cdq
idiv ecx
push eax
mov ecx, dword [ebp - 0x8d4]
add ecx, 0xc
call fcn.00431800
mov edx, dword [ebp - 0x8d4]
mov eax, dword [edx + 0x10]
sub eax, 0x1b
mov ecx, dword [ebp - 0x8d4]
mov dword [ecx + 0xffc], eax
mov edx, dword [ebp - 0x8d4]
mov eax, dword [edx + 0xc]
sub eax, 0x32
mov ecx, dword [ebp - 0x8d4]
mov dword [ecx + 0xff8], eax
mov edx, dword [ebp - 0x8d4]
mov eax, dword [edx + 0xc]
sub eax, 5
mov ecx, dword [ebp - 0x8d4]
mov dword [ecx + 0x1000], eax
mov edx, dword [ebp - 0x8d4]
mov eax, dword [edx + 0x10]
sub eax, 5
mov ecx, dword [ebp - 0x8d4]
mov dword [ecx + 0x1004], eax
mov ecx, dword [ebp - 0x8d4]
add ecx, 0x1e9c
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::IsNull_void_]
movzx edx, al
test edx, edx
jne 0x454ea6
mov ecx, dword [ebp - 0x8d4]
add ecx, 0x1e9c
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetHeight_void_]
mov ecx, dword [ebp - 0x8d4]
movzx ecx, word [ecx + 0x38]
cdq
idiv ecx
push eax
mov ecx, dword [ebp - 0x8d4]
add ecx, 0x1e9c
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetWidth_void_]
mov edx, dword [ebp - 0x8d4]
movzx ecx, word [edx + 0x36]
cdq
idiv ecx
push eax
mov ecx, dword [ebp - 0x8d4]
add ecx, 4
call fcn.00431800
mov edx, dword [ebp - 0x8d4]
movzx eax, byte [edx + 0x2f]
cmp eax, 1
jne 0x45510a
mov word [ebp - 0x840], 0
jmp 0x454ed6
mov cx, word [ebp - 0x840]
add cx, 1
mov word [ebp - 0x840], cx
movzx edx, word [ebp - 0x840]
movzx eax, word [ebp + 0xc]
cmp edx, eax
jge 0x45510a
mov cx, word [0x475d70]
mov word [ebp - 0x8c4], cx
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x8c2]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [ebp - 0x8d4]
movzx eax, byte [edx + 0x2c]
cmp eax, 1
jne 0x455105
movzx ecx, word [ebp - 0x840]
add ecx, 1
push ecx
push str.Rect_Name_d
push 0x40
lea edx, [ebp - 0x8c4]
push edx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x8c4]
push ecx
push 0x475d8c
movzx edx, word [ebp - 0x840]
shl edx, 4
mov eax, dword [ebp - 0x8d4]
lea ecx, [eax + edx + 0x378]
push ecx
mov ecx, dword [ebp - 0x8d4]
call fcn.00455910
movzx edx, word [ebp - 0x840]
add edx, 1
push edx
push str.Point_Ready_d
push 0x40
lea eax, [ebp - 0x8c4]
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x8c4]
push edx
push 0x475dbc
movzx eax, word [ebp - 0x840]
mov ecx, dword [ebp - 0x8d4]
lea edx, [ecx + eax*8 + 0x58]
push edx
mov ecx, dword [ebp - 0x8d4]
call fcn.00455a10
movzx eax, word [ebp - 0x840]
add eax, 1
push eax
push str.DrawStyle_d
push 0x40
lea ecx, [ebp - 0x8c4]
push ecx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
lea edx, [ebp - 0x21c]
push edx
push 0
lea eax, [ebp - 0x8c4]
push eax
push 0x475de8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
movzx ecx, word [ebp - 0x840]
mov edx, dword [ebp - 0x8d4]
mov dword [edx + ecx*4 + 0x1014], eax
movzx eax, word [ebp - 0x840]
add eax, 1
push eax
push str.Point_Chair_d
push 0x40
lea ecx, [ebp - 0x8c4]
push ecx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0x8c4]
push eax
push str.Position
lea ecx, [ebp - 0x8cc]
push ecx
mov ecx, dword [ebp - 0x8d4]
call fcn.00455a10
movzx edx, word [ebp - 0x840]
shl edx, 4
mov eax, dword [ebp - 0x8d4]
mov ecx, dword [ebp - 0x8c8]
mov dword [eax + edx + 0x9bc], ecx
movzx edx, word [ebp - 0x840]
shl edx, 4
mov eax, dword [ebp - 0x8d4]
mov ecx, dword [ebp - 0x8cc]
mov dword [eax + edx + 0x9b8], ecx
movzx edx, word [ebp - 0x840]
shl edx, 4
mov eax, dword [ebp - 0x8d4]
mov ecx, dword [eax + edx + 0x9b8]
mov edx, dword [ebp - 0x8d4]
add ecx, dword [edx + 4]
movzx eax, word [ebp - 0x840]
shl eax, 4
mov edx, dword [ebp - 0x8d4]
mov dword [edx + eax + 0x9c0], ecx
movzx eax, word [ebp - 0x840]
shl eax, 4
mov ecx, dword [ebp - 0x8d4]
mov edx, dword [ecx + eax + 0x9bc]
mov eax, dword [ebp - 0x8d4]
add edx, dword [eax + 8]
movzx ecx, word [ebp - 0x840]
shl ecx, 4
mov eax, dword [ebp - 0x8d4]
mov dword [eax + ecx + 0x9c4], edx
jmp 0x454ec4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00460cbd
pop edi
mov esp, ebp
pop ebp
ret 0xc