Function at 0x43dfc0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x459a55
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa98
mov eax, dword [0x4781d0]
push ebx
push esi
push edi
mov dword [esp + 0xa9c], eax
mov esi, ecx
xor eax, eax
xor ebx, ebx
mov word [esp + 0x890], bx
mov ecx, 0x81
lea edi, [esp + 0x892]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + 0x3fb0]
push eax
push str._sGround.bmp
lea eax, [esp + 0x898]
push 0x104
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
mov eax, dword [esi + 0x4a74]
add esp, 0x10
cmp eax, ebx
je 0x43e07f
cmp eax, ebx
je 0x43e07f
push eax
mov dword [esi + 0x4a74], ebx
mov dword [esi + 0x4a78], ebx
mov dword [esi + 0x4a7c], ebx
mov dword [esi + 0x4a80], ebx
mov dword [esi + 0x4a88], ebx
mov dword [esi + 0x4a84], ebx
mov dword [esi + 0x4a90], 0xffffffff
mov byte [esi + 0x4a8d], bl
mov byte [esi + 0x4a8c], bl
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [esp + 0x890]
lea edi, [esi + 0x4a70]
push ecx
mov ecx, edi
call fcn.0043df10
test eax, eax
jge 0x43e0ae
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
push 0x104
push eax
mov ecx, edi
call dword [sym.imp.WHImage.dll_public:_void___thiscall_CBitImage::LoadFromResource_struct_HINSTANCE_____unsigned_int_]
cmp byte [esi + 0x33], 1
jne 0x43e0be
mov ecx, dword [ebp + 8]
push edi
call dword [sym.imp.SkinControl.dll_public:_void___thiscall_CSkinRenderManager::RenderImage_class_ATL::CImage__]
cmp byte [esi + 0x2d], 1
jne 0x43e12c
lea ebx, [esi + 0x41b8]
mov ecx, ebx
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::IsNull_void_]
cmp al, 1
jne 0x43e12c
xor eax, eax
mov word [esp + 0x270], 0
mov ecx, 0x81
lea edi, [esp + 0x272]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + 0x3fb0]
push eax
push str._sEnter.png
lea edx, [esp + 0x278]
push 0x104
push edx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
lea eax, [esp + 0x270]
push eax
mov ecx, ebx
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::LoadImageW_wchar_t_const__]
test al, al
je 0x43e555
cmp byte [esi + 0x31], 1
jne 0x43e19a
lea ebx, [esi + 0x4ca8]
mov ecx, ebx
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::IsNull_void_]
cmp al, 1
jne 0x43e19a
xor eax, eax
mov word [esp + 0x270], 0
mov ecx, 0x81
lea edi, [esp + 0x272]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + 0x3fb0]
push eax
push str._sCustomUser.png
lea ecx, [esp + 0x278]
push 0x104
push ecx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
lea edx, [esp + 0x270]
push edx
mov ecx, ebx
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::LoadImageW_wchar_t_const__]
test al, al
je 0x43e555
cmp byte [esi + 0x34], 1
jne 0x43e226
lea ebx, [esi + 0x4eb8]
mov ecx, ebx
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::IsNull_void_]
cmp al, 1
jne 0x43e226
xor eax, eax
mov word [esp + 0x270], 0
mov ecx, 0x81
lea edi, [esp + 0x272]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + 0x3fb0]
push eax
push str._sCellNumber.png
lea eax, [esp + 0x278]
push 0x104
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
lea ecx, [esp + 0x270]
push ecx
mov ecx, ebx
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::LoadImageW_wchar_t_const__]
test al, al
jne 0x43e226
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov eax, dword [eax + 8]
push str.TABLE_CELL_NUMBER
push eax
mov ecx, ebx
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::LoadImageW_struct_HINSTANCE_____wchar_t_const__]
test al, al
je 0x43e555
cmp byte [esi + 0x2f], 1
mov ebx, dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetHeight_void_]
jne 0x43e39d
xor eax, eax
mov word [esp + 0x270], 0
mov ecx, 0x81
lea edi, [esp + 0x272]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + 0x3fb0]
push eax
push str._sTable.png
lea edx, [esp + 0x278]
push 0x104
push edx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
lea ecx, [esp + 0x60]
call dword [sym.imp.WHImage.dll_public:_void___thiscall_CPngImage::constructor_void_]
lea eax, [esp + 0x270]
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0xab0], 0
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::LoadImageW_wchar_t_const__]
test al, al
je 0x43e420
mov eax, dword [esi + 0x4604]
test eax, eax
jne 0x43e2de
lea ecx, [esp + 0x60]
call ebx
mov edi, dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetWidth_void_]
lea ecx, [esp + 0x60]
mov dword [esp + 0xc], eax
call edi
mov ecx, dword [esp + 0xc]
push 0
push 0
push 0
push 0x20
push ecx
push eax
lea ecx, [esi + 0x4600]
call fcn.004064d0
jmp 0x43e2e4
mov edi, dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetWidth_void_]
lea edx, [esi + 0x4600]
push edx
lea ecx, [esp + 0x14]
call fcn.00405aa0
mov eax, dword [esp + 0x14]
push eax
mov byte [esp + 0xab0], 1
call sub.MFC71U.DLL_COleClientItem::FreezeLink
lea ecx, [esp + 0x60]
mov dword [esp + 0xc], eax
call ebx
push eax
lea ecx, [esp + 0x64]
call edi
mov ecx, dword [esp + 0x10]
push eax
push 0
push 0
push ecx
lea ecx, [esi + 0x4a70]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CBitImage::DrawImageTile_class_CDC___int__int__int__int_]
push 0
push 0
lea ecx, [esp + 0x68]
call ebx
push eax
lea ecx, [esp + 0x6c]
call edi
mov edx, dword [esp + 0x18]
push eax
push 0
push 0
push edx
lea ecx, [esp + 0x7c]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int__int__int__int__int_]
mov eax, dword [esp + 0x10]
dec dword [eax + 0x28]
jne 0x43e386
mov ecx, dword [eax + 0x2c]
mov edx, dword [eax + 0x24]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x24]
push ecx
mov ecx, 0x47e458
call fcn.00404670
mov edx, dword [esp + 0x10]
mov dword [edx + 0x24], 0
lea ecx, [esp + 0x60]
mov dword [esp + 0xaac], 0xffffffff
call dword [sym.imp.WHImage.dll_public_virtual:_void___thiscall_CPngImage::destructor_void_]
jmp 0x43e3a3
mov edi, dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetWidth_void_]
cmp byte [esi + 0x2e], 1
jne 0x43e503
cmp byte [esi + 0x2f], 1
jne 0x43e503
xor eax, eax
mov word [esp + 0x270], 0
mov ecx, 0x81
lea edi, [esp + 0x272]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + 0x3fb0]
push eax
push str._sChair.png
lea eax, [esp + 0x278]
push 0x104
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
lea ecx, [esp + 0x60]
call dword [sym.imp.WHImage.dll_public:_void___thiscall_CPngImage::constructor_void_]
lea ecx, [esp + 0x270]
push ecx
lea ecx, [esp + 0x64]
mov dword [esp + 0xab0], 2
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::LoadImageW_wchar_t_const__]
test al, al
jne 0x43e43c
lea ecx, [esp + 0x60]
mov dword [esp + 0xaac], 0xffffffff
call dword [sym.imp.WHImage.dll_public_virtual:_void___thiscall_CPngImage::destructor_void_]
xor al, al
jmp 0x43e7ab
mov eax, dword [esi + 0x43cc]
test eax, eax
jne 0x43e46b
push 0
push 0x20
lea ecx, [esp + 0x68]
call ebx
mov edi, dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetWidth_void_]
push eax
lea ecx, [esp + 0x6c]
call edi
push eax
lea ecx, [esi + 0x43c8]
call fcn.00406630
jmp 0x43e471
mov edi, dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetWidth_void_]
lea edx, [esi + 0x43c8]
push edx
lea ecx, [esp + 0x14]
call fcn.00405aa0
mov eax, dword [esp + 0x14]
push eax
mov byte [esp + 0xab0], 3
call sub.MFC71U.DLL_COleClientItem::FreezeLink
lea ecx, [esp + 0x60]
mov dword [esp + 0xc], eax
call ebx
push eax
lea ecx, [esp + 0x64]
call edi
mov ecx, dword [esp + 0x10]
push eax
push 0
push 0
push ecx
lea ecx, [esi + 0x4a70]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CBitImage::DrawImageTile_class_CDC___int__int__int__int_]
push 0
push 0
lea ecx, [esp + 0x68]
call ebx
push eax
lea ecx, [esp + 0x6c]
call edi
mov edx, dword [esp + 0x18]
push eax
push 0
push 0
push edx
lea ecx, [esp + 0x7c]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int__int__int__int__int_]
lea ecx, [esp + 0x10]
call fcn.00405af0
lea ecx, [esp + 0x60]
mov dword [esp + 0xaac], 0xffffffff
call dword [sym.imp.WHImage.dll_public_virtual:_void___thiscall_CPngImage::destructor_void_]
mov edi, dword [sym.imp.WHImage.dll_public:_int___thiscall_CPngImage::GetWidth_void_]
lea ecx, [esp + 0x478]
call dword [sym.imp.WHImage.dll_public:_void___thiscall_CPngImage::constructor_void_]
push str.USER_FACE_IMAGE
push 0x4604b8
mov dword [esp + 0xab4], 4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
lea ecx, [esp + 0x480]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::LoadImageW_struct_HINSTANCE_____wchar_t_const__]
test al, al
jne 0x43e55c
lea ecx, [esp + 0x478]
mov dword [esp + 0xaac], 0xffffffff
call dword [sym.imp.WHImage.dll_public_virtual:_void___thiscall_CPngImage::destructor_void_]
xor al, al
jmp 0x43e7ab
mov eax, dword [esi + 0x5b78]
test eax, eax
jne 0x43e595
lea ecx, [esp + 0x478]
call ebx
lea ecx, [esp + 0x478]
mov dword [esp + 0xc], eax
call edi
mov ecx, dword [esp + 0xc]
push 0
push 0
push 0
push 0x20
push ecx
push eax
lea ecx, [esi + 0x5b74]
call fcn.004064d0
lea edx, [esi + 0x5b74]
push edx
lea ecx, [esp + 0x14]
call fcn.00405aa0
mov eax, dword [esp + 0x14]
push eax
mov byte [esp + 0xab0], 5
call sub.MFC71U.DLL_COleClientItem::FreezeLink
lea ecx, [esp + 0x478]
mov dword [esp + 0xc], eax
call ebx
push eax
lea ecx, [esp + 0x47c]
call edi
mov ecx, dword [esp + 0x10]
push eax
push 0
push 0
push ecx
lea ecx, [esi + 0x4a70]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CBitImage::DrawImageTile_class_CDC___int__int__int__int_]
push 0
push 0
lea ecx, [esp + 0x480]
call ebx
push eax
lea ecx, [esp + 0x484]
call edi
mov edx, dword [esp + 0x18]
push eax
push 0
push 0
push edx
lea ecx, [esp + 0x494]
call dword [sym.imp.WHImage.dll_public:_bool___thiscall_CPngImage::DrawImage_class_CDC___int__int__int__int__int__int_]
lea edi, [esi + 0x5b40]
mov ecx, edi
call fcn.00442af0
test eax, eax
jne 0x43e63d
push 2
push str.USER_FACE_IMAGE_3D
push 0x4604b8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
mov ecx, edi
call fcn.00443b60
xor eax, eax
mov word [esp + 0x688], 0
mov ecx, 0x81
lea edi, [esp + 0x68a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esi + 0x3fb0]
push eax
push str._sTableResource.INI
lea eax, [esp + 0x690]
push 0x104
push eax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
lea ecx, [esp + 0x688]
push ecx
push 0
push str.3DChair
push str.Attribute
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x43e6a7
lea ecx, [esp + 0x10]
call fcn.00405af0
jmp 0x43e791
cmp word [esi + 0x3a], 0
mov dword [esp + 0xc], 0
jbe 0x43e765
lea ebx, [ebx]
movzx edi, word [esp + 0xc]
lea ebx, [edi + 1]
push ebx
push str.Head_Index_d
lea edx, [esp + 0x28]
push 0x20
push edx
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
lea eax, [esp + 0x688]
push eax
push 0
lea ecx, [esp + 0x28]
push ecx
push str.Position
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ebx
push str.Point_P_d
lea edx, [esp + 0x28]
push 0x20
push edx
mov word [esi + edi*2 + 0x131c], ax
call dword [sym.imp.MSVCR71.dll__snwprintf]
add esp, 0x10
lea eax, [esp + 0x688]
push eax
lea ecx, [esp + 0x24]
push ecx
push str.Position
lea edx, [esi + edi*8 + 0x9bc]
push edx
mov ecx, esi
call fcn.0043a0d0
mov di, word [esi + edi*2 + 0x131c]
cmp di, 4
jae 0x43e752
mov cx, word [esp + 0xc]
movzx eax, di
mov word [esp + eax*2 + 0x18], cx
mov eax, dword [esp + 0xc]
inc eax
cmp ax, word [esi + 0x3a]
mov dword [esp + 0xc], eax
jb 0x43e6c0
mov esi, dword [esp + 0x10]
dec dword [esi + 0x28]
jne 0x43e791
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x24]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esi + 0x24]
push ecx
mov ecx, 0x47e458
call fcn.00404670
mov dword [esi + 0x24], 0
lea ecx, [esp + 0x478]
mov dword [esp + 0xaac], 0xffffffff
call dword [sym.imp.WHImage.dll_public_virtual:_void___thiscall_CPngImage::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0xaa4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xa9c]
call fcn.0044247b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc