Function at 0x4b77d0
Capabilities:
Contain obfuscated stackstrings
Get process heap flags
Get process heap force flags
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5485ae
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ab720]
xor eax, esp
push eax
lea eax, [esp + 0x1dc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1ec]
push ebp
call fcn.004bec90
lea eax, [ebp + 0x1c8]
xor ebx, ebx
mov dword [esp + 0x1e4], ebx
push eax
mov dword [ebp], vtable.CRoomSettingDlg.0
mov dword [ebp + 0x78], vtable.CRoomSettingDlg.1.0
call fcn.004b6110
lea esi, [ebp + 0x5b8]
mov ecx, esi
mov byte [esp + 0x1e4], 1
call fcn.004fc3ae
mov dword [esi], vtable.CButton.0
lea esi, [ebp + 0x60c]
mov ecx, esi
mov byte [esp + 0x1e4], 2
call fcn.004fc3ae
mov dword [esi], vtable.CButton.0
lea esi, [ebp + 0x660]
mov ecx, esi
mov byte [esp + 0x1e4], 3
call fcn.004fc3ae
mov dword [esi], vtable.CButton.0
lea esi, [ebp + 0x6b4]
mov ecx, esi
mov byte [esp + 0x1e4], 4
call fcn.004fc3ae
mov dword [esi], vtable.CStatic.0
lea edi, [ebp + 0x708]
mov byte [esp + 0x1e4], 5
call fcn.004ac440
lea esi, [ebp + 0x7c0]
mov ecx, esi
mov byte [esp + 0x1e4], 6
call fcn.004fc3ae
mov dword [esi], vtable.CStatic.0
mov dword [ebp + 0x818], ebx
mov dword [ebp + method.CFont.virtual_0], vtable.CFont.0
lea edi, [ebp + 0x81c]
mov ecx, edi
mov byte [esp + 0x1e4], 8
call fcn.004fc3ae
mov dword [edi], vtable.CStatic.0
lea esi, [ebp + 0x870]
mov ecx, esi
mov byte [esp + 0x1e4], 9
call fcn.004fc3ae
mov dword [esi], vtable.CSpinButtonCtrl.0
lea esi, [ebp + 0x8c4]
mov ecx, esi
mov byte [esp + 0x1e4], 0xa
call fcn.004fc3ae
mov dword [esi], vtable.CStatic.0
lea esi, [ebp + 0x918]
mov ecx, esi
mov byte [esp + 0x1e4], 0xb
call fcn.004fc3ae
mov dword [esi], vtable.CSpinButtonCtrl.0
lea esi, [ebp + 0x96c]
mov ecx, esi
mov byte [esp + 0x1e4], 0xc
call fcn.004fc3ae
mov dword [esi], vtable.CStatic.0
lea esi, [ebp + 0x9c0]
mov byte [esp + 0x1e4], 0xd
mov ecx, esi
call fcn.004fc3ae
mov dword [esi], vtable.CSpinButtonCtrl.0
lea esi, [ebp + 0xa14]
mov ecx, esi
mov byte [esp + 0x1e4], 0xe
call fcn.004fc3ae
mov dword [esi], vtable.CStatic.0
lea esi, [ebp + 0xa68]
mov ecx, esi
mov byte [esp + 0x1e4], 0xf
call fcn.004fc3ae
mov dword [esi], vtable.CSpinButtonCtrl.0
lea esi, [ebp + 0xabc]
mov ecx, esi
mov byte [esp + 0x1e4], 0x10
call fcn.004fc3ae
mov dword [esi], vtable.CStatic.0
lea esi, [ebp + 0xb10]
mov ecx, esi
mov byte [esp + 0x1e4], 0x11
call fcn.004fc3ae
mov dword [esi], vtable.CSpinButtonCtrl.0
lea esi, [ebp + 0xb64]
mov ecx, esi
mov byte [esp + 0x1e4], 0x12
call fcn.004fc3ae
mov dword [esi], vtable.CStatic.0
lea esi, [ebp + 0xbb8]
mov ecx, esi
mov byte [esp + 0x1e4], 0x13
call fcn.004fc3ae
mov dword [esi], vtable.CSpinButtonCtrl.0
lea esi, [ebp + 0xc0c]
mov ecx, esi
mov byte [esp + 0x1e4], 0x14
call fcn.004fc3ae
mov dword [esi], vtable.CStatic.0
lea esi, [ebp + 0xc60]
mov ecx, esi
mov byte [esp + 0x1e4], 0x15
call fcn.004fc3ae
mov dword [esi], vtable.CSpinButtonCtrl.0
lea esi, [ebp + 0xcb4]
mov ecx, esi
mov byte [esp + 0x1e4], 0x16
call fcn.004fc3ae
mov dword [esi], vtable.CStatic.0
lea esi, [ebp + 0xd08]
mov ecx, esi
mov byte [esp + 0x1e4], 0x17
call fcn.004fc3ae
mov dword [esi], vtable.CSpinButtonCtrl.0
lea esi, [ebp + 0xd5c]
mov ecx, esi
mov byte [esp + 0x1e4], 0x18
call fcn.004fc3ae
mov dword [esi], vtable.CStatic.0
lea esi, [ebp + 0xdb0]
mov ecx, esi
mov byte [esp + 0x1e4], 0x19
call fcn.004fc3ae
mov dword [esi], vtable.CSpinButtonCtrl.0
lea esi, [ebp + 0xe04]
mov ecx, esi
mov byte [esp + 0x1e4], 0x1a
call fcn.004fc3ae
mov dword [esi], vtable.CStatic.0
lea esi, [ebp + 0xe58]
mov ecx, esi
mov byte [esp + 0x1e4], 0x1b
call fcn.004fc3ae
mov dword [esi], vtable.CSpinButtonCtrl.0
lea esi, [ebp + 0xeac]
mov ecx, esi
mov byte [esp + 0x1e4], 0x1c
call fcn.004fc3ae
mov dword [esi], vtable.CStatic.0
lea esi, [ebp + 0xf00]
mov ecx, esi
mov byte [esp + 0x1e4], 0x1d
call fcn.004fc3ae
mov dword [esi], vtable.CSpinButtonCtrl.0
lea esi, [ebp + 0xf54]
mov ecx, esi
mov byte [esp + 0x1e4], 0x1e
call fcn.004fc3ae
mov dword [esi], vtable.CStatic.0
lea esi, [ebp + 0xfa8]
mov ecx, esi
mov byte [esp + 0x1e4], 0x1f
call fcn.004fc3ae
mov dword [esi], vtable.CSpinButtonCtrl.0
lea esi, [ebp + 0xffc]
mov ecx, esi
mov byte [esp + 0x1e4], 0x20
call fcn.004fc3ae
mov dword [esi], vtable.CStatic.0
lea esi, [ebp + 0x1050]
mov ecx, esi
mov byte [esp + 0x1e4], 0x21
call fcn.004fc3ae
mov dword [esi], vtable.CSpinButtonCtrl.0
lea esi, [ebp + 0x10a4]
mov ecx, esi
mov byte [esp + 0x1e4], 0x22
call fcn.004fc3ae
mov dword [esi], vtable.CStatic.0
lea esi, [ebp + 0x10f8]
mov ecx, esi
mov byte [esp + 0x1e4], 0x23
call fcn.004fc3ae
mov dword [esi], vtable.CSpinButtonCtrl.0
lea esi, [ebp + 0x114c]
mov ecx, esi
mov byte [esp + 0x1e4], 0x24
call fcn.004fc3ae
mov dword [esi], vtable.CStatic.0
lea esi, [ebp + 0x11a0]
mov ecx, esi
mov byte [esp + 0x1e4], 0x25
call fcn.004fc3ae
mov dword [esi], vtable.CSpinButtonCtrl.0
lea esi, [ebp + 0x11f4]
call fcn.0046ce10
mov dword [esi], vtable.CImageEx.0
mov dword [esi + 0x30], ebx
mov dword [ebp + 0x1c0], ebx
mov dword [ebp + 0x1c4], ebx
mov dword [ebp + 0x598], ebx
mov dword [ebp + 0x5a0], ebx
mov dword [ebp + 0x5a4], ebx
mov dword [ebp + 0x59c], ebx
mov dword [ebp + 0x5a8], ebx
mov dword [ebp + 0x5ac], ebx
mov dword [ebp + 0x5b0], ebx
mov dword [ebp + 0x5b4], ebx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], ebx
lea eax, [ebp + 0x870]
mov dword [esp + 0x40], eax
lea eax, [ebp + 0x8c4]
mov dword [esp + 0x44], eax
lea eax, [ebp + 0x918]
mov dword [esp + 0x48], eax
lea eax, [ebp + 0xd5c]
mov dword [esp + 0x74], eax
lea eax, [ebp + 0xdb0]
mov dword [esp + 0x78], eax
lea eax, [ebp + 0xe04]
mov dword [esp + 0x7c], eax
lea eax, [ebp + 0xe58]
mov dword [esp + 0x80], eax
lea eax, [ebp + 0x96c]
mov dword [esp + 0xac], eax
lea eax, [ebp + 0x9c0]
mov dword [esp + 0xb0], eax
lea eax, [ebp + 0xa14]
mov dword [esp + 0xb4], eax
lea eax, [ebp + 0xa68]
mov dword [esp + 0xb8], eax
lea eax, [ebp + 0xeac]
mov dword [esp + 0xec], eax
lea eax, [ebp + 0xf00]
mov dword [esp + 0xf0], eax
lea eax, [ebp + 0xabc]
mov esi, 8
mov dword [esp + 0x11c], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x4c], 2
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x84], 4
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xf4], 0x200
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebx
mov dword [esp + 0x104], ebx
mov dword [esp + 0x108], ebx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x110], ebx
mov dword [esp + 0x114], ebx
mov dword [esp + 0x118], ebx
lea eax, [ebp + 0xb10]
mov dword [esp + 0x120], eax
lea eax, [ebp + 0xb64]
mov dword [esp + 0x124], eax
lea eax, [ebp + 0xbb8]
mov dword [esp + 0x128], eax
lea eax, [ebp + 0xf54]
mov dword [esp + 0x154], eax
lea eax, [ebp + 0xfa8]
mov dword [esp + 0x158], eax
lea eax, [ebp + 0xffc]
mov dword [esp + 0x15c], eax
lea eax, [ebp + 0x1050]
mov dword [esp + 0x160], eax
lea eax, [ebp + 0xc0c]
mov dword [esp + 0x18c], eax
lea eax, [ebp + 0xc60]
mov dword [esp + 0x190], eax
lea eax, [ebp + 0xcb4]
mov dword [esp + 0x194], eax
lea eax, [ebp + 0xd08]
mov dword [esp + 0x198], eax
lea eax, [ebp + 0x10a4]
mov dword [esp + 0x1c4], eax
lea eax, [ebp + 0x10f8]
mov dword [esp + 0x1c8], eax
lea eax, [ebp + 0x114c]
mov dword [esp + 0x1cc], eax
lea eax, [ebp + 0x11a0]
mov dword [esp + 0x1d0], eax
mov dword [esp + 0x12c], 0x400
mov dword [esp + 0x130], ebx
mov dword [esp + 0x134], ebx
mov dword [esp + 0x138], ebx
mov dword [esp + 0x13c], ebx
mov dword [esp + 0x140], ebx
mov dword [esp + 0x144], ebx
mov dword [esp + 0x148], ebx
mov dword [esp + 0x14c], ebx
mov dword [esp + 0x150], ebx
mov dword [esp + 0x164], 0x10
mov dword [esp + 0x168], ebx
mov dword [esp + 0x16c], ebx
mov dword [esp + 0x170], ebx
mov dword [esp + 0x174], ebx
mov dword [esp + 0x178], ebx
mov dword [esp + 0x17c], ebx
mov dword [esp + 0x180], ebx
mov dword [esp + 0x184], ebx
mov dword [esp + 0x188], ebx
mov dword [esp + 0x19c], 0x20
mov dword [esp + 0x1a0], ebx
mov dword [esp + 0x1a4], ebx
mov dword [esp + 0x1a8], ebx
mov dword [esp + 0x1ac], ebx
mov dword [esp + 0x1b0], ebx
mov dword [esp + 0x1b4], ebx
mov dword [esp + 0x1b8], ebx
mov dword [esp + 0x1bc], ebx
mov dword [esp + 0x1c0], ebx
lea eax, [esp + 0x3c]
mov edi, dword [eax - 0x28]
xor ecx, ecx
lea edx, [ebp + 0x220]
mov edi, edi
cmp dword [edx], edi
je 0x4b8001
add ecx, 1
add edx, 0x38
cmp ecx, 8
jl 0x4b7ff0
jmp 0x4b802f
lea edx, [ecx*8]
sub edx, ecx
lea ecx, [ebp + 0x1c8]
lea ecx, [ecx + edx*8 + 0x58]
cmp ecx, ebx
je 0x4b802f
mov edx, dword [eax]
mov dword [ecx + 0x28], edx
mov edx, dword [eax + 4]
mov dword [ecx + 0x2c], edx
mov edx, dword [eax + 8]
mov dword [ecx + 0x30], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0x34], edx
add eax, 0x38
sub esi, 1
jne 0x4b7fe3
mov eax, ebp
mov ecx, dword [esp + 0x1dc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1d4
ret 4