Function at 0x4bd4f0
Capabilities:
Check if file exists
Get file attributes
Hide graphical window

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x52c32a
push eax
mov dword fs:[0], esp
sub esp, 0x524
push ebx
push ebp
push esi
mov esi, dword [esp + 0x544]
push edi
push 0x5c
mov ebp, ecx
push esi
call dword [sym.imp.MSVCRT.dll__mbschr]
add esp, 8
test eax, eax
je 0x4bd545
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4bd545
lea eax, [esp + 0x1a8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x4bd55b
push esi
lea ecx, [esp + 0x1ac]
push 0x568b80
push ecx
call fcn.00472190
add esp, 0xc
lea edx, [esp + 0x4c]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x1ac]
xor ebx, ebx
push eax
push ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
call fcn.00471c00
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov dword [esp + 0x4c], eax
mov al, byte [esp + 0x550]
add esp, 0xc
test al, 1
mov dword [esp + 0x3c], edx
je 0x4bd718
push 0x194
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x38], eax
cmp eax, ebx
mov dword [esp + 0x53c], ebx
je 0x4bd5e3
mov ecx, eax
call fcn.004cdee0
mov edi, eax
jmp 0x4bd5e5
xor edi, edi
lea ecx, [esp + 0x1a8]
lea eax, [edi + 4]
push ecx
push eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x544], 0xffffffff
mov dword [esp + 0x40], edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 0x3c]
mov dword [edi + 0x110], edx
mov eax, dword [esp + 0x24]
mov edx, dword [edi]
mov dword [edi + 0x114], eax
mov ecx, dword [esp + 0x28]
mov dword [edi + 0x118], ecx
mov eax, dword [ebp + 0xc8]
push eax
mov ecx, edi
call dword [edx + 0x20]
test eax, eax
jne 0x4bd718
mov eax, dword [ebp + 0x13c]
cmp eax, ebx
je 0x4bd6f2
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
lea eax, [ecx + 4]
push eax
call fcn.00473720
mov edx, dword [ebp + 0x13c]
add esp, 4
push eax
push 0x43d
push edx
call esi
mov al, byte [0x5688a4]
mov ecx, 0x40
mov byte [esp + 0x68], al
xor eax, eax
lea edi, [esp + 0x69]
mov edx, dword [esp + 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea ecx, [esp + 0x68]
lea edi, [edx + 4]
push ecx
push edi
call fcn.004722e0
mov ecx, dword [ebp + 0x13c]
add esp, 8
lea eax, [esp + 0x68]
push eax
push 0x43c
push ecx
call esi
push 1
push ebx
push edi
call fcn.00476810
mov edx, dword [ebp + 0x13c]
add esp, 0xc
mov edi, eax
push ebx
push edi
push 0x170
push 0x3f0
push edx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov eax, dword [ebp + 0x13c]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edi, dword [esp + 0x10]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
cmp eax, ebx
je 0x4bd702
cmp eax, 2
jne 0x4bd718
mov ecx, dword [ebp + 0xc8]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov dword [esp + 0x1c], 1
test byte [esp + 0x544], 0x10
je 0x4bd884
push 0x160
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x53c], 1
je 0x4bd753
mov ecx, eax
call fcn.004ccd30
mov dword [esp + 0x10], eax
jmp 0x4bd75b
mov dword [esp + 0x10], 0
mov edi, dword [esp + 0x10]
lea edx, [esp + 0x1a8]
push edx
mov dword [esp + 0x540], 0xffffffff
lea ebx, [edi + 4]
mov dword [esp + 0x1c], edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x110], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [edi]
mov dword [edi + 0x114], ecx
mov edx, dword [esp + 0x28]
mov dword [edi + 0x118], edx
mov ecx, dword [ebp + 0xcc]
push ecx
mov ecx, edi
call dword [eax + 0x20]
test eax, eax
jne 0x4bd884
mov eax, dword [ebp + 0x13c]
test eax, eax
je 0x4bd85e
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call fcn.00473720
mov edx, dword [ebp + 0x13c]
add esp, 4
push eax
push 0x43d
push edx
call esi
mov al, byte [0x5688a4]
mov ecx, 0x40
mov byte [esp + 0x68], al
xor eax, eax
lea edi, [esp + 0x69]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x68]
push ecx
push ebx
stosb byte es:[edi], al
call fcn.004722e0
mov eax, dword [ebp + 0x13c]
add esp, 8
lea edx, [esp + 0x68]
push edx
push 0x43c
push eax
call esi
push 1
push 0
push ebx
call fcn.00476810
mov ecx, dword [ebp + 0x13c]
add esp, 0xc
mov edi, eax
push 0
push edi
push 0x170
push 0x3f0
push ecx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov edx, dword [ebp + 0x13c]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test eax, eax
je 0x4bd86e
cmp eax, 2
jne 0x4bd884
mov eax, dword [ebp + 0xcc]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x1c]
mov dword [esp + 0x1c], 1
test byte [esp + 0x544], 2
je 0x4bd9f1
push 0x194
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x53c], 2
je 0x4bd8bf
mov ecx, eax
call fcn.004caea0
mov dword [esp + 0x10], eax
jmp 0x4bd8c7
mov dword [esp + 0x10], 0
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x1a8]
push ecx
mov dword [esp + 0x540], 0xffffffff
lea ebx, [edi + 4]
mov dword [esp + 0x34], edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 0x3c]
mov dword [edi + 0x110], edx
mov eax, dword [esp + 0x24]
mov edx, dword [edi]
mov dword [edi + 0x114], eax
mov ecx, dword [esp + 0x28]
mov dword [edi + 0x118], ecx
mov eax, dword [ebp + 0xd0]
push eax
mov ecx, edi
call dword [edx + 0x20]
test eax, eax
jne 0x4bd9f1
mov eax, dword [ebp + 0x13c]
test eax, eax
je 0x4bd9cb
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call fcn.00473720
mov ecx, dword [ebp + 0x13c]
add esp, 4
push eax
push 0x43d
push ecx
call esi
mov dl, byte [0x5688a4]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x69]
mov byte [esp + 0x68], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x68]
push eax
push ebx
call fcn.004722e0
mov edx, dword [ebp + 0x13c]
add esp, 8
lea ecx, [esp + 0x68]
push ecx
push 0x43c
push edx
call esi
push 1
push 0
push ebx
call fcn.00476810
add esp, 0xc
mov edi, eax
mov eax, dword [ebp + 0x13c]
push 0
push edi
push 0x170
push 0x3f0
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov ecx, dword [ebp + 0x13c]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edi, dword [esp + 0x10]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
test eax, eax
je 0x4bd9db
cmp eax, 2
jne 0x4bd9f1
mov ecx, dword [ebp + 0xd0]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov dword [esp + 0x1c], 1
test byte [esp + 0x544], 4
je 0x4bdb5d
push 0x19c
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov dword [esp + 0x53c], 3
je 0x4bda2c
mov ecx, eax
call fcn.004c7e40
mov dword [esp + 0x10], eax
jmp 0x4bda34
mov dword [esp + 0x10], 0
mov edi, dword [esp + 0x10]
lea edx, [esp + 0x1a8]
push edx
mov dword [esp + 0x540], 0xffffffff
lea ebx, [edi + 4]
mov dword [esp + 0x24], edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x110], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [edi]
mov dword [edi + 0x114], ecx
mov edx, dword [esp + 0x28]
mov dword [edi + 0x118], edx
mov ecx, dword [ebp + 0xd4]
push ecx
mov ecx, edi
call dword [eax + 0x20]
test eax, eax
jne 0x4bdb5d
mov eax, dword [ebp + 0x13c]
test eax, eax
je 0x4bdb37
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call fcn.00473720
mov edx, dword [ebp + 0x13c]
add esp, 4
push eax
push 0x43d
push edx
call esi
mov al, byte [0x5688a4]
mov ecx, 0x40
mov byte [esp + 0x68], al
xor eax, eax
lea edi, [esp + 0x69]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x68]
push ecx
push ebx
stosb byte es:[edi], al
call fcn.004722e0
mov eax, dword [ebp + 0x13c]
add esp, 8
lea edx, [esp + 0x68]
push edx
push 0x43c
push eax
call esi
push 1
push 0
push ebx
call fcn.00476810
mov ecx, dword [ebp + 0x13c]
add esp, 0xc
mov edi, eax
push 0
push edi
push 0x170
push 0x3f0
push ecx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov edx, dword [ebp + 0x13c]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test eax, eax
je 0x4bdb47
cmp eax, 2
jne 0x4bdb5d
mov eax, dword [ebp + 0xd4]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x1c]
mov dword [esp + 0x1c], 1
test byte [esp + 0x544], 8
je 0x4bdcca
push 0x184
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov dword [esp + 0x53c], 4
je 0x4bdb98
mov ecx, eax
call fcn.004c3a40
mov dword [esp + 0x10], eax
jmp 0x4bdba0
mov dword [esp + 0x10], 0
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x1a8]
push ecx
mov dword [esp + 0x540], 0xffffffff
lea ebx, [edi + 4]
mov dword [esp + 0x30], edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 0x3c]
mov dword [edi + 0x110], edx
mov eax, dword [esp + 0x24]
mov edx, dword [edi]
mov dword [edi + 0x114], eax
mov ecx, dword [esp + 0x28]
mov dword [edi + 0x118], ecx
mov eax, dword [ebp + 0xd8]
push eax
mov ecx, edi
call dword [edx + 0x20]
test eax, eax
jne 0x4bdcca
mov eax, dword [ebp + 0x13c]
test eax, eax
je 0x4bdca4
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call fcn.00473720
mov ecx, dword [ebp + 0x13c]
add esp, 4
push eax
push 0x43d
push ecx
call esi
mov dl, byte [0x5688a4]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x69]
mov byte [esp + 0x68], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x68]
push eax
push ebx
call fcn.004722e0
mov edx, dword [ebp + 0x13c]
add esp, 8
lea ecx, [esp + 0x68]
push ecx
push 0x43c
push edx
call esi
push 1
push 0
push ebx
call fcn.00476810
add esp, 0xc
mov edi, eax
mov eax, dword [ebp + 0x13c]
push 0
push edi
push 0x170
push 0x3f0
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov ecx, dword [ebp + 0x13c]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edi, dword [esp + 0x10]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
test eax, eax
je 0x4bdcb4
cmp eax, 2
jne 0x4bdcca
mov ecx, dword [ebp + 0xd8]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x1c]
mov dword [esp + 0x1c], 1
test byte [esp + 0x544], 0x20
je 0x4bde30
push 0x164
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x34], eax
test eax, eax
mov dword [esp + 0x53c], 5
je 0x4bdd05
mov ecx, eax
call fcn.004c6c10
mov dword [esp + 0x10], eax
jmp 0x4bdd0d
mov dword [esp + 0x10], 0
mov edi, dword [esp + 0x10]
lea edx, [esp + 0x1a8]
push edx
mov dword [esp + 0x540], 0xffffffff
lea ebx, [edi + 4]
mov dword [esp + 0x38], edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x110], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [edi]
mov dword [edi + 0x114], ecx
mov edx, dword [esp + 0x28]
mov dword [edi + 0x118], edx
mov ecx, dword [ebp + 0xdc]
push ecx
mov ecx, edi
call dword [eax + 0x20]
test eax, eax
jne 0x4bde30
mov eax, dword [ebp + 0x13c]
test eax, eax
je 0x4bde10
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call fcn.00473720
mov edx, dword [ebp + 0x13c]
add esp, 4
push eax
push 0x43d
push edx
call esi
mov al, byte [0x5688a4]
mov ecx, 0x40
mov byte [esp + 0x68], al
xor eax, eax
lea edi, [esp + 0x69]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x68]
push ecx
push ebx
stosb byte es:[edi], al
call fcn.004722e0
mov eax, dword [ebp + 0x13c]
add esp, 8
lea edx, [esp + 0x68]
push edx
push 0x43c
push eax
call esi
push 1
push 0
push ebx
call fcn.00476810
mov ecx, dword [ebp + 0x13c]
add esp, 0xc
mov esi, eax
push 0
push esi
push 0x170
push 0x3f0
push ecx
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
mov edx, dword [ebp + 0x13c]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test eax, eax
je 0x4bde20
cmp eax, 2
jne 0x4bde30
mov eax, dword [ebp + 0xdc]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x1c]
jmp 0x4bde3c
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4bdf65
lea ecx, [esp + 0x1a8]
push ecx
call fcn.00473720
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x330]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x2e
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x334]
push ecx
call dword [sym.imp.MSVCRT.dll__mbsrchr]
add esp, 0xc
test eax, eax
je 0x4bde89
mov byte [eax], 0
mov eax, dword [str.SoftwareACD_SystemsPlugIns]
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
lea edx, [esp + 0x32c]
lea ecx, [esp + 0x430]
push edx
push eax
push str._s_s
push ecx
call esi
add esp, 0x10
lea edx, [esp + 0x430]
lea ecx, [esp + 0x54]
push edx
push SysReAllocString
call fcn.00477940
lea eax, [esp + 0x1a8]
mov ebx, 6
push eax
lea ecx, [esp + 0x170]
mov dword [esp + 0x540], ebx
call fcn.004f2f60
lea ecx, [esp + 0x3c]
mov byte [esp + 0x53c], 7
push ecx
lea ecx, [esp + 0x170]
call fcn.004f3170
test eax, eax
jne 0x4bdf3e
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
lea eax, [esp + 0x2bc]
push str._d._d._d._.4d
push eax
call esi
add esp, 0x18
lea ecx, [esp + 0x2ac]
push ecx
push str.version
lea ecx, [esp + 0x5c]
call fcn.004781a0
lea ecx, [esp + 0x16c]
mov byte [esp + 0x53c], bl
call fcn.004f2f80
lea ecx, [esp + 0x54]
mov dword [esp + 0x53c], 0xffffffff
call fcn.00477bd0
mov edi, dword [esp + 0x38]
test edi, edi
je 0x4be06f
test byte [edi + 0x10e], 1
je 0x4be067
mov eax, dword [ebp + 0xb4]
mov ecx, dword [ebp + 0xb0]
lea edx, [eax + 1]
cmp ecx, edx
jne 0x4bdff6
add eax, dword [ebp + 0xbc]
lea eax, [eax*4 + 4]
push eax
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebp + 0xb4]
mov esi, dword [ebp + 0xac]
mov ebx, eax
lea ecx, [ecx*4 + 4]
mov edi, ebx
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 eax, dword [ebp + 0xac]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [ebp + 0xbc]
mov eax, dword [ebp + 0xb4]
mov edi, dword [esp + 0x40]
add esp, 8
add eax, ecx
mov dword [ebp + 0xac], ebx
mov dword [ebp + 0xb4], eax
mov edx, dword [ebp + 0xb0]
mov eax, dword [ebp + 0xac]
push edi
mov ecx, ebp
mov dword [eax + edx*4], edi
mov edx, dword [ebp + 0xb0]
inc edx
mov dword [ebp + 0xb0], edx
call fcn.004c34f0
mov esi, dword [ebp + 8]
sub esi, 2
js 0x4be056
cmp esi, dword [ebp + 8]
jge 0x4be033
test esi, esi
jl 0x4be033
mov ecx, dword [ebp + 4]
mov eax, dword [ecx + esi*4]
jmp 0x4be035
xor eax, eax
push eax
mov ecx, edi
call fcn.004c59b0
test eax, eax
je 0x4be056
mov eax, dword [ebp + 4]
dec esi
mov edx, dword [eax + esi*4 + 4]
mov dword [eax + esi*4 + 8], edx
mov eax, dword [ebp + 4]
mov dword [eax + esi*4 + 4], edi
jns 0x4be022
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
mov dword [esp + 0x14], 1
jmp 0x4be06f
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x4be17c
test byte [ebx + 0x10e], 1
je 0x4be174
mov eax, dword [ebp + 0xb4]
mov edx, dword [ebp + 0xb0]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x4be100
add eax, dword [ebp + 0xbc]
lea edx, [eax*4 + 4]
push edx
call sub.MFC42.DLL_operatornew
mov ebx, eax
mov eax, dword [ebp + 0xb4]
mov esi, dword [ebp + 0xac]
mov edi, ebx
lea ecx, [eax*4 + 4]
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 eax, dword [ebp + 0xac]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [ebp + 0xbc]
mov eax, dword [ebp + 0xb4]
add esp, 8
add eax, ecx
mov dword [ebp + 0xac], ebx
mov ebx, dword [esp + 0x18]
mov dword [ebp + 0xb4], eax
mov edx, dword [ebp + 0xb0]
mov eax, dword [ebp + 0xac]
lea edi, [ebp + 0x1c]
push ebx
mov dword [eax + edx*4], ebx
mov edx, dword [ebp + 0xb0]
inc edx
mov ecx, edi
mov dword [ebp + 0xb0], edx
call fcn.004c3610
mov esi, dword [edi + 8]
sub esi, 2
js 0x4be163
cmp esi, dword [edi + 8]
jge 0x4be140
test esi, esi
jl 0x4be140
mov ecx, dword [edi + 4]
mov eax, dword [ecx + esi*4]
jmp 0x4be142
xor eax, eax
push eax
mov ecx, ebx
call fcn.004c59b0
test eax, eax
je 0x4be163
mov eax, dword [edi + 4]
dec esi
mov edx, dword [eax + esi*4 + 4]
mov dword [eax + esi*4 + 8], edx
mov eax, dword [edi + 4]
mov dword [eax + esi*4 + 4], ebx
jns 0x4be12f
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 8]
mov dword [esp + 0x14], 1
jmp 0x4be17c
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4be2e7
mov ecx, eax
test byte [ecx + 0x10e], 1
je 0x4be2e1
mov eax, dword [ebp + 0xb4]
mov edx, dword [ebp + 0xb0]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x4be20b
add eax, dword [ebp + 0xbc]
lea edx, [eax*4 + 4]
push edx
call sub.MFC42.DLL_operatornew
mov ebx, eax
mov eax, dword [ebp + 0xb4]
mov esi, dword [ebp + 0xac]
mov edi, ebx
lea ecx, [eax*4 + 4]
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 eax, dword [ebp + 0xac]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [ebp + 0xbc]
mov eax, dword [ebp + 0xb4]
add esp, 8
add eax, ecx
mov dword [ebp + 0xac], ebx
mov dword [ebp + 0xb4], eax
mov edx, dword [ebp + 0xb0]
mov eax, dword [ebp + 0xac]
mov edi, dword [esp + 0x30]
lea ebx, [ebp + 0x38]
mov dword [eax + edx*4], edi
mov esi, dword [ebp + 0xb0]
inc esi
mov dword [ebp + 0xb0], esi
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x4be28e
add eax, dword [ebx + 0x14]
lea edx, [eax*4 + 4]
push edx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebx + 4]
mov edi, eax
mov dword [esp + 0x1c], eax
lea ecx, [ecx*4 + 4]
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 eax, dword [ebx + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x38]
add esp, 8
add eax, edx
mov dword [ebx + 4], ecx
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov dword [ecx + eax*4], edi
mov ecx, dword [ebx + 8]
inc ecx
mov eax, ecx
mov dword [ebx + 8], ecx
lea esi, [eax - 2]
test esi, esi
jl 0x4be2d0
push esi
mov ecx, ebx
call fcn.004c3490
push eax
mov ecx, edi
call fcn.004c59b0
test eax, eax
je 0x4be2d0
mov eax, dword [ebx + 4]
dec esi
mov edx, dword [eax + esi*4 + 4]
mov dword [eax + esi*4 + 8], edx
mov eax, dword [ebx + 4]
mov dword [eax + esi*4 + 4], edi
jns 0x4be2a7
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
mov dword [esp + 0x14], 1
jmp 0x4be2e7
mov eax, dword [ecx]
push 1
call dword [eax]
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x4be3f4
test byte [ebx + 0x10e], 1
je 0x4be3ec
mov eax, dword [ebp + 0xb4]
mov edx, dword [ebp + 0xb0]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x4be378
add eax, dword [ebp + 0xbc]
lea edx, [eax*4 + 4]
push edx
call sub.MFC42.DLL_operatornew
mov ebx, eax
mov eax, dword [ebp + 0xb4]
mov esi, dword [ebp + 0xac]
mov edi, ebx
lea ecx, [eax*4 + 4]
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 eax, dword [ebp + 0xac]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [ebp + 0xbc]
mov eax, dword [ebp + 0xb4]
add esp, 8
add eax, ecx
mov dword [ebp + 0xac], ebx
mov ebx, dword [esp + 0x20]
mov dword [ebp + 0xb4], eax
mov edx, dword [ebp + 0xb0]
mov eax, dword [ebp + 0xac]
lea edi, [ebp + 0x54]
push ebx
mov dword [eax + edx*4], ebx
mov edx, dword [ebp + 0xb0]
inc edx
mov ecx, edi
mov dword [ebp + 0xb0], edx
call fcn.004c2f40
mov esi, dword [edi + 8]
sub esi, 2
js 0x4be3db
cmp esi, dword [edi + 8]
jge 0x4be3b8
test esi, esi
jl 0x4be3b8
mov ecx, dword [edi + 4]
mov eax, dword [ecx + esi*4]
jmp 0x4be3ba
xor eax, eax
push eax
mov ecx, ebx
call fcn.004c59b0
test eax, eax
je 0x4be3db
mov eax, dword [edi + 4]
dec esi
mov edx, dword [eax + esi*4 + 4]
mov dword [eax + esi*4 + 8], edx
mov eax, dword [edi + 4]
mov dword [eax + esi*4 + 4], ebx
jns 0x4be3a7
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 8]
mov dword [esp + 0x14], 1
jmp 0x4be3f4
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4be55f
mov ecx, eax
test byte [ecx + 0x10e], 1
je 0x4be559
mov eax, dword [ebp + 0xb4]
mov edx, dword [ebp + 0xb0]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x4be483
add eax, dword [ebp + 0xbc]
lea edx, [eax*4 + 4]
push edx
call sub.MFC42.DLL_operatornew
mov ebx, eax
mov eax, dword [ebp + 0xb4]
mov esi, dword [ebp + 0xac]
mov edi, ebx
lea ecx, [eax*4 + 4]
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 eax, dword [ebp + 0xac]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [ebp + 0xbc]
mov eax, dword [ebp + 0xb4]
add esp, 8
add eax, ecx
mov dword [ebp + 0xac], ebx
mov dword [ebp + 0xb4], eax
mov edx, dword [ebp + 0xb0]
mov eax, dword [ebp + 0xac]
mov edi, dword [esp + 0x2c]
lea ebx, [ebp + 0x70]
mov dword [eax + edx*4], edi
mov esi, dword [ebp + 0xb0]
inc esi
mov dword [ebp + 0xb0], esi
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x4be506
add eax, dword [ebx + 0x14]
lea edx, [eax*4 + 4]
push edx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebx + 4]
mov edi, eax
mov dword [esp + 0x24], eax
lea ecx, [ecx*4 + 4]
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 eax, dword [ebx + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x34]
add esp, 8
add eax, edx
mov dword [ebx + 4], ecx
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov dword [ecx + eax*4], edi
mov ecx, dword [ebx + 8]
inc ecx
mov eax, ecx
mov dword [ebx + 8], ecx
lea esi, [eax - 2]
test esi, esi
jl 0x4be548
push esi
mov ecx, ebx
call fcn.004c34d0
push eax
mov ecx, edi
call fcn.004c59b0
test eax, eax
je 0x4be548
mov eax, dword [ebx + 4]
dec esi
mov edx, dword [eax + esi*4 + 4]
mov dword [eax + esi*4 + 8], edx
mov eax, dword [ebx + 4]
mov dword [eax + esi*4 + 4], edi
jns 0x4be51f
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
mov dword [esp + 0x14], 1
jmp 0x4be55f
mov eax, dword [ecx]
push 1
call dword [eax]
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4be666
test byte [edi + 0x10e], 1
je 0x4be65e
mov eax, dword [ebp + 0xb4]
mov edx, dword [ebp + 0xb0]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x4be5f0
add eax, dword [ebp + 0xbc]
lea edx, [eax*4 + 4]
push edx
call sub.MFC42.DLL_operatornew
mov ebx, eax
mov eax, dword [ebp + 0xb4]
mov esi, dword [ebp + 0xac]
mov edi, ebx
lea ecx, [eax*4 + 4]
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 eax, dword [ebp + 0xac]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [ebp + 0xbc]
mov eax, dword [ebp + 0xb4]
mov edi, dword [esp + 0x3c]
add esp, 8
add eax, ecx
mov dword [ebp + 0xac], ebx
mov dword [ebp + 0xb4], eax
mov edx, dword [ebp + 0xb0]
mov eax, dword [ebp + 0xac]
add ebp, 0x8c
push edi
mov dword [eax + edx*4], edi
mov edx, dword [ebp + 0x24]
inc edx
mov ecx, ebp
mov dword [ebp + 0x24], edx
call fcn.004c38b0
mov esi, dword [ebp + 8]
sub esi, 2
js 0x4be650
cmp esi, dword [ebp + 8]
jge 0x4be62d
test esi, esi
jl 0x4be62d
mov ecx, dword [ebp + 4]
mov eax, dword [ecx + esi*4]
jmp 0x4be62f
xor eax, eax
push eax
mov ecx, edi
call fcn.004c59b0
test eax, eax
je 0x4be650
mov eax, dword [ebp + 4]
dec esi
mov edx, dword [eax + esi*4 + 4]
mov dword [eax + esi*4 + 8], edx
mov eax, dword [ebp + 4]
mov dword [eax + esi*4 + 4], edi
jns 0x4be61c
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
mov eax, 1
jmp 0x4be66a
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x534]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x530
ret 8