Function at 0x43ba20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4b4
mov eax, dword [0x45d1b4]
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
push esi
mov dword [esp + 0x4b8], eax
push edi
mov esi, ecx
je 0x43c0a0
cmp word [ebp + 0xc], 0x64
ja 0x43c0a0
xor eax, eax
mov word [esp + 0x2b0], 0
mov ecx, 0x81
lea edi, [esp + 0x2b2]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x2b0]
push 0x104
push eax
call dword [sym.imp.ServiceCore.dll_public:_static_bool___cdecl_CWHService::GetWorkDirectory_wchar_t__const__unsigned_short_int_]
push ebx
mov ebx, dword [sym.imp.MSVCR71.dll__snwprintf]
lea ecx, [esp + 0x2bc]
push ecx
push str._s_s
lea edx, [esi + 0x1634]
push 0x104
push edx
call ebx
xor eax, eax
mov word [esp + 0xc4], 0
mov ecx, 0x81
lea edi, [esp + 0xc6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [ebp + 8]
push edi
lea eax, [esp + 0x2d0]
push eax
push str._s_sTableResource.INI
lea ecx, [esp + 0xd0]
push 0x104
push ecx
call ebx
push edi
lea edx, [esp + 0x2e4]
push edx
push str._s_sTableResource.INI
lea eax, [esp + 0xe4]
push 0x104
push eax
call ebx
add esp, 0x44
lea ecx, [esp + 0xa8]
push ecx
push str.Color_Name
push str.Color
lea edx, [esi + 0x1498]
push edx
mov ecx, esi
call fcn.00437bb0
lea eax, [esp + 0xa8]
push eax
push str.Color_Member
push str.Color
lea ecx, [esi + 0x149c]
push ecx
mov ecx, esi
call fcn.00437bb0
lea edx, [esp + 0xa8]
push edx
push str.Color_Master
push str.Color
lea eax, [esi + 0x14a0]
push eax
mov ecx, esi
call fcn.00437bb0
lea ecx, [esp + 0xa8]
push ecx
push str.Point_Lock
push str.Position
lea edx, [esi + 0x30]
push edx
mov ecx, esi
call fcn.00437af0
lea eax, [esp + 0xa8]
push eax
push str.Point_Enter
push str.Position
lea ecx, [esi + 0x38]
push ecx
mov ecx, esi
call fcn.00437af0
lea edx, [esp + 0xa8]
push edx
push str.Point_TableID
push str.Position
lea eax, [esi + 0x40]
push eax
mov ecx, esi
call fcn.00437af0
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea ecx, [esp + 0xa8]
push ecx
push 1
push str.ShowUser
push str.Attribute
call ebx
dec eax
lea edx, [esp + 0xa8]
push edx
neg eax
push 1
sbb al, al
push str.ShowChair
inc al
push str.Attribute
mov byte [esi + 0x1c], al
call ebx
dec eax
neg eax
sbb al, al
inc al
mov byte [esi + 0x1e], al
lea eax, [esp + 0xa8]
push eax
push 1
push str.ShowTable
push str.Attribute
call ebx
dec eax
lea ecx, [esp + 0xa8]
push ecx
neg eax
push 1
sbb al, al
push str.ShowFocus
inc al
push str.Attribute
mov byte [esi + 0x1f], al
call ebx
dec eax
lea edx, [esp + 0xa8]
push edx
neg eax
push 0
sbb al, al
push str.ShowEnter
inc al
push str.Attribute
mov byte [esi + 0x20], al
call ebx
dec eax
neg eax
sbb al, al
inc al
mov byte [esi + 0x1d], al
lea eax, [esp + 0xa8]
push eax
push 0
push str.CustomUser
push str.Attribute
call ebx
dec eax
neg eax
lea ecx, [esp + 0xa8]
push ecx
sbb al, al
inc al
push 1
mov byte [esi + 0x21], al
push str.ShowTableID
push str.Attribute
call ebx
dec eax
lea edx, [esp + 0xa8]
push edx
neg eax
push 1
sbb al, al
push str.RenderImage
inc al
push str.Attribute
mov byte [esi + 0x22], al
call ebx
dec eax
neg eax
sbb al, al
inc al
mov byte [esi + 0x23], al
lea eax, [esp + 0xa8]
push eax
push 1
push str.ShowTableFrame
push str.Attribute
call ebx
dec eax
lea ecx, [esp + 0xa8]
push ecx
neg eax
push 2
sbb al, al
push str.TableItemCount
inc al
push str.Attribute
mov byte [esi + 0x24], al
call ebx
movzx edi, word [ebp + 0xc]
lea edx, [esp + 0xa8]
push edx
push edi
push str.ChairItemCount
push str.Attribute
mov word [esi + 0x26], ax
call ebx
mov word [esi + 0x28], ax
lea eax, [esp + 0xa8]
push eax
push 1
push str.UserGenreCount
push str.Attribute
call ebx
lea ecx, [esp + 0xa8]
push ecx
push 1
push str.TableGenreCount
push str.Attribute
mov word [esi + 0x2a], ax
call ebx
lea edx, [esp + 0xa8]
push edx
push 1
push str.ChairGenreCount
push str.Attribute
mov word [esi + 0x2c], ax
call ebx
mov ecx, dword [ebp + 0xc]
mov word [esi + 0x2e], ax
mov eax, dword [ebp + 0x10]
push eax
push ecx
call dword [sym.imp.SkinControl.dll_public:_static_class_CSkinRenderManager____cdecl_CSkinRenderManager::GetInstance_void_]
push eax
mov ecx, esi
call fcn.0043b3a0
test al, al
je 0x43c0a0
lea ecx, [esi + 0x183c]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::IsNull_void_]
test al, al
jne 0x43bdbf
lea ecx, [esi + 0x183c]
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetHeight_void_]
lea ecx, [esi + 0x183c]
mov dword [esp + 0xc], eax
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetWidth_void_]
cdq
and edx, 3
add eax, edx
mov edx, dword [esp + 0xc]
sar eax, 2
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], edx
mov eax, dword [esi + 0x1a50]
test eax, eax
je 0x43bdf1
movzx ecx, word [esi + 0x2e]
mov eax, dword [esi + 0x1a5c]
cdq
idiv ecx
movzx ecx, word [esi + 0x28]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x1a58]
cdq
idiv ecx
mov edx, dword [esp + 0xc]
mov dword [esi + 8], edx
mov dword [esi + 4], eax
mov eax, dword [esi + 0x1c88]
test eax, eax
je 0x43be23
movzx ecx, word [esi + 0x2c]
mov eax, dword [esi + 0x1c94]
cdq
idiv ecx
movzx ecx, word [esi + 0x26]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x1c90]
cdq
idiv ecx
mov edx, dword [esp + 0xc]
mov dword [esi + 0x10], edx
mov dword [esi + 0xc], eax
lea ecx, [esi + 0x20f4]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::IsNull_void_]
test al, al
jne 0x43be67
lea ecx, [esi + 0x20f4]
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetHeight_void_]
movzx ecx, word [esi + 0x2a]
cdq
idiv ecx
lea ecx, [esi + 0x20f4]
mov dword [esp + 0xc], eax
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetWidth_void_]
movzx ecx, word [esi + 0x28]
cdq
idiv ecx
mov edx, dword [esp + 0xc]
mov dword [esi + 8], edx
mov dword [esi + 4], eax
cmp byte [esi + 0x1f], 1
jne 0x43c050
cmp word [ebp + 0xc], 0
jbe 0x43c050
lea eax, [esi + 0xe5c]
lea ecx, [esi + 0x368]
lea edx, [esi + 0x688]
mov dword [esp + 0x10], 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0xc], edi
jmp 0x43beb0
xor eax, eax
mov word [esp + 0x28], 0
mov ecx, 0x1f
lea edi, [esp + 0x2a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
cmp byte [esi + 0x1c], 1
jne 0x43c017
mov eax, dword [esp + 0x10]
push eax
push str.Rect_Name_d
lea ecx, [esp + 0x30]
push 0x40
push ecx
call dword [sym.imp.MSVCR71.dll__snwprintf]
mov edi, dword [esp + 0x2c]
add esp, 0x10
lea edx, [esp + 0xa8]
push edx
lea eax, [esp + 0x2c]
push eax
push str.Position
lea ecx, [edi - 0x644]
push ecx
mov ecx, esi
call fcn.00437a10
mov edx, dword [esp + 0x10]
push edx
push str.Point_Ready_d
lea eax, [esp + 0x30]
push 0x40
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
mov eax, dword [esp + 0x28]
add esp, 0x10
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0x2c]
push edx
push str.Position
add eax, 0xfffffce0
push eax
mov ecx, esi
call fcn.00437af0
mov ecx, dword [esp + 0x10]
push ecx
push str.DrawStyle_d
lea edx, [esp + 0x30]
push 0x40
push edx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
lea eax, [esp + 0xa8]
push eax
push 0
lea ecx, [esp + 0x30]
push ecx
push str.Position
call ebx
mov edx, dword [esp + 0x14]
mov dword [edx + 0xe1c], eax
mov eax, dword [esp + 0x10]
push eax
push str.Point_P_d
lea ecx, [esp + 0x30]
push 0x40
push ecx
call dword [sym.imp.MSVCR71.dll__snwprintf]
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea edx, [esp + 0xa8]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push eax
push str.Position
push ecx
push edx
mov ecx, esi
call fcn.00437c80
mov eax, dword [esp + 0x10]
push eax
push str.Point_Chair_d
lea ecx, [esp + 0x30]
push 0x40
push ecx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
lea edx, [esp + 0xa8]
push edx
lea eax, [esp + 0x2c]
push eax
push str.Position
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.00437af0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [edi - 4], ecx
mov dword [edi], eax
mov edx, dword [esi + 4]
add edx, ecx
mov dword [edi + 4], edx
mov ecx, dword [esi + 8]
add ecx, eax
mov dword [edi + 8], ecx
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
add edi, 8
inc edx
add ecx, 0x10
dec eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0xc], eax
jne 0x43beb0
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
push 0x2000
push 0
push 0
push 0
push 0x4b2
push eax
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
mov ecx, esi
lea edi, [esi + 0x253c]
call fcn.00437830
push 0
mov ecx, edi
mov dword [edi + 4], eax
call fcn.004043b0
mov al, 1
mov ecx, dword [esp + 0x4bc]
call fcn.0043fbb1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x4bc]
xor al, al
call fcn.0043fbb1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc