Function at 0x4d2470
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x52cee7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
lea ecx, [esi + 0x58]
mov dword [esi], eax
call fcn.004d01b0
xor ebx, ebx
push 0x80
mov dword [esp + 0x24], ebx
mov dword [esi + 0x1ec], 0x539e2c
call sub.MFC42.DLL_operatornew
mov dword [esi + 0x1f0], eax
mov dword [esi + 0x1f4], ebx
mov dword [esi + 0x1f8], 0x1f
mov dword [esi + 0x1fc], ebx
mov dword [esi + 0x200], 0x40
mov cl, byte [esp + 0x30]
mov dl, byte [esp + 0x30]
push 0x14
mov byte [esp + 0x28], 1
mov byte [esi + 0x270], cl
mov byte [esi + 0x271], dl
mov byte [esi + 0x278], bl
call sub.MFC42.DLL_operatornew
mov edi, eax
mov ebp, 1
add esp, 8
lea ecx, [esp + 0x10]
mov dword [edi + 4], ebx
mov dword [edi + 0x10], ebp
mov dword [esp + 0x2c], edi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
cmp dword [0x568d2c], ebx
jne 0x4d2540
mov dword [0x568d2c], edi
mov dword [edi], ebx
mov eax, dword [0x568d2c]
mov dword [esp + 0x2c], ebx
mov dword [eax + 8], ebx
mov edx, dword [0x568d28]
lea ecx, [esp + 0x10]
inc edx
mov dword [0x568d28], edx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x4d2568
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edi, dword [0x568d2c]
push 0x14
call sub.MFC42.DLL_operatornew
mov dword [eax + 4], edi
mov dword [eax + 0x10], ebx
mov dword [esi + 0x274], eax
mov dword [esi + 0x27c], ebx
mov dword [eax], eax
mov eax, dword [esi + 0x274]
add esp, 4
mov dword [eax + 8], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esi + 4], ecx
mov dword [esi + 8], ebx
lea edx, [eax + 0xc]
mov dword [esi + 0xc], ebx
lea ecx, [esi + 0x14]
mov byte [esp + 0x20], 2
mov edi, dword [edx]
mov dword [ecx], edi
mov edi, dword [edx + 4]
mov dword [ecx + 4], edi
mov edi, dword [edx + 8]
mov dword [ecx + 8], edi
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x28], ecx
mov edx, dword [eax + 0x24]
mov dword [esi + 0x2c], edx
mov ecx, dword [eax + 0x38]
mov dword [esi + 0x208], ecx
mov edx, dword [eax]
mov dword [esi + 0x30], edx
mov ecx, dword [eax + 4]
mov dword [esi + 0x34], ecx
mov edx, dword [eax + 0x34]
mov dword [esi + 0x54], edx
movsx ecx, byte [eax + 0x3c]
mov dword [esi + 0x260], ecx
mov edx, dword [eax + 8]
mov dword [esi + 0x20c], edx
mov dword [esi + 0x240], ebx
mov dword [esi + 0x244], ebx
mov dword [esi + 0x248], ebx
mov eax, 0x3dcccccd
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x210], ebx
mov dword [esi + 0x214], ebx
mov dword [esi + 0x218], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebp
mov dword [esi + 0x21c], ebx
mov dword [esi + 0x220], ebx
mov dword [esi + 0x224], ebx
mov dword [esi + 0x1c8], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x1d4], ebx
mov dword [esi + 0x1d8], ebx
mov dword [esi + 0x1dc], ebx
mov dword [esi + 0x1e0], ebx
mov dword [esi + 0x1e4], ebx
mov dword [esi + 0x1e8], ebx
mov dword [esi + 0x1cc], eax
mov dword [esi + 0x1d0], eax
mov ecx, esi
mov dword [esi + 0x1fc], ebp
call fcn.004d37a0
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0x58
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [esi + 0x1e4], eax
push 0x5a
push edi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push edi
push ebx
mov dword [esi + 0x1e8], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x250], ebx
mov dword [esi + 0x24c], ebx
mov dword [esi + 0x254], ebx
mov dword [esi + 0x258], ebx
mov dword [esi + 0x25c], ebx
mov dword [esi + 0x264], ebx
mov dword [esi + 0x268], ebp
mov dword [esi + 0x26c], ebp
mov dword [esi + 0x23c], 0xffffffff
mov dword [esi + 0x238], ebx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc