Function at 0x4dc160
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x500c38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x66
mov dword [esp + 0x18], esi
call fcn.004e95ea
push fcn.0045e950
push 0x45e910
push 3
lea ecx, [esi + 0x68]
xor edi, edi
push 0x14
push ecx
mov dword [esp + 0x30], edi
call fcn.004e9c7e
mov dl, byte [esp + 0x24]
mov dword [esi + 0xc0], edi
mov byte [esi + 0xbc], dl
mov dword [esi + 0xc4], edi
mov dword [esi + 0xc8], edi
lea ecx, [esi + 0xd4]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0xd8]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0xdc]
mov byte [esp + 0x1c], 4
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0xe0]
mov byte [esp + 0x1c], 5
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0xe4]
mov byte [esp + 0x1c], 6
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0xe8]
mov byte [esp + 0x1c], 7
call sub.MFC42.DLL_CString::CString_4
lea ebp, [esi + 0xf0]
mov byte [esp + 0x1c], 8
mov ebx, ebp
mov dword [esp + 0x24], ebx
lea ecx, [ebx + 4]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebx + 8]
mov byte [esp + 0x1c], 9
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebx + 0xc]
mov byte [esp + 0x1c], 0xa
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebx + 0x10]
mov byte [esp + 0x1c], 0xb
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebx + 0x14]
mov byte [esp + 0x1c], 0xc
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebx + 0x18]
mov byte [esp + 0x1c], 0xd
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebx + 0x1c]
mov byte [esp + 0x1c], 0xe
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebx + 0x20]
mov byte [esp + 0x1c], 0xf
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebx + 0x24]
mov byte [esp + 0x1c], 0x10
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebx + 0x28]
mov byte [esp + 0x1c], 0x11
call sub.MFC42.DLL_CString::CString_4
lea ebx, [esi + 0x11c]
mov byte [esp + 0x1c], 0x12
mov dword [esp + 0x24], ebx
lea ecx, [ebx + 4]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebx + 8]
mov byte [esp + 0x1c], 0x13
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebx + 0xc]
mov byte [esp + 0x1c], 0x14
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebx + 0x10]
mov byte [esp + 0x1c], 0x15
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebx + 0x18]
mov byte [esp + 0x1c], 0x16
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebx + 0x1c]
mov byte [esp + 0x1c], 0x17
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebx + 0x24]
mov byte [esp + 0x1c], 0x18
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebx + 0x28]
mov byte [esp + 0x1c], 0x19
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x154]
mov byte [esp + 0x1c], 0x1a
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x17c]
mov byte [esp + 0x1c], 0x1b
call fcn.0042e780
lea ecx, [esi + 0xd74]
mov byte [esp + 0x1c], 0x1c
call fcn.004817f0
lea ecx, [esi + 0x1084]
mov byte [esp + 0x1c], 0x1d
call fcn.004d9810
lea ecx, [esi + 0x10f0]
mov byte [esp + 0x1c], 0x1e
call fcn.00441c30
lea ecx, [esi + 0x1110]
mov byte [esp + 0x1c], 0x1f
call fcn.004b4200
push edi
lea ecx, [esi + 0x192c]
mov byte [esp + 0x20], 0x20
call fcn.004b3910
push edi
lea ecx, [esi + 0x1b58]
mov byte [esp + 0x20], 0x21
call fcn.00403080
push edi
lea ecx, [esi + 0x1c84]
mov byte [esp + 0x20], 0x22
call fcn.00443db0
push edi
lea ecx, [esi + 0x1d04]
mov byte [esp + 0x20], 0x23
call fcn.00402910
lea ecx, [esi + 0x1e34]
mov byte [esp + 0x1c], 0x24
call sub.MFC42.DLL_CString::CString_4
lea ebx, [esi + 0x1e38]
mov byte [esp + 0x1c], 0x25
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x504058
lea ecx, [esi + 0x1e78]
mov byte [esp + 0x1c], 0x26
call fcn.00451000
lea ebx, [esi + 0x1ec0]
mov byte [esp + 0x1c], 0x27
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x504a28
lea ecx, [esi + 0x1f00]
mov byte [esp + 0x1c], 0x28
call fcn.00451000
lea ecx, [esi + 0x1f48]
mov byte [esp + 0x1c], 0x29
call fcn.00444320
lea ecx, [esi + 0x1f90]
mov byte [esp + 0x1c], 0x2a
call fcn.00444320
lea ecx, [esi + 0x1fd8]
mov byte [esp + 0x1c], 0x2b
call fcn.004607b0
lea ebx, [esi + 0x202c]
mov byte [esp + 0x1c], 0x2c
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x504058
lea ebx, [esi + 0x206c]
mov byte [esp + 0x1c], 0x2d
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x503f98
lea ebx, [esi + 0x20ac]
mov byte [esp + 0x1c], 0x2e
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x503e54
lea ecx, [esi + 0x20ec]
mov byte [esp + 0x1c], 0x2f
call fcn.004495e0
lea ebx, [esi + 0x2140]
mov byte [esp + 0x1c], 0x30
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x504268
lea ebx, [esi + 0x2180]
mov byte [esp + 0x1c], 0x31
mov ecx, ebx
call sub.MFC42.DLL_CWnd::CWnd
mov dword [ebx], 0x507210
mov byte [esp + 0x1c], 0x32
lea ecx, [esi + 0x21c0]
call fcn.00451000
lea ebx, [esi + 0x2208]
mov byte [esp + 0x1c], 0x33
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x220c]
mov byte [esp + 0x1c], 0x34
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x2210]
mov byte [esp + 0x1c], 0x35
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x2214]
mov byte [esp + 0x1c], 0x36
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x2218]
mov byte [esp + 0x1c], 0x37
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x221c]
mov byte [esp + 0x1c], 0x38
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x2220]
mov byte [esp + 0x1c], 0x39
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x2224]
mov byte [esp + 0x1c], 0x3a
call sub.MFC42.DLL_CString::CString_4
push 0x52fa8c
mov ecx, ebx
mov byte [esp + 0x20], 0x3b
mov dword [esi], 0x5095f0
call sub.MFC42.DLL_CString::operator_3
push str.LevelUp
lea ecx, [esi + 0x220c]
call sub.MFC42.DLL_CString::operator_3
push str.Level
lea ecx, [esi + 0x2210]
call sub.MFC42.DLL_CString::operator_3
push str.YourName
lea ecx, [esi + 0x2214]
call sub.MFC42.DLL_CString::operator_3
push 0x52fa68
lea ecx, [esi + 0x2218]
call sub.MFC42.DLL_CString::operator_3
push str.Money
lea ecx, [esi + 0x221c]
call sub.MFC42.DLL_CString::operator_3
push str.DogFood
lea ecx, [esi + 0x2220]
call sub.MFC42.DLL_CString::operator_3
push str.Protect
lea ecx, [esi + 0x2224]
call sub.MFC42.DLL_CString::operator_3
call sub.MFC42.DLL_AfxGetModuleState
push 0x80
push 0xe
push 0x80
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esi + 0x2228], eax
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0x1e30], edi
mov dword [esi + 0x15c], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x174], edi
mov dword [esi + 0x178], edi
mov dword [esi + 0x164], edi
mov dword [esi + 0x168], edi
push 4
mov dword [esi + 0x160], edi
mov dword [esi + 0xec], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0x150], edi
mov dword [esi + 0x158], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
call sub.MFC42.DLL_operatornew
or ecx, 0xffffffff
mov dword [esi + 0x14c], eax
mov dword [eax], ecx
push 0x134
mov dword [esi + 0x64], ecx
mov dword [ebp], edi
mov dword [esi + 0x170], ecx
call sub.MFC42.DLL_operatornew
add esp, 8
mov dword [esp + 0x24], eax
cmp eax, edi
mov byte [esp + 0x1c], 0x3c
je 0x4dc6cd
push edi
push 0x8e
mov ecx, eax
call fcn.00446e10
jmp 0x4dc6cf
xor eax, eax
push 0x134
mov byte [esp + 0x20], 0x3b
mov dword [esi + 0x1920], eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, edi
mov byte [esp + 0x1c], 0x3d
je 0x4dc6fe
push edi
mov ecx, eax
call fcn.00444520
jmp 0x4dc700
xor eax, eax
push 0xf0
mov byte [esp + 0x20], 0x3b
mov dword [esi + 0x1924], eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, edi
mov byte [esp + 0x1c], 0x3e
je 0x4dc72f
push edi
mov ecx, eax
call fcn.00445b80
jmp 0x4dc731
xor eax, eax
push 0x52fa3c
lea ecx, [esi + 0xd8]
mov byte [esp + 0x20], 0x3b
mov dword [esi + 0x1928], eax
call sub.MFC42.DLL_CString::operator_3
push 0x52fa28
lea ecx, [esi + 0xdc]
call sub.MFC42.DLL_CString::operator_3
push 0x52fa14
lea ecx, [esi + 0xe0]
call sub.MFC42.DLL_CString::operator_3
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x16c], edi
mov dword [esi + 0xb0], edi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4