Function at 0x455690
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4681f4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c8
mov eax, dword [0x485230]
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0x8d4], ecx
cmp dword [ebp + 8], 0
je 0x4556cc
movzx eax, word [ebp + 0xc]
cmp eax, 0x64
jle 0x4556d3
xor al, al
jmp 0x45607c
mov cx, word [0x477964]
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 0x45573b
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 0x455765
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 [0x4779a0]
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 0x4779a4
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 0x455923
mov dx, word [0x4779d0]
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 0x4779d4
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 0x4558a8
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.0045d2b0
test eax, eax
jge 0x455910
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 0x45607c
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 0x477a84
mov edx, dword [ebp - 0x8d4]
add edx, 0x1008
push edx
mov ecx, dword [ebp - 0x8d4]
call fcn.00456a50
lea eax, [ebp - 0x21c]
push eax
push str.Color_Member
push 0x477aac
mov ecx, dword [ebp - 0x8d4]
add ecx, 0x100c
push ecx
mov ecx, dword [ebp - 0x8d4]
call fcn.00456a50
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.00456a50
lea ecx, [ebp - 0x21c]
push ecx
push str.Point_Lock
push 0x477af8
mov edx, dword [ebp - 0x8d4]
add edx, 0x40
push edx
mov ecx, dword [ebp - 0x8d4]
call fcn.00456980
lea eax, [ebp - 0x21c]
push eax
push str.Point_Enter
push 0x477b24
mov ecx, dword [ebp - 0x8d4]
add ecx, 0x48
push ecx
mov ecx, dword [ebp - 0x8d4]
call fcn.00456980
lea edx, [ebp - 0x21c]
push edx
push str.Point_TableID
push 0x477b54
mov eax, dword [ebp - 0x8d4]
add eax, 0x50
push eax
mov ecx, dword [ebp - 0x8d4]
call fcn.00456980
lea ecx, [ebp - 0x21c]
push ecx
push 1
push str.ShowUser
push 0x477b7c
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 0x477ba4
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 0x477bcc
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 0x477bf4
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 0x477c1c
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 0x477c48
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 0x477c74
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 0x477ca0
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 0x477cd4
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 0x477d08
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 0x477d3c
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 0x477d70
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.004560a0
movzx edx, al
test edx, edx
jne 0x455c31
xor al, al
jmp 0x45607c
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 0x455c87
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.00408cd0
mov ecx, dword [ebp - 0x8d4]
add ecx, 0x15bc
call fcn.0045d290
movzx ecx, al
test ecx, ecx
jne 0x455ceb
mov ecx, dword [ebp - 0x8d4]
add ecx, 0x15bc
call fcn.00402800
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.004327c0
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.00408cd0
mov ecx, dword [ebp - 0x8d4]
add ecx, 0x17f4
call fcn.0045d290
movzx edx, al
test edx, edx
jne 0x455d4f
mov ecx, dword [ebp - 0x8d4]
add ecx, 0x17f4
call fcn.00402800
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.004327c0
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.00408cd0
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 0x455e16
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.00408cd0
mov edx, dword [ebp - 0x8d4]
movzx eax, byte [edx + 0x2f]
cmp eax, 1
jne 0x45607a
mov word [ebp - 0x840], 0
jmp 0x455e46
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 0x45607a
mov cx, word [0x477db8]
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 0x456075
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 0x477dd4
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.00456880
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 0x477e04
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.00456980
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 0x477e30
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.00456980
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 0x455e34
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00462b3d
pop edi
mov esp, ebp
pop ebp
ret 0xc