Function at 0x54adb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5bf468
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
mov ebx, ecx
push eax
call sub.MFC42.DLL_CTime::GetTickCount
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebx + 0x4074]
mov dword [esp + 0x30], 0
test eax, eax
mov dword [esp + 0x14], 0x63547c
je 0x54adff
mov dword [esp + 0x14], eax
push 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CTime::GetLocalTm
mov esi, dword [eax + 4]
push 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CTime::GetLocalTm
mov ebp, dword [eax + 8]
push 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CTime::GetLocalTm
mov edi, dword [eax + 0xc]
push 0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CTime::GetLocalTm
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
push 0xd
push ecx
push esi
inc eax
push ebp
push edi
push eax
lea edx, [esp + 0x30]
push str.CT:__02d_02d__02d_02d__s__c
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x1c
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call sub.MFC42.DLL_CString::CString_2
call fcn.004eb710
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x4068]
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
lea ebp, [esi + 1]
test ebp, ebp
jne 0x54aeb0
mov eax, dword [ebx + 0x4064]
test eax, eax
je 0x54ae9d
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebx + 0x4064], ebp
xor eax, eax
mov dword [ebx + 0x406c], eax
mov dword [ebx + 0x4068], eax
jmp 0x54afca
mov edx, dword [ebx + 0x4064]
test edx, edx
jne 0x54aef7
lea edi, [ebp*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebx + 0x4064], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0x406c], ebp
mov dword [ebx + 0x4068], ebp
jmp 0x54afca
mov edi, dword [ebx + 0x406c]
cmp ebp, edi
jg 0x54af1b
cmp ebp, eax
jle 0x54af10
mov ecx, ebp
lea edi, [edx + eax*4]
sub ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebx + 0x4068], ebp
jmp 0x54afca
mov ecx, dword [ebx + 0x4070]
test ecx, ecx
jne 0x54af49
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x54af3c
mov ecx, 4
jmp 0x54af49
cmp ecx, 0x400
jle 0x54af49
mov ecx, 0x400
lea eax, [edi + ecx]
cmp ebp, eax
mov dword [esp + 0x14], eax
jl 0x54af58
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x14]
lea ecx, [eax*4]
push ecx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx + 0x4068]
mov esi, dword [ebx + 0x4064]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dword [esp + 0x20], eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx + 0x4068]
mov ecx, ebp
sub ecx, edx
lea edi, [eax + edx*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x4064]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
add esp, 8
mov dword [ebx + 0x4064], eax
mov dword [ebx + 0x4068], ebp
mov dword [ebx + 0x406c], ecx
mov edx, dword [ebx + 0x4064]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0xffffffff
mov dword [edx + esi*4], eax
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret