Function at 0x43d6e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a8
mov eax, dword [0x467a74]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
je 0x43dc52
cmp word [ebp + 0xc], 0x64
ja 0x43dc52
push ebx
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x492]
push ecx
mov word [ebp - 0x494], ax
call sub.MSVCR100.dll_memset
lea edx, [ebp - 0x494]
push 0x104
push edx
call dword [sym.imp.ServiceCore.dll_public:_static_bool___cdecl_CWHService::GetWorkDirectory_wchar_t__const__unsigned_short_int_]
mov ebx, dword [sym.imp.MSVCR100.dll__snwprintf]
push edi
lea eax, [ebp - 0x494]
push eax
push 0x456614
lea ecx, [esi + 0x14ac]
push 0x104
push ecx
call ebx
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x28a]
push eax
mov word [ebp - 0x28c], dx
call sub.MSVCR100.dll_memset
push edi
lea ecx, [ebp - 0x494]
push ecx
push str._s_sTableResource.INI
lea edx, [ebp - 0x28c]
push 0x104
push edx
call ebx
add esp, 0x48
lea eax, [ebp - 0x28c]
push eax
push str.Point_Lock
push str.Position
lea ecx, [esi + 0x38]
push ecx
mov ecx, esi
call fcn.00438f30
lea edx, [ebp - 0x28c]
push edx
push str.Point_Enter
push str.Position
lea eax, [esi + 0x40]
push eax
mov ecx, esi
call fcn.00438f30
lea ecx, [ebp - 0x28c]
push ecx
push str.Point_TableID
push str.Position
lea edx, [esi + 0x48]
push edx
mov ecx, esi
call fcn.00438f30
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea eax, [ebp - 0x28c]
push eax
push 1
push str.ShowUser
push str.Attribute
call edi
lea edx, [ebp - 0x28c]
push edx
push 1
cmp eax, 1
push str.ShowChair
sete cl
push str.Attribute
mov byte [esi + 0x24], cl
call edi
cmp eax, 1
sete al
mov byte [esi + 0x26], al
lea ecx, [ebp - 0x28c]
push ecx
push 1
push str.ShowTable
push str.Attribute
call edi
cmp eax, 1
lea eax, [ebp - 0x28c]
push eax
push 1
push str.ShowFocus
sete dl
push str.Attribute
mov byte [esi + 0x27], dl
call edi
lea edx, [ebp - 0x28c]
push edx
push 0
cmp eax, 1
push str.ShowEnter
sete cl
push str.Attribute
mov byte [esi + 0x28], cl
call edi
lea ecx, [ebp - 0x28c]
push ecx
push 0
cmp eax, 1
push str.CustomUser
sete al
push str.Attribute
mov byte [esi + 0x25], al
call edi
cmp eax, 1
lea eax, [ebp - 0x28c]
push eax
push 1
push str.ShowTableID
sete dl
push str.Attribute
mov byte [esi + 0x29], dl
call edi
lea edx, [ebp - 0x28c]
push edx
push 1
cmp eax, 1
push str.RenderImage
sete cl
push str.Attribute
mov byte [esi + 0x2a], cl
call edi
lea ecx, [ebp - 0x28c]
push ecx
push 2
cmp eax, 1
push str.TableItemCount
sete al
push str.Attribute
mov byte [esi + 0x2b], al
call edi
mov word [esi + 0x2c], ax
movzx eax, word [ebp + 0xc]
lea edx, [ebp - 0x28c]
push edx
push eax
push str.ChairItemCount
push str.Attribute
mov dword [ebp - 0x498], eax
call edi
mov word [esi + 0x2e], ax
lea eax, [ebp - 0x28c]
push eax
push 1
push str.UserGenreCount
push str.Attribute
call edi
lea ecx, [ebp - 0x28c]
push ecx
push 1
push str.TableGenreCount
mov word [esi + 0x30], ax
push str.Attribute
call edi
lea edx, [ebp - 0x28c]
push edx
push 1
push str.ChairGenreCount
push str.Attribute
mov word [esi + 0x32], ax
call edi
mov word [esi + 0x34], ax
call dword [sym.imp.SkinControl.dll_public:_static_class_CSkinRenderManager____cdecl_CSkinRenderManager::GetInstance_void_]
push eax
mov ecx, esi
call fcn.0043d190
test al, al
jne 0x43d98a
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00442c00
mov esp, ebp
pop ebp
ret 8
cmp dword [esi + 0x218c], 0
je 0x43d9a5
mov eax, dword [esi + 0x2198]
mov ecx, dword [esi + 0x2194]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], eax
lea ecx, [esi + 0x16b4]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::IsNull_void_]
test al, al
jne 0x43d9de
lea ecx, [esi + 0x16b4]
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetHeight_void_]
lea ecx, [esi + 0x16b4]
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
cmp dword [esi + 0x18c8], 0
je 0x43da09
movzx ecx, word [esi + 0x34]
mov eax, dword [esi + 0x18d4]
cdq
idiv ecx
movzx edi, word [esi + 0x2e]
mov ecx, eax
mov eax, dword [esi + 0x18d0]
cdq
idiv edi
mov dword [esi + 8], ecx
mov dword [esi + 4], eax
cmp dword [esi + 0x1b04], 0
je 0x43da34
movzx ecx, word [esi + 0x32]
mov eax, dword [esi + 0x1b10]
cdq
idiv ecx
movzx edi, word [esi + 0x2c]
mov ecx, eax
mov eax, dword [esi + 0x1b0c]
cdq
idiv edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0xc], eax
lea ecx, [esi + 0x1f78]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::IsNull_void_]
test al, al
jne 0x43da72
lea ecx, [esi + 0x1f78]
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetHeight_void_]
movzx ecx, word [esi + 0x30]
cdq
idiv ecx
lea ecx, [esi + 0x1f78]
mov ebx, eax
call dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetWidth_void_]
movzx ecx, word [esi + 0x2e]
cdq
idiv ecx
mov dword [esi + 8], ebx
mov dword [esi + 4], eax
cmp byte [esi + 0x27], 1
jne 0x43dc3d
xor edx, edx
cmp dx, word [ebp + 0xc]
jae 0x43dc3d
lea edi, [edx + 1]
mov edx, dword [ebp - 0x498]
lea eax, [esi + 0x131c]
lea ecx, [esi + 0x370]
lea ebx, [esi + 0xcd4]
mov dword [ebp - 0x4a0], eax
mov dword [ebp - 0x49c], ecx
mov dword [ebp - 0x498], edx
xor eax, eax
push 0x7e
push eax
lea ecx, [ebp - 0x82]
push ecx
mov word [ebp - 0x84], ax
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp byte [esi + 0x24], 1
jne 0x43dc1f
push edi
push str.Rect_Name_d
lea edx, [ebp - 0x84]
push 0x40
push edx
call dword [sym.imp.MSVCR100.dll__snwprintf]
add esp, 0x10
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x84]
push ecx
push str.Position
lea edx, [ebx - 0x644]
push edx
mov ecx, esi
call fcn.00438e30
push edi
push str.Point_Ready_d
lea eax, [ebp - 0x84]
push 0x40
push eax
call dword [sym.imp.MSVCR100.dll__snwprintf]
mov eax, dword [ebp - 0x49c]
add esp, 0x10
lea ecx, [ebp - 0x28c]
push ecx
lea edx, [ebp - 0x84]
push edx
push str.Position
add eax, 0xfffffce0
push eax
mov ecx, esi
call fcn.00438f30
push edi
push str.Point_P_d
lea ecx, [ebp - 0x84]
push 0x40
push ecx
call dword [sym.imp.MSVCR100.dll__snwprintf]
mov ecx, dword [ebp - 0x49c]
add esp, 0x10
lea edx, [ebp - 0x28c]
push edx
lea eax, [ebp - 0x84]
push eax
push str.Position
push ecx
mov ecx, esi
call fcn.00438f30
push edi
push str.DrawStyle_d
lea edx, [ebp - 0x84]
push 0x40
push edx
call dword [sym.imp.MSVCR100.dll__snwprintf]
add esp, 0x10
lea eax, [ebp - 0x28c]
push eax
push 0
lea ecx, [ebp - 0x84]
push ecx
push str.Position
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 0x4a0]
push edi
push str.Point_Chair_d
mov dword [edx], eax
lea eax, [ebp - 0x84]
push 0x40
push eax
call dword [sym.imp.MSVCR100.dll__snwprintf]
add esp, 0x10
lea ecx, [ebp - 0x28c]
push ecx
lea edx, [ebp - 0x84]
push edx
push str.Position
lea eax, [ebp - 0x4a8]
push eax
mov ecx, esi
call fcn.00438f30
mov ecx, dword [ebp - 0x4a8]
mov eax, dword [ebp - 0x4a4]
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
add dword [ebp - 0x49c], 8
add dword [ebp - 0x4a0], 4
inc edi
add ebx, 0x10
dec dword [ebp - 0x498]
jne 0x43dab5
pop ebx
pop edi
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00442c00
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.00442c00
mov esp, ebp
pop ebp
ret 8