Function at 0x43ba20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45abac
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8d8
mov eax, dword [0x4792c4]
push ebx
mov dword [esp + 0x8d4], eax
mov eax, dword [ebp + 8]
test eax, eax
push esi
push edi
mov esi, ecx
je 0x43bc21
cmp word [ebp + 0xc], 0x64
ja 0x43bc21
xor eax, eax
mov word [esp + 0x4c0], 0
mov ecx, 0x81
lea edi, [esp + 0x4c2]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x4c0]
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 + 0x1634]
je 0x43baba
mov ecx, dword [ebp + 8]
push ecx
lea edx, [esp + 0x4c4]
push edx
push str._s_sAvertCheatMode
jmp 0x43bacb
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0x4c4]
push ecx
push 0x467c50
push 0x104
push ebx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x14
mov word [esp + 0xb0], 0
xor eax, eax
mov ecx, 0x81
lea edi, [esp + 0xb2]
push ebx
rep stosd dword es:[edi], eax
push str._sTableResource.INI
lea edx, [esp + 0xb8]
push 0x104
push edx
stosw word es:[edi], ax
call dword [sym.imp.MSVCR71.dll__snwprintf]
mov al, byte [ebp + 0x10]
add esp, 0x10
test al, al
je 0x43bc4c
xor eax, eax
mov word [esp + 0x2b8], 0
mov ecx, 0x81
lea edi, [esp + 0x2ba]
rep stosd dword es:[edi], eax
push ebx
push str._sTable.png
stosw word es:[edi], ax
lea eax, [esp + 0x2c0]
push 0x104
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
lea ecx, [esp + 0x6c8]
call dword [sym.imp.WHImage.dll_public:_void___thiscall_CPngImage::constructor_void_]
lea ecx, [esp + 0x2b8]
push ecx
lea ecx, [esp + 0x6cc]
mov dword [esp + 0x8f0], 0
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::LoadImageW_wchar_t_const__]
test al, al
jne 0x43bbd6
lea edx, [esp + 0x4c0]
push edx
push str._sAvertCheatMode
xor eax, eax
push 0x104
mov ecx, 0x82
mov edi, ebx
push ebx
rep stosd dword es:[edi], eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
push ebx
xor eax, eax
mov ecx, 0x82
lea edi, [esp + 0xc4]
push str._sTableResource.INI
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc8]
push 0x104
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x20
push ebx
push str._sWaitDistribute.bmp
lea ecx, [esp + 0x2c0]
push 0x104
push ecx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
lea edx, [esp + 0x2b8]
push edx
lea ecx, [esi + 0x2304]
call fcn.0043b2c0
test eax, eax
lea ecx, [esp + 0x6c8]
mov dword [esp + 0x8ec], 0xffffffff
jge 0x43bc46
call dword [sym.imp.WHImage.dll_public_virtual:_void___thiscall_CPngImage::destructor_void_]
xor al, al
mov ecx, dword [esp + 0x8e4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x8dc]
call fcn.0044370d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.WHImage.dll_public_virtual:_void___thiscall_CPngImage::destructor_void_]
lea eax, [esp + 0xb0]
push eax
push str.Color_Name
push str.Color
lea ecx, [esi + 0x1308]
push ecx
mov ecx, esi
call fcn.00437340
lea edx, [esp + 0xb0]
push edx
push str.Color_Member
push str.Color
lea eax, [esi + 0x130c]
push eax
mov ecx, esi
call fcn.00437340
lea ecx, [esp + 0xb0]
push ecx
push str.Color_Master
push str.Color
lea edx, [esi + 0x1310]
push edx
mov ecx, esi
call fcn.00437340
lea eax, [esp + 0xb0]
push eax
push str.Point_Lock
push str.Position
lea ecx, [esi + 0x30]
push ecx
mov ecx, esi
call fcn.004371b0
lea edx, [esp + 0xb0]
push edx
push str.Point_Enter
push str.Position
lea eax, [esi + 0x38]
push eax
mov ecx, esi
call fcn.004371b0
lea ecx, [esp + 0xb0]
push ecx
push str.Point_TableID
push str.Position
lea edx, [esi + 0x40]
push edx
mov ecx, esi
call fcn.004371b0
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea eax, [esp + 0xb0]
push eax
push 1
push str.ShowUser
push str.Attribute
call edi
dec eax
lea ecx, [esp + 0xb0]
push ecx
neg eax
push 1
sbb al, al
push str.ShowChair
inc al
push str.Attribute
mov byte [esi + 0x1c], al
call edi
dec eax
lea edx, [esp + 0xb0]
push edx
neg eax
push 1
sbb al, al
push str.ShowTable
inc al
push str.Attribute
mov byte [esi + 0x1e], al
call edi
dec eax
neg eax
sbb al, al
inc al
mov byte [esi + 0x1f], al
lea eax, [esp + 0xb0]
push eax
push 1
push str.ShowFocus
push str.Attribute
call edi
dec eax
lea ecx, [esp + 0xb0]
push ecx
neg eax
push 0
sbb al, al
push str.ShowEnter
inc al
push str.Attribute
mov byte [esi + 0x20], al
call edi
dec eax
lea edx, [esp + 0xb0]
push edx
neg eax
push 0
sbb al, al
push str.CustomUser
inc al
push str.Attribute
mov byte [esi + 0x1d], al
call edi
dec eax
neg eax
sbb al, al
inc al
mov byte [esi + 0x21], al
lea eax, [esp + 0xb0]
push eax
push 1
push str.ShowTableID
push str.Attribute
call edi
dec eax
lea ecx, [esp + 0xb0]
push ecx
neg eax
push 1
sbb al, al
push str.RenderImage
inc al
push str.Attribute
mov byte [esi + 0x22], al
call edi
dec eax
lea edx, [esp + 0xb0]
push edx
neg eax
push 2
sbb al, al
push str.TableItemCount
inc al
push str.Attribute
mov byte [esi + 0x23], al
call edi
mov word [esi + 0x24], ax
movzx eax, word [ebp + 0xc]
lea ecx, [esp + 0xb0]
push ecx
push eax
push str.ChairItemCount
push str.Attribute
mov dword [esp + 0x2c], eax
call edi
lea edx, [esp + 0xb0]
push edx
push 1
push str.UserGenreCount
push str.Attribute
mov word [esi + 0x26], ax
call edi
mov word [esi + 0x28], ax
lea eax, [esp + 0xb0]
push eax
push 1
push str.TableGenreCount
push str.Attribute
call edi
lea ecx, [esp + 0xb0]
push ecx
push 1
push str.ChairGenreCount
push str.Attribute
mov word [esi + 0x2a], ax
call edi
mov word [esi + 0x2c], ax
call dword [sym.imp.SkinControl.dll_public:_static_class_CSkinRenderManager____cdecl_CSkinRenderManager::GetInstance_void_]
push eax
mov ecx, esi
call fcn.0043b370
test al, al
je 0x43bc21
lea edi, [esi + 0x183c]
mov ecx, edi
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::IsNull_void_]
test al, al
jne 0x43bedb
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 + 0x1a50]
test eax, eax
je 0x43bf07
movzx ecx, word [esi + 0x2c]
mov eax, dword [esi + 0x1a5c]
cdq
idiv ecx
movzx edi, word [esi + 0x26]
mov ecx, eax
mov eax, dword [esi + 0x1a58]
cdq
idiv edi
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
mov eax, dword [esi + 0x1c88]
test eax, eax
je 0x43bf33
movzx ecx, word [esi + 0x2a]
mov eax, dword [esi + 0x1c94]
cdq
idiv ecx
movzx edi, word [esi + 0x24]
mov ecx, eax
mov eax, dword [esi + 0x1c90]
cdq
idiv edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0xc], eax
lea edi, [esi + 0x20f4]
mov ecx, edi
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::IsNull_void_]
test al, al
jne 0x43bf6b
mov ecx, edi
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetHeight_void_]
movzx ecx, word [esi + 0x28]
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 + 0x26]
cdq
idiv ecx
mov dword [esi + 8], ebx
mov dword [esi + 4], eax
cmp byte [esi + 0x1f], 1
jne 0x43c14c
cmp word [ebp + 0xc], 0
jbe 0x43c14c
mov ecx, dword [esp + 0x1c]
lea edx, [esi + 0x368]
lea eax, [esi + 0x1314]
mov dword [esp + 0x10], 1
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
lea ebx, [esi + 0xccc]
mov dword [esp + 0x1c], ecx
lea ebx, [ebx]
xor eax, eax
mov word [esp + 0x30], 0
mov ecx, 0x1f
lea edi, [esp + 0x32]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp byte [esi + 0x1c], 1
jne 0x43c11b
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.MSVCR71.dll__snwprintf]
push edx
push str.Rect_Name_d
lea eax, [esp + 0x38]
push 0x40
push eax
call edi
add esp, 0x10
lea ecx, [esp + 0xb0]
push ecx
lea edx, [esp + 0x34]
push edx
push str.Position
lea eax, [ebx - 0x644]
push eax
mov ecx, esi
call fcn.004370d0
mov ecx, dword [esp + 0x10]
push ecx
push str.Point_Ready_d
lea edx, [esp + 0x38]
push 0x40
push edx
call edi
mov edx, dword [esp + 0x28]
add esp, 0x10
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x34]
push ecx
push str.Position
add edx, 0xfffffce0
push edx
mov ecx, esi
call fcn.004371b0
mov eax, dword [esp + 0x10]
push eax
push str.DrawStyle_d
lea ecx, [esp + 0x38]
push 0x40
push ecx
call edi
add esp, 0x10
lea edx, [esp + 0xb0]
push edx
push 0
lea eax, [esp + 0x38]
push eax
push str.Position
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edx
push str.Point_Chair_d
mov dword [ecx + 0x190], eax
lea eax, [esp + 0x38]
push 0x40
push eax
call edi
add esp, 0x10
lea ecx, [esp + 0xb0]
push ecx
lea edx, [esp + 0x34]
push edx
push str.Position
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.004371b0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
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]
mov edx, dword [esp + 0x10]
add ecx, eax
mov dword [ebx + 8], ecx
push edx
push str.Point_P_d
lea eax, [esp + 0x38]
push 0x40
push eax
call edi
mov ecx, dword [esp + 0x24]
add esp, 0x10
push ecx
lea edx, [esp + 0xb4]
push edx
lea eax, [esp + 0x38]
push eax
push str.Position
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
call fcn.00437270
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add eax, 4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
add ebx, 0x10
inc edx
add ecx, 8
dec eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
jne 0x43bfb0
mov al, 1
jmp 0x43bc23