Function at 0x549ff0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5c41a7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
push ebp
mov dword [esp + 0x14], ecx
push esi
or eax, 0xffffffff
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], eax
call sub.MFC42.DLL_CString::CString_1
mov ebp, dword [esp + 0xc8]
mov dword [esp + 0xbc], 0
lea eax, [ebp + 1]
push eax
call sub.MFC42.DLL_operatornew
mov esi, dword [esp + 0xc8]
mov ecx, ebp
mov ebx, eax
mov edx, ecx
mov edi, ebx
add esp, 4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebx + ebp]
and ecx, 3
cmp ebx, eax
rep movsb byte es:[edi], byte [esi]
mov esi, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], eax
mov byte [eax], 0
mov dword [esp + 0x2c], esi
jae 0x54a7a2
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Empty
lea eax, [esp + 0x24]
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, dword [esp + 0x24]
push esi
call fcn.0054c4c0
test al, al
je 0x54a7a2
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
cmp edi, eax
jge 0x54a0c3
mov dl, byte [edi + esi]
lea ecx, [esp + 0x10]
push edx
call fcn.0059b7b2
mov eax, dword [esp + 0x24]
inc edi
cmp edi, eax
jl 0x54a0ad
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [esp + 0x10]
xor edi, edi
cmp dword [eax - 8], edi
je 0x54a78c
push 0x28
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, edi
je 0x54a111
mov dword [eax + 0x24], edi
mov dword [eax + 0x10], edi
mov dword [eax + 0x20], edi
mov dword [eax + 0x1c], edi
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 0x14], edi
mov dword [eax + 0xc], edi
mov dword [eax + 8], edi
mov dword [eax + 0x18], edi
mov edi, eax
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov dword [esp + 0x44], edi
call sub.MFC42.DLL_CString::CString_2
call fcn.004ec3c0
mov dword [edi + 8], eax
mov eax, dword [esp + 0x14]
add esp, 4
cmp dword [eax - 8], 3
jle 0x54a17a
lea ecx, [esp + 0x70]
push 3
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
mov esi, dword [sym.imp.MSVCRT.dll__mbsicmp]
push 0x633400
push eax
call esi
add esp, 8
lea ecx, [esp + 0x70]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x54a180
push 0x633400
jmp 0x54a5f1
mov esi, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov edx, dword [esp + 0x10]
mov ebp, 4
cmp dword [edx - 8], ebp
jle 0x54a1c6
lea eax, [esp + 0x60]
push ebp
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push str.MSTR
push eax
call esi
add esp, 8
lea ecx, [esp + 0x60]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x54a1c6
push 0x633400
jmp 0x54a5f1
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 8], ebp
jle 0x54a207
lea edx, [esp + 0x68]
push ebp
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push str.MISS
push eax
call esi
add esp, 8
lea ecx, [esp + 0x68]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x54a207
push 0x633400
jmp 0x54a5f1
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebp
jle 0x54a248
lea ecx, [esp + 0x4c]
push ebp
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push str.MIST
push eax
call esi
add esp, 8
lea ecx, [esp + 0x4c]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x54a248
push 0x633400
jmp 0x54a5f1
mov edx, dword [esp + 0x10]
cmp dword [edx - 8], ebp
jle 0x54a5ec
push 0x60cca8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jle 0x54a5ec
push 0x60cca0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jle 0x54a5ec
push 0x60cca8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
mov esi, eax
mov eax, dword [esp + 0x10]
mov cl, byte [esi + eax + 1]
mov byte [esp + 0x78], cl
mov edx, dword [esp + 0x78]
push edx
call fcn.004ee9d0
add esp, 4
test al, al
je 0x54a5fb
mov eax, dword [esp + 0x10]
mov cl, byte [esi + eax + 2]
mov byte [esp + 0x54], cl
mov edx, dword [esp + 0x54]
push edx
call fcn.004ee9d0
add esp, 4
test al, al
je 0x54a5fb
mov eax, dword [esp + 0x10]
mov cl, byte [esi + eax + 3]
mov byte [esp + 0x6c], cl
mov edx, dword [esp + 0x6c]
push edx
call fcn.004ee9f0
add esp, 4
test al, al
je 0x54a5fb
mov eax, dword [esp + 0x10]
mov cl, byte [esi + eax + 4]
mov byte [esp + 0x5c], cl
mov edx, dword [esp + 0x5c]
push edx
call fcn.004ee9f0
add esp, 4
test al, al
je 0x54a5fb
mov eax, dword [esp + 0x10]
mov cl, byte [esi + eax + 5]
mov byte [esp + 0x7c], cl
mov edx, dword [esp + 0x7c]
push edx
call fcn.004ee9f0
add esp, 4
test al, al
je 0x54a5fb
mov eax, dword [esp + 0x10]
mov cl, byte [esi + eax + 6]
mov byte [esp + 0x64], cl
mov edx, dword [esp + 0x64]
push edx
call fcn.004ee9d0
add esp, 4
test al, al
je 0x54a5fb
mov eax, dword [esp + 0x10]
mov cl, byte [esi + eax + 7]
mov byte [esp + 0x74], cl
mov edx, dword [esp + 0x74]
push edx
call fcn.004ee9d0
add esp, 4
test al, al
je 0x54a5fb
mov eax, dword [esp + 0x10]
cmp byte [esi + eax + 8], 0x29
jne 0x54a5fb
push 0x633400
call fcn.004ec2d0
mov ecx, dword [esp + 0x40]
add esp, 4
inc esi
lea edx, [esp + 0x14]
mov dword [ecx], eax
push esi
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.MSVCRT.dll_atoi]
push eax
mov byte [esp + 0xc0], 1
call esi
mov ecx, dword [esp + 0x18]
mov ebp, eax
add ecx, 5
push ecx
call esi
mov edi, eax
add esp, 8
cmp edi, 0x32
jle 0x54a3dd
add edi, 0x76c
jmp 0x54a3e3
add edi, 0x7d0
cmp ebp, 1
jl 0x54a5d9
cmp ebp, 0x1f
jge 0x54a5d9
mov ecx, dword [0x60d638]
mov dl, byte [0x63b90c]
xor eax, eax
mov dword [esp + 0x84], ecx
mov ecx, dword [0x60d628]
mov word [esp + 0x81], ax
mov byte [esp + 0x80], dl
mov edx, dword [0x60d634]
mov byte [esp + 0x83], al
mov eax, dword [0x60d630]
mov dword [esp + 0x90], ecx
mov ecx, dword [0x60d61c]
mov dword [esp + 0x88], edx
mov edx, dword [0x60d62c]
mov dword [esp + 0x8c], eax
mov eax, dword [0x60d624]
mov dword [esp + 0x9c], ecx
mov ecx, dword [0x60d610]
mov dword [esp + 0x94], edx
mov edx, dword [0x60d620]
mov dword [esp + 0x98], eax
mov eax, dword [0x60d618]
mov dword [esp + 0xa8], ecx
push 3
lea ecx, [esp + 0x34]
mov dword [esp + 0xa4], edx
mov edx, dword [0x60d614]
mov dword [esp + 0xa8], eax
mov eax, dword [0x60d60c]
push 2
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], eax
call sub.MFC42.DLL_CString::Mid_1
mov byte [esp + 0xbc], 2
mov esi, 1
lea ebx, [esp + 0x84]
mov edx, dword [esp + 0x30]
push ebx
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x54a4f2
inc esi
add ebx, 4
cmp esi, 0xd
jl 0x54a4d1
jmp 0x54a5c8
test esi, esi
jle 0x54a5c8
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_1
push ebp
push esi
push edi
lea eax, [esp + 0x34]
push 0x60d528
push eax
mov byte [esp + 0xd0], 3
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
call fcn.004ec3c0
mov ebx, dword [esp + 0x40]
add esp, 4
lea ecx, [esp + 0x50]
push 0xffffffffffffffff
push 0
push 0
push 0
push ebp
push esi
push edi
mov dword [ebx + 4], eax
call sub.MFC42.DLL_CTime::CTime_1
push ecx
mov ecx, dword [esp + 0x54]
mov eax, esp
lea edx, [esp + 0x5c]
mov dword [esp + 0x3c], esp
push edx
mov dword [eax], ecx
lea eax, [esp + 0x4c]
push eax
call sub.MFC42.DLL_CTime::GetTickCount
mov ecx, eax
call fcn.0042e750
mov ecx, dword [esp + 0x58]
mov eax, 0x91a2b3c5
imul ecx
add edx, ecx
sar edx, 0xb
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, 0x19aa0
jle 0x54a5b7
mov edi, 0x633410
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [ebx]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
mov byte [esp + 0xbc], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0xbc], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0xbc], 0
call sub.MFC42.DLL_CString::CString
jmp 0x54a5fb
push 0x633410
call fcn.004ec2d0
add esp, 4
mov dword [edi], eax
mov ebx, dword [esp + 0x1c]
xor edi, edi
mov ecx, dword [ebx + 0x409c]
mov eax, dword [ebx + 0x4098]
mov ebp, ecx
mov dword [esp + 0x38], ebp
inc ebp
cmp ebp, edi
jne 0x54a640
cmp eax, edi
je 0x54a62f
push eax
mov dword [esp + 0x24], ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebx + 0x4098], edi
mov dword [ebx + 0x40a0], edi
mov dword [ebx + 0x409c], edi
jmp 0x54a76c
cmp eax, edi
jne 0x54a67f
lea esi, [ebp*4]
push esi
call sub.MFC42.DLL_operatornew
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x4098], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [ebx + 0x40a0], ebp
mov dword [ebx + 0x409c], ebp
jmp 0x54a76c
mov esi, dword [ebx + 0x40a0]
cmp ebp, esi
jg 0x54a6b9
cmp ecx, ebp
jge 0x54a6a6
mov edx, ebp
lea eax, [eax + ecx*4]
sub edx, ecx
push edx
push eax
call fcn.00556850
mov dword [ebx + 0x409c], ebp
jmp 0x54a76c
jle 0x54a6ae
sub ecx, ebp
mov dword [esp + 0x20], ecx
mov dword [ebx + 0x409c], ebp
jmp 0x54a76c
mov eax, dword [ebx + 0x40a4]
cmp eax, edi
jne 0x54a6e6
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x54a6da
mov eax, 4
jmp 0x54a6e6
cmp eax, 0x400
jle 0x54a6e6
mov eax, 0x400
add eax, esi
cmp ebp, eax
mov dword [esp + 0x20], eax
jl 0x54a6f4
mov dword [esp + 0x20], ebp
mov ecx, dword [esp + 0x20]
lea edx, [ecx*4]
push edx
call sub.MFC42.DLL_operatornew
mov ebx, eax
mov eax, dword [esp + 0x20]
mov edi, ebx
add esp, 4
mov ecx, dword [eax + 0x409c]
mov esi, dword [eax + 0x4098]
shl ecx, 2
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
mov ecx, ebp
mov eax, dword [esi + 0x409c]
sub ecx, eax
lea edx, [ebx + eax*4]
push ecx
push edx
call fcn.00556850
mov eax, dword [esi + 0x4098]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x24]
mov dword [esi + 0x4098], ebx
add esp, 4
mov dword [esi + 0x409c], ebp
mov dword [esi + 0x40a0], eax
mov ebx, esi
mov ecx, dword [ebx + 0x4098]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0xc8]
mov dword [ecx + eax*4], edx
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x48]
add esi, ecx
cmp esi, eax
mov dword [esp + 0x2c], esi
jb 0x54a07c
push ebx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0xc8]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [edx + ebp]
mov dword [esp + 0x2c], edi
lea ebx, [ecx + edx - 1]
cmp edi, ebx
mov dword [esp + 0x40], ebx
jae 0x54ac81
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Empty
lea ecx, [esp + 0x24]
lea edx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push edi
call fcn.0054c4c0
test al, al
je 0x54ac81
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
cmp esi, eax
jge 0x54a81c
mov al, byte [esi + edi]
lea ecx, [esp + 0x10]
push eax
call fcn.0059b7b2
mov eax, dword [esp + 0x24]
inc esi
cmp esi, eax
jl 0x54a806
push str.SSR_INFT
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jl 0x54ac71
mov edi, str.SSR_INFT
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
or ecx, 0xffffffff
add esi, ebx
xor bl, bl
mov edi, esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov edi, 5
add ebp, 0xfffffff6
cmp ebp, edi
mov byte [esp + 0xbc], 4
jle 0x54ac58
test bl, bl
jne 0x54a904
mov cl, byte [edi + esi - 5]
push ecx
call fcn.004ee9d0
add esp, 4
test al, al
je 0x54a9b3
mov dl, byte [edi + esi - 4]
push edx
call fcn.004ee9d0
add esp, 4
test al, al
je 0x54a9b3
mov al, byte [edi + esi - 3]
push eax
call fcn.004ee9f0
add esp, 4
test al, al
je 0x54a9b3
mov cl, byte [edi + esi - 2]
push ecx
call fcn.004ee9f0
add esp, 4
test al, al
je 0x54a9b3
mov dl, byte [edi + esi - 1]
push edx
call fcn.004ee9f0
add esp, 4
test al, al
je 0x54a9b3
mov al, byte [edi + esi]
push eax
call fcn.004eea70
add esp, 4
test al, al
je 0x54a9b3
mov bl, 1
jmp 0x54a9b3
cmp bl, 1
jne 0x54a9a6
mov cl, byte [edi + esi]
push ecx
call fcn.004eea70
add esp, 4
test al, al
je 0x54a9a6
mov dl, byte [edi + esi + 1]
push edx
call fcn.004ee9d0
add esp, 4
test al, al
je 0x54a9a6
mov al, byte [edi + esi + 2]
push eax
call fcn.004ee9d0
add esp, 4
test al, al
je 0x54a9a6
mov cl, byte [edi + esi + 3]
push ecx
call fcn.004ee9f0
add esp, 4
test al, al
je 0x54a9a6
mov dl, byte [edi + esi + 4]
push edx
call fcn.004ee9f0
add esp, 4
test al, al
je 0x54a9a6
mov al, byte [edi + esi + 5]
push eax
call fcn.004ee9f0
add esp, 4
test al, al
je 0x54a9a6
mov cl, byte [edi + esi + 6]
push ecx
call fcn.004ee9d0
add esp, 4
test al, al
je 0x54a9a6
mov dl, byte [edi + esi + 7]
push edx
call fcn.004ee9d0
add esp, 4
test al, al
je 0x54a9a6
cmp byte [edi + esi + 8], 0x2f
jne 0x54a9a6
cmp byte [edi + esi + 9], 0x50
je 0x54a9c1
mov al, byte [edi + esi]
lea ecx, [esp + 0x14]
push eax
call fcn.0059b7b2
inc edi
cmp edi, ebp
jl 0x54a878
jmp 0x54ac58
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [edi + esi + 0xa]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x34], eax
xor esi, esi
add esp, 4
mov eax, dword [ebx + 0x409c]
xor edi, edi
cmp eax, esi
mov byte [esp + 0x1b], 0
jle 0x54aa79
mov edx, dword [ebx + 0x4098]
mov esi, 0x6330dc
mov ebp, dword [edx + edi*4]
mov eax, dword [ebp]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x54aa31
test cl, cl
je 0x54aa2d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x54aa31
add eax, 2
add esi, 2
test cl, cl
jne 0x54aa0d
xor eax, eax
jmp 0x54aa36
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x54aa60
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x54aa60
mov ecx, dword [esp + 0x30]
mov eax, dword [ebp + 0x18]
cmp eax, ecx
jne 0x54aa60
mov byte [esp + 0x1b], 1
mov eax, dword [ebx + 0x409c]
inc edi
cmp edi, eax
jl 0x54a9fc
mov al, byte [esp + 0x1b]
test al, al
jne 0x54ac58
xor esi, esi
push 0x28
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, esi
je 0x54aaa6
mov dword [eax + 0x24], esi
mov dword [eax + 0x10], esi
mov dword [eax + 0x20], esi
mov dword [eax + 0x1c], esi
mov dword [eax + 4], esi
mov dword [eax], esi
mov dword [eax + 0x14], esi
mov dword [eax + 0xc], esi
mov dword [eax + 8], esi
mov dword [eax + 0x18], esi
mov esi, eax
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
mov dword [esp + 0x30], esi
call sub.MFC42.DLL_CString::CString_2
call fcn.004ec3c0
push 0x6330dc
mov dword [esi + 8], eax
call fcn.004ec2d0
mov dword [esi], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x409c]
mov ebp, eax
add esp, 8
mov dword [esp + 0x48], ebp
inc ebp
xor edi, edi
cmp ebp, edi
jne 0x54ab1a
mov ecx, dword [ebx + 0x4098]
cmp ecx, edi
je 0x54ab09
push ecx
mov dword [esp + 0x48], eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebx + 0x4098], edi
mov dword [ebx + 0x40a0], edi
mov dword [ebx + 0x409c], edi
jmp 0x54ac4b
mov edx, dword [ebx + 0x4098]
cmp edx, edi
jne 0x54ab61
lea edi, [ebp*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebx + 0x4098], 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 + 0x40a0], ebp
mov dword [ebx + 0x409c], ebp
jmp 0x54ac4b
mov edi, dword [ebx + 0x40a0]
cmp ebp, edi
jg 0x54ab98
cmp eax, ebp
jge 0x54ab85
mov ecx, ebp
lea edi, [edx + eax*4]
sub ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebx + 0x409c], ebp
jmp 0x54ac4b
jle 0x54ab8d
sub eax, ebp
mov dword [esp + 0x44], eax
mov dword [ebx + 0x409c], ebp
jmp 0x54ac4b
mov ecx, dword [ebx + 0x40a4]
test ecx, ecx
jne 0x54abc6
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x54abb9
mov ecx, 4
jmp 0x54abc6
cmp ecx, 0x400
jle 0x54abc6
mov ecx, 0x400
lea eax, [edi + ecx]
cmp ebp, eax
mov dword [esp + 0x20], eax
jl 0x54abd5
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x20]
lea ecx, [eax*4]
push ecx
call sub.MFC42.DLL_operatornew
mov ebx, eax
mov eax, dword [esp + 0x20]
mov edi, ebx
mov ecx, dword [eax + 0x409c]
mov esi, dword [eax + 0x4098]
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, eax
mov ecx, ebp
mov eax, dword [esi + 0x409c]
sub ecx, eax
lea edi, [ebx + eax*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x4098]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x28]
mov dword [esi + 0x4098], ebx
mov ebx, dword [esp + 0x24]
mov dword [esi + 0x409c], ebp
mov dword [esi + 0x40a0], eax
mov esi, dword [esp + 0x30]
add esp, 8
mov ecx, dword [ebx + 0x4098]
mov edx, dword [esp + 0x48]
mov dword [ecx + edx*4], esi
lea ecx, [esp + 0x14]
mov byte [esp + 0xbc], 0
call sub.MFC42.DLL_CString::CString
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x2c]
add edi, dword [esp + 0x24]
cmp edi, ebx
mov dword [esp + 0x2c], edi
jb 0x54a7d5
lea ecx, [esp + 0x10]
mov dword [esp + 0xbc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xb0
ret 8