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

Disassembly:
push 0xffffffffffffffff
push 0x5ba697
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 0x543c12
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.00545930
test al, al
je 0x543c12
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
cmp edi, eax
jge 0x543533
mov dl, byte [edi + esi]
lea ecx, [esp + 0x10]
push edx
call fcn.005928d0
mov eax, dword [esp + 0x24]
inc edi
cmp edi, eax
jl 0x54351d
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 0x543bfc
push 0x28
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, edi
je 0x543581
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.004ea7d0
mov dword [edi + 8], eax
mov eax, dword [esp + 0x14]
add esp, 4
cmp dword [eax - 8], 3
jle 0x5435ea
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 0x627d64
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 0x5435f0
push 0x627d64
jmp 0x543a61
mov esi, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov edx, dword [esp + 0x10]
mov ebp, 4
cmp dword [edx - 8], ebp
jle 0x543636
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 0x543636
push 0x627d64
jmp 0x543a61
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 8], ebp
jle 0x543677
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 0x543677
push 0x627d64
jmp 0x543a61
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebp
jle 0x5436b8
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 0x5436b8
push 0x627d64
jmp 0x543a61
mov edx, dword [esp + 0x10]
cmp dword [edx - 8], ebp
jle 0x543a5c
push 0x601c8c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jle 0x543a5c
push 0x601c84
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jle 0x543a5c
push 0x601c8c
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.004ecf00
add esp, 4
test al, al
je 0x543a6b
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.004ecf00
add esp, 4
test al, al
je 0x543a6b
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.004ecf20
add esp, 4
test al, al
je 0x543a6b
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.004ecf20
add esp, 4
test al, al
je 0x543a6b
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.004ecf20
add esp, 4
test al, al
je 0x543a6b
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.004ecf00
add esp, 4
test al, al
je 0x543a6b
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.004ecf00
add esp, 4
test al, al
je 0x543a6b
mov eax, dword [esp + 0x10]
cmp byte [esi + eax + 8], 0x29
jne 0x543a6b
push 0x627d64
call fcn.004ea6e0
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 0x54384d
add edi, 0x76c
jmp 0x543853
add edi, 0x7d0
cmp ebp, 1
jl 0x543a49
cmp ebp, 0x1f
jge 0x543a49
mov ecx, dword [0x602620]
mov dl, byte [0x62fc5c]
xor eax, eax
mov dword [esp + 0x84], ecx
mov ecx, dword [0x602610]
mov word [esp + 0x81], ax
mov byte [esp + 0x80], dl
mov edx, dword [0x60261c]
mov byte [esp + 0x83], al
mov eax, dword [0x602618]
mov dword [esp + 0x90], ecx
mov ecx, dword [0x602604]
mov dword [esp + 0x88], edx
mov edx, dword [0x602614]
mov dword [esp + 0x8c], eax
mov eax, dword [0x60260c]
mov dword [esp + 0x9c], ecx
mov ecx, dword [0x6025f8]
mov dword [esp + 0x94], edx
mov edx, dword [0x602608]
mov dword [esp + 0x98], eax
mov eax, dword [0x602600]
mov dword [esp + 0xa8], ecx
push 3
lea ecx, [esp + 0x34]
mov dword [esp + 0xa4], edx
mov edx, dword [0x6025fc]
mov dword [esp + 0xa8], eax
mov eax, dword [0x6025f4]
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 0x543962
inc esi
add ebx, 4
cmp esi, 0xd
jl 0x543941
jmp 0x543a38
test esi, esi
jle 0x543a38
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_1
push ebp
push esi
push edi
lea eax, [esp + 0x34]
push 0x602510
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.004ea7d0
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.0042e840
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 0x543a27
mov edi, 0x627d74
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 0x543a6b
push 0x627d74
call fcn.004ea6e0
add esp, 4
mov dword [edi], eax
mov ebx, dword [esp + 0x1c]
xor edi, edi
mov ecx, dword [ebx + 0x4098]
mov eax, dword [ebx + 0x4094]
mov ebp, ecx
mov dword [esp + 0x38], ebp
inc ebp
cmp ebp, edi
jne 0x543ab0
cmp eax, edi
je 0x543a9f
push eax
mov dword [esp + 0x24], ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebx + 0x4094], edi
mov dword [ebx + 0x409c], edi
mov dword [ebx + 0x4098], edi
jmp 0x543bdc
cmp eax, edi
jne 0x543aef
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 + 0x4094], 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 + 0x409c], ebp
mov dword [ebx + 0x4098], ebp
jmp 0x543bdc
mov esi, dword [ebx + 0x409c]
cmp ebp, esi
jg 0x543b29
cmp ecx, ebp
jge 0x543b16
mov edx, ebp
lea eax, [eax + ecx*4]
sub edx, ecx
push edx
push eax
call fcn.005752e0
mov dword [ebx + 0x4098], ebp
jmp 0x543bdc
jle 0x543b1e
sub ecx, ebp
mov dword [esp + 0x20], ecx
mov dword [ebx + 0x4098], ebp
jmp 0x543bdc
mov eax, dword [ebx + 0x40a0]
cmp eax, edi
jne 0x543b56
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x543b4a
mov eax, 4
jmp 0x543b56
cmp eax, 0x400
jle 0x543b56
mov eax, 0x400
add eax, esi
cmp ebp, eax
mov dword [esp + 0x20], eax
jl 0x543b64
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 + 0x4098]
mov esi, dword [eax + 0x4094]
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 + 0x4098]
sub ecx, eax
lea edx, [ebx + eax*4]
push ecx
push edx
call fcn.005752e0
mov eax, dword [esi + 0x4094]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x24]
mov dword [esi + 0x4094], ebx
add esp, 4
mov dword [esi + 0x4098], ebp
mov dword [esi + 0x409c], eax
mov ebx, esi
mov ecx, dword [ebx + 0x4094]
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 0x5434ec
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 0x5440f1
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.00545930
test al, al
je 0x5440f1
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
cmp esi, eax
jge 0x543c8c
mov al, byte [esi + edi]
lea ecx, [esp + 0x10]
push eax
call fcn.005928d0
mov eax, dword [esp + 0x24]
inc esi
cmp esi, eax
jl 0x543c76
push str.SSR_INFT
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jl 0x5440e1
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 0x5440c8
test bl, bl
jne 0x543d74
mov cl, byte [edi + esi - 5]
push ecx
call fcn.004ecf00
add esp, 4
test al, al
je 0x543e23
mov dl, byte [edi + esi - 4]
push edx
call fcn.004ecf00
add esp, 4
test al, al
je 0x543e23
mov al, byte [edi + esi - 3]
push eax
call fcn.004ecf20
add esp, 4
test al, al
je 0x543e23
mov cl, byte [edi + esi - 2]
push ecx
call fcn.004ecf20
add esp, 4
test al, al
je 0x543e23
mov dl, byte [edi + esi - 1]
push edx
call fcn.004ecf20
add esp, 4
test al, al
je 0x543e23
mov al, byte [edi + esi]
push eax
call fcn.004ecfa0
add esp, 4
test al, al
je 0x543e23
mov bl, 1
jmp 0x543e23
cmp bl, 1
jne 0x543e16
mov cl, byte [edi + esi]
push ecx
call fcn.004ecfa0
add esp, 4
test al, al
je 0x543e16
mov dl, byte [edi + esi + 1]
push edx
call fcn.004ecf00
add esp, 4
test al, al
je 0x543e16
mov al, byte [edi + esi + 2]
push eax
call fcn.004ecf00
add esp, 4
test al, al
je 0x543e16
mov cl, byte [edi + esi + 3]
push ecx
call fcn.004ecf20
add esp, 4
test al, al
je 0x543e16
mov dl, byte [edi + esi + 4]
push edx
call fcn.004ecf20
add esp, 4
test al, al
je 0x543e16
mov al, byte [edi + esi + 5]
push eax
call fcn.004ecf20
add esp, 4
test al, al
je 0x543e16
mov cl, byte [edi + esi + 6]
push ecx
call fcn.004ecf00
add esp, 4
test al, al
je 0x543e16
mov dl, byte [edi + esi + 7]
push edx
call fcn.004ecf00
add esp, 4
test al, al
je 0x543e16
cmp byte [edi + esi + 8], 0x2f
jne 0x543e16
cmp byte [edi + esi + 9], 0x50
je 0x543e31
mov al, byte [edi + esi]
lea ecx, [esp + 0x14]
push eax
call fcn.005928d0
inc edi
cmp edi, ebp
jl 0x543ce8
jmp 0x5440c8
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 + 0x4098]
xor edi, edi
cmp eax, esi
mov byte [esp + 0x1b], 0
jle 0x543ee9
mov edx, dword [ebx + 0x4094]
mov esi, 0x627a40
mov ebp, dword [edx + edi*4]
mov eax, dword [ebp]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x543ea1
test cl, cl
je 0x543e9d
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x543ea1
add eax, 2
add esi, 2
test cl, cl
jne 0x543e7d
xor eax, eax
jmp 0x543ea6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x543ed0
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 0x543ed0
mov ecx, dword [esp + 0x30]
mov eax, dword [ebp + 0x18]
cmp eax, ecx
jne 0x543ed0
mov byte [esp + 0x1b], 1
mov eax, dword [ebx + 0x4098]
inc edi
cmp edi, eax
jl 0x543e6c
mov al, byte [esp + 0x1b]
test al, al
jne 0x5440c8
xor esi, esi
push 0x28
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, esi
je 0x543f16
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.004ea7d0
push 0x627a40
mov dword [esi + 8], eax
call fcn.004ea6e0
mov dword [esi], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x4098]
mov ebp, eax
add esp, 8
mov dword [esp + 0x48], ebp
inc ebp
xor edi, edi
cmp ebp, edi
jne 0x543f8a
mov ecx, dword [ebx + 0x4094]
cmp ecx, edi
je 0x543f79
push ecx
mov dword [esp + 0x48], eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebx + 0x4094], edi
mov dword [ebx + 0x409c], edi
mov dword [ebx + 0x4098], edi
jmp 0x5440bb
mov edx, dword [ebx + 0x4094]
cmp edx, edi
jne 0x543fd1
lea edi, [ebp*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [ebx + 0x4094], 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 + 0x409c], ebp
mov dword [ebx + 0x4098], ebp
jmp 0x5440bb
mov edi, dword [ebx + 0x409c]
cmp ebp, edi
jg 0x544008
cmp eax, ebp
jge 0x543ff5
mov ecx, ebp
lea edi, [edx + eax*4]
sub ecx, eax
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [ebx + 0x4098], ebp
jmp 0x5440bb
jle 0x543ffd
sub eax, ebp
mov dword [esp + 0x44], eax
mov dword [ebx + 0x4098], ebp
jmp 0x5440bb
mov ecx, dword [ebx + 0x40a0]
test ecx, ecx
jne 0x544036
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x544029
mov ecx, 4
jmp 0x544036
cmp ecx, 0x400
jle 0x544036
mov ecx, 0x400
lea eax, [edi + ecx]
cmp ebp, eax
mov dword [esp + 0x20], eax
jl 0x544045
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 + 0x4098]
mov esi, dword [eax + 0x4094]
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 + 0x4098]
sub ecx, eax
lea edi, [ebx + eax*4]
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x4094]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x28]
mov dword [esi + 0x4094], ebx
mov ebx, dword [esp + 0x24]
mov dword [esi + 0x4098], ebp
mov dword [esi + 0x409c], eax
mov esi, dword [esp + 0x30]
add esp, 8
mov ecx, dword [ebx + 0x4094]
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 0x543c45
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