Function at 0x444020
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dcc79
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x527064]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0xb4], 0
jne 0x4440c0
push str...includeMcDynamicStub.cpp
push str.CDynamicStub::ChangeAWDETFile
push 0x390
push 4
lea ecx, [ebp - 0x104]
call fcn.00431610
mov dword [ebp - 4], 0
mov edx, str.CDynamicStub::ChangeAWDETFile
mov ecx, dword [eax]
call fcn.00433720
mov edx, str.m_pJsonUtils_is_null
mov ecx, eax
call fcn.004333c0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x104]
call fcn.004327d0
mov eax, dword [ebp - 0x104]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x54f
jmp 0x44491f
mov ecx, dword [edi + 0x7c]
test ecx, ecx
jne 0x44410b
push str...includeMcDynamicStub.cpp
push str.CDynamicStub::ChangeAWDETFile
push 0x395
push 4
lea ecx, [ebp - 0x104]
call fcn.00431610
mov dword [ebp - 4], 2
mov edx, str.CDynamicStub::ChangeAWDETFile
mov ecx, dword [eax]
call fcn.00433720
mov edx, str.m_pMcDi2Utils_is_null
mov ecx, eax
call fcn.004333c0
mov dword [ebp - 4], 3
jmp 0x44409b
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 4
lea edx, [ebp - 0x40]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x4448aa
cmp dword [ebp - 0x30], 0
je 0x4448aa
push str.PACKAGEID
lea ecx, [ebp - 0x100]
call fcn.00432050
xor ecx, ecx
mov byte [ebp - 4], 7
push 0xffffffffffffffff
push ecx
lea eax, [edi + 4]
mov word [ebp - 0xe8], cx
push eax
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xd4], 7
mov dword [ebp - 0xd8], 0
call fcn.00409030
xor eax, eax
mov byte [ebp - 4], 8
push 0xffffffffffffffff
push eax
lea ebx, [edi + 0x1c]
mov dword [ebp - 0xbc], 7
push ebx
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xc0], 0
mov word [ebp - 0xd0], ax
call fcn.00409030
push str.AWDET
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 9
call fcn.00432050
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xa0]
mov byte [ebp - 0x104], 0
lea ecx, [ebp - 0x128]
push dword [ebp - 0x104]
mov dword [ebp - 0x128], 0
push eax
lea eax, [ebp - 0x100]
mov dword [ebp - 0x124], 0
push eax
mov dword [ebp - 0x120], 0
call fcn.0043dc50
push fcn.00408d60
push 4
push 0x18
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0xc
push eax
call fcn.00490fab
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
call fcn.0043cf90
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 0xe
mov ecx, dword [edi + 0xb4]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.0045b250
cmp byte [eax], 0
jne 0x4442ed
push str...includeMcDynamicStub.cpp
push str.CDynamicStub::ChangeAWDETFile
push 0x3a4
push 4
lea ecx, [ebp - 0x104]
call fcn.00431610
mov byte [ebp - 4], 0xf
mov edx, str.Not_able_to_find_AWDET_content_in_JSON
mov ecx, dword [eax]
call fcn.00433720
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x104]
call fcn.004327d0
mov eax, dword [ebp - 0x104]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, 0x262
jmp 0x4447f1
mov eax, dword [ebp - 0x11c]
mov esi, eax
cmp eax, dword [ebp - 0x118]
je 0x44440f
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x134]
call fcn.00444ce0
push esi
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0x11
call fcn.0043e7a0
xor eax, eax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
mov byte [ebp - 4], 0x12
lea edx, [ebp - 0xa0]
mov ecx, dword [edi + 0xb4]
push edx
lea edx, [ebp - 0x134]
push edx
mov eax, dword [ecx]
lea edx, [ebp - 0x148]
push edx
call dword [eax + 0x10]
cmp byte [eax], 0
jne 0x4443b6
push str...includeMcDynamicStub.cpp
push str.CDynamicStub::ChangeAWDETFile
push 0x3af
push 4
lea ecx, [ebp - 0x104]
call fcn.00431610
mov byte [ebp - 4], 0x13
mov edx, str.Failed_to_get_AWDET_SKU
mov ecx, dword [eax]
call fcn.00433720
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x104]
call fcn.004327d0
mov eax, dword [ebp - 0x104]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4443e6
push esi
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x10c]
call fcn.00445c50
mov ecx, dword [ebp - 0x13c]
lea eax, [ebp - 0xa0]
add ecx, 0x28
cmp ecx, eax
je 0x4443e6
push 0xffffffffffffffff
push 0
push eax
call fcn.00409030
lea ecx, [ebp - 0xa0]
call fcn.00408d60
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0xe
call fcn.0043a080
add esi, 0x18
cmp esi, dword [ebp - 0x118]
jne 0x444301
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00444ed0
push str.Dynamic.ini
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x15
call fcn.00444da0
mov ecx, dword [ebp - 0x10c]
mov eax, dword [ecx]
mov dword [ebp - 0x104], eax
cmp eax, ecx
je 0x44448d
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
add eax, 0x10
cmp dword [eax + 0x2c], 8
lea ecx, [eax + 0x18]
jb 0x44445d
mov ecx, dword [ecx]
cmp dword [eax + 0x14], 8
jb 0x444465
mov eax, dword [eax]
push edx
push ecx
push 0x4fe83c
push eax
call esi
lea ecx, [ebp - 0x104]
cmp eax, 1
jne 0x4444ca
call fcn.0043c9e0
mov eax, dword [ebp - 0x104]
cmp eax, dword [ebp - 0x10c]
jne 0x444444
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x70]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00408f30
mov byte [ebp - 4], 0x19
cmp dword [ebx + 0x14], 8
jb 0x44453f
mov ecx, dword [ebx]
jmp 0x444541
push str...includeMcDynamicStub.cpp
push str.CDynamicStub::ChangeAWDETFile
push 0x3bb
push 4
call fcn.00431610
mov byte [ebp - 4], 0x16
mov edx, str.Not_able_to_write_INI_file_:
mov ecx, dword [eax]
call fcn.00433720
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.00433d20
mov edx, str._error_:
mov ecx, eax
call fcn.00433720
mov ecx, eax
call fcn.0043a5d0
mov byte [ebp - 4], 0x17
mov ecx, dword [ebp - 0x104]
call fcn.004327d0
mov eax, dword [ebp - 0x104]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, 0x263
jmp 0x4447c6
mov ecx, ebx
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push str.AWDET.ini
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
lea eax, [ebp - 0x70]
push str._sDynamicAffid_s_s
push eax
call fcn.00444eb0
xor eax, eax
mov dword [ebp - 0x44], 7
add esp, 0x14
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x110]
push eax
push 0
push 0
push 0x50da74
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jns 0x4445fd
push str...includeMcDynamicStub.cpp
push str.CDynamicStub::ChangeAWDETFile
push 0x3c7
push 4
lea ecx, [ebp - 0x104]
call fcn.00431610
mov byte [ebp - 4], 0x1b
mov edx, str.CDynamicStub::ChangeAWDETFile
mov ecx, dword [eax]
call fcn.00433720
mov edx, str.Failed_to_get_direct_folder_path
mov ecx, eax
call fcn.00433720
mov byte [ebp - 4], 0x1c
mov ecx, dword [ebp - 0x104]
call fcn.004327d0
mov eax, dword [ebp - 0x104]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, 0x264
jmp 0x444770
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x48], 0
test edx, edx
je 0x44463f
cmp word [edx], 0
jne 0x444618
xor ecx, ecx
jmp 0x44462f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x444620
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x58]
call fcn.00408f30
mov edx, dword [ebp - 0x110]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 0x1d
cmp dword [ebx + 0x14], 8
jb 0x444669
mov ebx, dword [ebx]
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push str.AWDET.ini
cmovae eax, dword [ebp - 0x58]
push ebx
push eax
lea eax, [ebp - 0x88]
push str._sMcAfeeDirectDynamicAffid_s_s
push eax
call fcn.00444eb0
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x70]
add esp, 0x14
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x5c], 8
cmovae ecx, dword [ebp - 0x70]
cmp dword [ebp - 0x14], 8
push 0
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call esi
test eax, eax
je 0x4446df
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x88]
push 0
cmovae ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
je 0x4446df
xor esi, esi
jmp 0x44473f
push str...includeMcDynamicStub.cpp
push str.CDynamicStub::ChangeAWDETFile
push 0x3d1
push 4
lea ecx, [ebp - 0x104]
call fcn.00431610
mov byte [ebp - 4], 0x1e
mov edx, str.Not_able_to_copy_AWDET.ini_dynamically_error_:
mov ecx, dword [eax]
call fcn.00433720
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.0043a5d0
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0x104]
call fcn.004327d0
mov eax, dword [ebp - 0x104]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, 0x265
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x444759
push 2
inc eax
push eax
push dword [ebp - 0x88]
call fcn.00402ff0
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x444787
push 2
inc eax
push eax
push dword [ebp - 0x58]
call fcn.00402ff0
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x4447b2
push 2
inc eax
push eax
push dword [ebp - 0x70]
call fcn.00402ff0
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4447dd
push 2
inc eax
push eax
push dword [ebp - 0x28]
call fcn.00402ff0
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x10c]
lea ecx, [ebp - 0x10c]
push eax
push dword [eax]
lea eax, [ebp - 0x104]
push eax
call fcn.0043b9e0
push 0x40
push 1
push dword [ebp - 0x10c]
call fcn.00402ff0
mov ebx, dword [ebp - 0x11c]
add esp, 0xc
test ebx, ebx
je 0x444861
push dword [ebp - 0x104]
mov edx, dword [ebp - 0x118]
push ecx
mov ecx, ebx
call fcn.0043de50
mov ecx, dword [ebp - 0x114]
mov eax, 0x2aaaaaab
sub ecx, ebx
imul ecx
push 0x18
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ebx
call fcn.00402ff0
add esp, 0x14
mov edi, dword [ebp - 0x128]
test edi, edi
je 0x444906
push dword [ebp - 0x104]
mov edx, dword [ebp - 0x124]
push ecx
mov ecx, edi
call fcn.0043de50
mov ecx, dword [ebp - 0x120]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
push 0x18
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push edi
call fcn.00402ff0
add esp, 0x14
jmp 0x444906
push str...includeMcDynamicStub.cpp
push str.CDynamicStub::ChangeAWDETFile
push 0x39b
push 4
lea ecx, [ebp - 0x104]
call fcn.00431610
mov byte [ebp - 4], 5
mov edx, str.CDynamicStub::ChangeAWDETFile
mov ecx, dword [eax]
call fcn.00433720
mov edx, str.Failed_to_get_module_path
mov ecx, eax
call fcn.00433720
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x104]
call fcn.004327d0
mov eax, dword [ebp - 0x104]
add eax, 0x14
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, 0x260
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x44491d
push 2
inc ecx
push ecx
push dword [ebp - 0x40]
call fcn.00402ff0
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004908ad
mov esp, ebp
pop ebp
ret