Function at 0x44ab80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x452c4c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x910
mov eax, dword [0x474388]
xor eax, ebp
push ebx
mov dword [esp + 0x90c], eax
mov eax, dword [ebp + 8]
test eax, eax
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], eax
je 0x44add0
cmp word [ebp + 0xc], 0x64
ja 0x44add0
xor eax, eax
mov word [esp + 0x708], 0
mov ecx, 0x81
lea edi, [esp + 0x70a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x708]
push 0x104
push eax
call dword [sym.imp.ServiceCore.dll_public:_static_bool___cdecl_CWHService::GetWorkDirectory_wchar_t__const__unsigned_short_int_]
mov al, byte [ebp + 0x10]
add esp, 8
test al, al
lea ebx, [esi + 0x11a0]
je 0x44ac6d
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x70c]
push edx
push str._s_sAvertCheatMode
push 0x104
push ebx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x14
lea eax, [esp + 0x28]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x44ac48
test byte [esp + 0x28], 0x10
jne 0x44ac64
lea ecx, [esp + 0x708]
push ecx
push str._sAvertCheatMode
push 0x104
push ebx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x44ac8e
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x70c]
push eax
push 0x45cf40
push 0x104
push ebx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x14
mov word [esp + 0x2f8], 0
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x2fa]
rep stosd dword es:[edi], eax
push ebx
push str._sTableResource.INI
lea ecx, [esp + 0x300]
push 0x104
push ecx
stosw word es:[edi], ax
call dword [sym.imp.MSVCR71.dll__snwprintf]
mov al, byte [ebp + 0x10]
add esp, 0x10
test al, al
je 0x44ae38
mov word [esp + 0x500], 0
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0x502]
rep stosd dword es:[edi], eax
push ebx
push str._sTable.png
lea edx, [esp + 0x508]
stosw word es:[edi], ax
mov edi, dword [sym.imp.MSVCR71.dll__snwprintf]
push 0x104
push edx
call edi
add esp, 0x10
lea ecx, [esp + 0x28]
call dword [sym.imp.WHImage.dll_public:_void___thiscall_CPngImage::constructor_void_]
lea eax, [esp + 0x500]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x928], 0
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::LoadImageW_wchar_t_const__]
test al, al
jne 0x44ad8c
xor eax, eax
mov ecx, 0x82
mov edi, ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x708]
push ecx
push str._sAvertCheatMode
push 0x104
push ebx
call dword [sym.imp.MSVCR71.dll__snwprintf]
push ebx
push str._sTableResource.INI
lea edx, [esp + 0x310]
xor eax, eax
push 0x104
mov ecx, 0x82
lea edi, [esp + 0x314]
push edx
rep stosd dword es:[edi], eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
mov edi, dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x20
push ebx
push str._sWaitDistribute.bmp
lea eax, [esp + 0x508]
push 0x104
push eax
call edi
add esp, 0x10
lea ecx, [esp + 0x500]
push ecx
lea ecx, [esi + 0x1c60]
call fcn.00449b70
test eax, eax
jge 0x44adf7
lea ecx, [esp + 0x28]
mov dword [esp + 0x924], 0xffffffff
call dword [sym.imp.WHImage.dll_public_virtual:_void___thiscall_CPngImage::destructor_void_]
xor al, al
mov ecx, dword [esp + 0x91c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x914]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044d9cf
mov esp, ebp
pop ebp
ret 0xc
push ebx
push str._sAnimalDistribute.png
lea edx, [esp + 0x508]
push 0x104
push edx
call edi
add esp, 0x10
lea eax, [esp + 0x500]
push eax
lea ecx, [esi + 0x1e98]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::LoadImageW_wchar_t_const__]
lea ecx, [esp + 0x28]
mov dword [esp + 0x924], 0xffffffff
call dword [sym.imp.WHImage.dll_public_virtual:_void___thiscall_CPngImage::destructor_void_]
lea ecx, [esp + 0x2f8]
push ecx
push str.Color_Name
push str.Color
lea edx, [esi + 0x1004]
push edx
mov ecx, esi
call fcn.00444640
lea eax, [esp + 0x2f8]
push eax
push str.Color_Member
push str.Color
lea ecx, [esi + 0x1008]
push ecx
mov ecx, esi
call fcn.00444640
lea edx, [esp + 0x2f8]
push edx
push str.Color_Master
push str.Color
lea eax, [esi + 0x100c]
push eax
mov ecx, esi
call fcn.00444640
lea ecx, [esp + 0x2f8]
push ecx
push str.Point_Lock
push str.Position
lea edx, [esi + 0x4c]
push edx
mov ecx, esi
call fcn.00444570
lea eax, [esp + 0x2f8]
push eax
push str.Point_Enter
push str.Position
lea ecx, [esi + 0x54]
push ecx
mov ecx, esi
call fcn.00444570
lea edx, [esp + 0x2f8]
push edx
push str.Point_TableID
push str.Position
lea eax, [esi + 0x5c]
push eax
mov ecx, esi
call fcn.00444570
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [esp + 0x2f8]
push ecx
push 1
push str.ShowUser
push str.Attribute
call edi
dec eax
lea edx, [esp + 0x2f8]
push edx
neg eax
push 1
sbb al, al
push str.ShowChair
inc al
push str.Attribute
mov byte [esi + 0x2c], al
call edi
dec eax
neg eax
sbb al, al
inc al
mov byte [esi + 0x2e], al
lea eax, [esp + 0x2f8]
push eax
push 1
push str.ShowTable
push str.Attribute
call edi
dec eax
neg eax
sbb al, al
inc al
lea ecx, [esp + 0x2f8]
push ecx
push 1
push str.ShowFocus
push str.Attribute
mov byte [esi + 0x2f], al
call edi
dec eax
lea edx, [esp + 0x2f8]
push edx
neg eax
push 0
sbb al, al
push str.ShowEnter
inc al
push str.Attribute
mov byte [esi + 0x30], al
call edi
dec eax
neg eax
sbb al, al
inc al
mov byte [esi + 0x2d], al
lea eax, [esp + 0x2f8]
push eax
push 0
push str.CustomUser
push str.Attribute
call edi
dec eax
lea ecx, [esp + 0x2f8]
push ecx
neg eax
push 1
sbb al, al
push str.ShowTableID
inc al
push str.Attribute
mov byte [esi + 0x31], al
call edi
dec eax
lea edx, [esp + 0x2f8]
push edx
neg eax
push 1
sbb al, al
push str.RenderImage
inc al
push str.Attribute
mov byte [esi + 0x32], al
call edi
dec eax
neg eax
sbb al, al
inc al
mov byte [esi + 0x33], al
lea eax, [esp + 0x2f8]
push eax
push 0
push str.ShowCellScore
push str.Attribute
call edi
dec eax
lea ecx, [esp + 0x2f8]
push ecx
neg eax
push 2
sbb al, al
push str.TableItemCount
inc al
push str.Attribute
mov byte [esi + 0x34], al
call edi
mov word [esi + 0x36], ax
movzx eax, word [ebp + 0xc]
lea edx, [esp + 0x2f8]
push edx
push eax
push str.ChairItemCount
mov dword [esp + 0x24], eax
push str.Attribute
call edi
mov word [esi + 0x38], ax
lea eax, [esp + 0x2f8]
push eax
push 1
push str.UserGenreCount
push str.Attribute
call edi
lea ecx, [esp + 0x2f8]
push ecx
push 1
push str.TableGenreCount
push str.Attribute
mov word [esi + 0x3a], ax
call edi
lea edx, [esp + 0x2f8]
push edx
push 1
push str.ChairGenreCount
push str.Attribute
mov word [esi + 0x3c], ax
call edi
mov word [esi + 0x3e], ax
lea eax, [esp + 0x2f8]
push eax
push str.Point_DistributeAnimal
push str.Animation
lea ecx, [esi + 0x40]
push ecx
mov ecx, esi
call fcn.00444570
lea edx, [esp + 0x2f8]
push edx
push 0
push str.DistributeAnimalFrame
push str.Animation
call edi
mov dword [esi + 0x48], eax
call dword [sym.imp.SkinControl.dll_public:_static_class_CSkinRenderManager____cdecl_CSkinRenderManager::GetInstance_void_]
push eax
mov ecx, esi
call fcn.00449c20
test al, al
je 0x44add0
lea edi, [esi + 0x13a8]
mov ecx, edi
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::IsNull_void_]
test al, al
jne 0x44b11d
mov ecx, edi
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetHeight_void_]
mov ecx, edi
mov ebx, eax
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetWidth_void_]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ebx
mov eax, dword [esi + 0x15bc]
test eax, eax
je 0x44b149
movzx ecx, word [esi + 0x3e]
mov eax, dword [esi + 0x15c8]
cdq
idiv ecx
movzx edi, word [esi + 0x38]
mov ecx, eax
mov eax, dword [esi + 0x15c4]
cdq
idiv edi
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
mov eax, dword [esi + 0x17f4]
test eax, eax
je 0x44b175
movzx ecx, word [esi + 0x3c]
mov eax, dword [esi + 0x1800]
cdq
idiv ecx
movzx edi, word [esi + 0x36]
mov ecx, eax
mov eax, dword [esi + 0x17fc]
cdq
idiv edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0xc], eax
lea edi, [esi + 0x20a8]
mov ecx, edi
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::IsNull_void_]
test al, al
jne 0x44b1ad
mov ecx, edi
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetHeight_void_]
movzx ecx, word [esi + 0x3a]
cdq
idiv ecx
mov ecx, edi
mov ebx, eax
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetWidth_void_]
movzx ecx, word [esi + 0x38]
cdq
idiv ecx
mov dword [esi + 8], ebx
mov dword [esi + 4], eax
cmp byte [esi + 0x2f], 1
jne 0x44b356
cmp word [ebp + 0xc], 0
jbe 0x44b356
mov ecx, dword [esp + 0x18]
lea edx, [esi + 0x1010]
lea eax, [esi + 0x64]
mov dword [esp + 0x10], 1
lea ebx, [esi + 0x9c8]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
lea esp, [esp]
xor eax, eax
mov word [esp + 0x278], 0
mov ecx, 0x1f
lea edi, [esp + 0x27a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp byte [esi + 0x2c], 1
jne 0x44b325
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.MSVCR71.dll__snwprintf]
push edx
push str.Rect_Name_d
lea eax, [esp + 0x280]
push 0x40
push eax
call edi
add esp, 0x10
lea ecx, [esp + 0x2f8]
push ecx
lea edx, [esp + 0x27c]
push edx
push str.Position
lea eax, [ebx - 0x644]
push eax
mov ecx, esi
call fcn.00444470
mov ecx, dword [esp + 0x10]
push ecx
push str.Point_Ready_d
lea edx, [esp + 0x280]
push 0x40
push edx
call edi
mov edx, dword [esp + 0x24]
add esp, 0x10
lea eax, [esp + 0x2f8]
push eax
lea ecx, [esp + 0x27c]
push ecx
push str.Position
push edx
mov ecx, esi
call fcn.00444570
mov eax, dword [esp + 0x10]
push eax
push str.DrawStyle_d
lea ecx, [esp + 0x280]
push 0x40
push ecx
call edi
add esp, 0x10
lea edx, [esp + 0x2f8]
push edx
push 0
lea eax, [esp + 0x280]
push eax
push str.Position
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
push edx
push str.Point_Chair_d
mov dword [ecx], eax
lea eax, [esp + 0x280]
push 0x40
push eax
call edi
add esp, 0x10
lea ecx, [esp + 0x2f8]
push ecx
lea edx, [esp + 0x27c]
push edx
push str.Position
lea eax, [esp + 0x2c]
push eax
mov ecx, esi
call fcn.00444570
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [ebx - 4], ecx
mov dword [ebx], eax
mov edx, dword [esi + 4]
add edx, ecx
mov dword [ebx + 4], edx
mov ecx, dword [esi + 8]
add ecx, eax
mov dword [ebx + 8], ecx
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
add eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
add edi, 8
inc edx
add ebx, 0x10
dec eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
jne 0x44b1f0
mov al, 1
jmp 0x44add2