Function at 0x4737a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4870d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb20
mov eax, dword [0x4b33f0]
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0xb2c], ecx
cmp dword [ebp + 8], 0
je 0x4737dc
movzx eax, word [ebp + 0xc]
cmp eax, 0x64
jle 0x4737e3
xor al, al
jmp 0x47424a
mov cx, word [0x49f06c]
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 0x4738b7
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x424]
push edx
push str._s_sAvertCheatMode
push 0x104
mov eax, dword [ebp - 0xb2c]
add eax, 0x11a0
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x14
lea ecx, [ebp - 0x674]
push ecx
mov edx, dword [ebp - 0xb2c]
add edx, 0x11a0
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x678], eax
cmp dword [ebp - 0x678], 0xffffffff
je 0x473881
mov eax, dword [ebp - 0x674]
and eax, 0x10
jne 0x4738a8
lea ecx, [ebp - 0x424]
push ecx
push 0x49f09c
push 0x104
mov edx, dword [ebp - 0xb2c]
add edx, 0x11a0
push edx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
mov eax, dword [ebp - 0x678]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4738e1
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x424]
push edx
push 0x49f0c0
push 0x104
mov eax, dword [ebp - 0xb2c]
add eax, 0x11a0
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x14
mov cx, word [0x49f0cc]
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 - 0xb2c]
add edx, 0x11a0
push edx
push 0x49f0d0
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 0x473adf
mov dx, word [0x49f0fc]
mov word [ebp - 0xa94], dx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0xa92]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp - 0xb2c]
add eax, 0x11a0
push eax
push 0x49f100
push 0x104
lea ecx, [ebp - 0xa94]
push ecx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
lea ecx, [ebp - 0x88c]
call dword [sym.imp.WHImage.dll_public:_void___thiscall_CPngImage::constructor_void_]
mov dword [ebp - 4], 0
lea edx, [ebp - 0xa94]
push edx
lea ecx, [ebp - 0x88c]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::LoadImageW_wchar_t_const__]
movzx eax, al
test eax, eax
jne 0x473a24
push 0x208
push 0
mov ecx, dword [ebp - 0xb2c]
add ecx, 0x11a0
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 - 0xb2c]
add eax, 0x11a0
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 - 0xb2c]
add edx, 0x11a0
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 - 0xb2c]
add ecx, 0x11a0
push ecx
push str._sWaitDistribute.bmp
push 0x104
lea edx, [ebp - 0xa94]
push edx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
lea eax, [ebp - 0xa94]
push eax
mov ecx, dword [ebp - 0xb2c]
add ecx, 0x1c60
call fcn.0047cbc0
test eax, eax
jge 0x473a8c
mov byte [ebp - 0xb25], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88c]
call dword [sym.imp.WHImage.dll_public_virtual:_void___thiscall_CPngImage::destructor_void_]
mov al, byte [ebp - 0xb25]
jmp 0x47424a
mov ecx, dword [ebp - 0xb2c]
add ecx, 0x11a0
push ecx
push str._sAnimalDistribute.png
push 0x104
lea edx, [ebp - 0xa94]
push edx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
lea eax, [ebp - 0xa94]
push eax
mov ecx, dword [ebp - 0xb2c]
add ecx, 0x1e98
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::LoadImageW_wchar_t_const__]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88c]
call dword [sym.imp.WHImage.dll_public_virtual:_void___thiscall_CPngImage::destructor_void_]
lea ecx, [ebp - 0x21c]
push ecx
push str.Color_Name
push 0x49f1e0
mov edx, dword [ebp - 0xb2c]
add edx, 0x1004
push edx
mov ecx, dword [ebp - 0xb2c]
call fcn.00474d20
lea eax, [ebp - 0x21c]
push eax
push str.Color_Member
push 0x49f208
mov ecx, dword [ebp - 0xb2c]
add ecx, 0x1008
push ecx
mov ecx, dword [ebp - 0xb2c]
call fcn.00474d20
lea edx, [ebp - 0x21c]
push edx
push str.Color_Master
push str.Color
mov eax, dword [ebp - 0xb2c]
add eax, 0x100c
push eax
mov ecx, dword [ebp - 0xb2c]
call fcn.00474d20
lea ecx, [ebp - 0x21c]
push ecx
push str.Point_Lock
push 0x49f254
mov edx, dword [ebp - 0xb2c]
add edx, 0x4c
push edx
mov ecx, dword [ebp - 0xb2c]
call fcn.00474c50
lea eax, [ebp - 0x21c]
push eax
push str.Point_Enter
push 0x49f280
mov ecx, dword [ebp - 0xb2c]
add ecx, 0x54
push ecx
mov ecx, dword [ebp - 0xb2c]
call fcn.00474c50
lea edx, [ebp - 0x21c]
push edx
push str.Point_TableID
push 0x49f2b0
mov eax, dword [ebp - 0xb2c]
add eax, 0x5c
push eax
mov ecx, dword [ebp - 0xb2c]
call fcn.00474c50
lea ecx, [ebp - 0x21c]
push ecx
push 1
push str.ShowUser
push 0x49f2d8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov edx, dword [ebp - 0xb2c]
mov byte [edx + 0x2c], al
lea eax, [ebp - 0x21c]
push eax
push 1
push str.ShowChair
push 0x49f300
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0xb2c]
mov byte [ecx + 0x2e], al
lea edx, [ebp - 0x21c]
push edx
push 1
push str.ShowTable
push 0x49f328
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0xb2c]
mov byte [ecx + 0x2f], al
lea edx, [ebp - 0x21c]
push edx
push 1
push str.ShowFocus
push 0x49f350
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0xb2c]
mov byte [ecx + 0x30], al
lea edx, [ebp - 0x21c]
push edx
push 0
push str.ShowEnter
push 0x49f378
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0xb2c]
mov byte [ecx + 0x2d], al
lea edx, [ebp - 0x21c]
push edx
push 0
push str.CustomUser
push 0x49f3a4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0xb2c]
mov byte [ecx + 0x31], al
lea edx, [ebp - 0x21c]
push edx
push 1
push str.ShowTableID
push 0x49f3d0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0xb2c]
mov byte [ecx + 0x32], al
lea edx, [ebp - 0x21c]
push edx
push 1
push str.RenderImage
push 0x49f3fc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0xb2c]
mov byte [ecx + 0x33], al
lea edx, [ebp - 0x21c]
push edx
push 0
push str.ShowCellScore
push 0x49f42c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
sub eax, 1
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 0xb2c]
mov byte [ecx + 0x34], al
lea edx, [ebp - 0x21c]
push edx
push 2
push str.TableItemCount
push 0x49f460
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0xb2c]
mov word [ecx + 0x36], ax
lea edx, [ebp - 0x21c]
push edx
movzx eax, word [ebp + 0xc]
push eax
push str.ChairItemCount
push 0x49f494
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0xb2c]
mov word [ecx + 0x38], ax
lea edx, [ebp - 0x21c]
push edx
push 1
push str.UserGenreCount
push 0x49f4c8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0xb2c]
mov word [ecx + 0x3a], ax
lea edx, [ebp - 0x21c]
push edx
push 1
push str.TableGenreCount
push 0x49f4fc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0xb2c]
mov word [ecx + 0x3c], ax
lea edx, [ebp - 0x21c]
push edx
push 1
push str.ChairGenreCount
push 0x49f530
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0xb2c]
mov word [ecx + 0x3e], ax
lea edx, [ebp - 0x21c]
push edx
push str.Point_DistributeAnimal
push 0x49f574
mov eax, dword [ebp - 0xb2c]
add eax, 0x40
push eax
mov ecx, dword [ebp - 0xb2c]
call fcn.00474c50
lea ecx, [ebp - 0x21c]
push ecx
push 0
push str.DistributeAnimalFrame
push str.Animation
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 0xb2c]
mov dword [edx + 0x48], eax
call dword [sym.imp.SkinControl.dll_public:_static_class_CSkinRenderManager____cdecl_CSkinRenderManager::GetInstance_void_]
push eax
mov ecx, dword [ebp - 0xb2c]
call fcn.00474270
movzx eax, al
test eax, eax
jne 0x473e5f
xor al, al
jmp 0x47424a
mov ecx, dword [ebp - 0xb2c]
add ecx, 0x13a8
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::IsNull_void_]
movzx ecx, al
test ecx, ecx
jne 0x473eb5
mov ecx, dword [ebp - 0xb2c]
add ecx, 0x13a8
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetHeight_void_]
push eax
mov ecx, dword [ebp - 0xb2c]
add ecx, 0x13a8
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 - 0xb2c]
add ecx, 0x14
call fcn.0040cd50
mov ecx, dword [ebp - 0xb2c]
add ecx, 0x15b8
call fcn.00465670
movzx edx, al
test edx, edx
jne 0x473f19
mov ecx, dword [ebp - 0xb2c]
add ecx, 0x15b8
call fcn.0044f8e0
mov ecx, dword [ebp - 0xb2c]
movzx ecx, word [ecx + 0x3e]
cdq
idiv ecx
push eax
mov ecx, dword [ebp - 0xb2c]
add ecx, 0x15b8
call fcn.0046cef0
mov edx, dword [ebp - 0xb2c]
movzx ecx, word [edx + 0x38]
cdq
idiv ecx
push eax
mov ecx, dword [ebp - 0xb2c]
add ecx, 4
call fcn.0040cd50
mov ecx, dword [ebp - 0xb2c]
add ecx, 0x17f0
call fcn.00465670
movzx edx, al
test edx, edx
jne 0x473f7d
mov ecx, dword [ebp - 0xb2c]
add ecx, 0x17f0
call fcn.0044f8e0
mov ecx, dword [ebp - 0xb2c]
movzx ecx, word [ecx + 0x3c]
cdq
idiv ecx
push eax
mov ecx, dword [ebp - 0xb2c]
add ecx, 0x17f0
call fcn.0046cef0
mov edx, dword [ebp - 0xb2c]
movzx ecx, word [edx + 0x36]
cdq
idiv ecx
push eax
mov ecx, dword [ebp - 0xb2c]
add ecx, 0xc
call fcn.0040cd50
mov ecx, dword [ebp - 0xb2c]
add ecx, 0x20a8
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::IsNull_void_]
movzx edx, al
test edx, edx
jne 0x473fe4
mov ecx, dword [ebp - 0xb2c]
add ecx, 0x20a8
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetHeight_void_]
mov ecx, dword [ebp - 0xb2c]
movzx ecx, word [ecx + 0x3a]
cdq
idiv ecx
push eax
mov ecx, dword [ebp - 0xb2c]
add ecx, 0x20a8
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetWidth_void_]
mov edx, dword [ebp - 0xb2c]
movzx ecx, word [edx + 0x38]
cdq
idiv ecx
push eax
mov ecx, dword [ebp - 0xb2c]
add ecx, 4
call fcn.0040cd50
mov edx, dword [ebp - 0xb2c]
movzx eax, byte [edx + 0x2f]
cmp eax, 1
jne 0x474248
mov word [ebp - 0xa98], 0
jmp 0x474014
mov cx, word [ebp - 0xa98]
add cx, 1
mov word [ebp - 0xa98], cx
movzx edx, word [ebp - 0xa98]
movzx eax, word [ebp + 0xc]
cmp edx, eax
jge 0x474248
mov cx, word [0x49f5c8]
mov word [ebp - 0xb1c], cx
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0xb1a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [ebp - 0xb2c]
movzx eax, byte [edx + 0x2c]
cmp eax, 1
jne 0x474243
movzx ecx, word [ebp - 0xa98]
add ecx, 1
push ecx
push str.Rect_Name_d
push 0x40
lea edx, [ebp - 0xb1c]
push edx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0xb1c]
push ecx
push 0x49f5e4
movzx edx, word [ebp - 0xa98]
shl edx, 4
mov eax, dword [ebp - 0xb2c]
lea ecx, [eax + edx + 0x384]
push ecx
mov ecx, dword [ebp - 0xb2c]
call fcn.00474b50
movzx edx, word [ebp - 0xa98]
add edx, 1
push edx
push str.Point_Ready_d
push 0x40
lea eax, [ebp - 0xb1c]
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0xb1c]
push edx
push 0x49f614
movzx eax, word [ebp - 0xa98]
mov ecx, dword [ebp - 0xb2c]
lea edx, [ecx + eax*8 + 0x64]
push edx
mov ecx, dword [ebp - 0xb2c]
call fcn.00474c50
movzx eax, word [ebp - 0xa98]
add eax, 1
push eax
push str.DrawStyle_d
push 0x40
lea ecx, [ebp - 0xb1c]
push ecx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
lea edx, [ebp - 0x21c]
push edx
push 0
lea eax, [ebp - 0xb1c]
push eax
push 0x49f640
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
movzx ecx, word [ebp - 0xa98]
mov edx, dword [ebp - 0xb2c]
mov dword [edx + ecx*4 + 0x1010], eax
movzx eax, word [ebp - 0xa98]
add eax, 1
push eax
push str.Point_Chair_d
push 0x40
lea ecx, [ebp - 0xb1c]
push ecx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
lea edx, [ebp - 0x21c]
push edx
lea eax, [ebp - 0xb1c]
push eax
push 0x49f670
lea ecx, [ebp - 0xb24]
push ecx
mov ecx, dword [ebp - 0xb2c]
call fcn.00474c50
movzx edx, word [ebp - 0xa98]
shl edx, 4
mov eax, dword [ebp - 0xb2c]
mov ecx, dword [ebp - 0xb20]
mov dword [eax + edx + 0x9c8], ecx
movzx edx, word [ebp - 0xa98]
shl edx, 4
mov eax, dword [ebp - 0xb2c]
mov ecx, dword [ebp - 0xb24]
mov dword [eax + edx + 0x9c4], ecx
movzx edx, word [ebp - 0xa98]
shl edx, 4
mov eax, dword [ebp - 0xb2c]
mov ecx, dword [eax + edx + 0x9c4]
mov edx, dword [ebp - 0xb2c]
add ecx, dword [edx + 4]
movzx eax, word [ebp - 0xa98]
shl eax, 4
mov edx, dword [ebp - 0xb2c]
mov dword [edx + eax + 0x9cc], ecx
movzx eax, word [ebp - 0xa98]
shl eax, 4
mov ecx, dword [ebp - 0xb2c]
mov edx, dword [ecx + eax + 0x9c8]
mov eax, dword [ebp - 0xb2c]
add edx, dword [eax + 8]
movzx ecx, word [ebp - 0xa98]
shl ecx, 4
mov eax, dword [ebp - 0xb2c]
mov dword [eax + ecx + 0x9d0], edx
jmp 0x474002
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
call fcn.0048124d
pop edi
mov esp, ebp
pop ebp
ret 0xc