Function at 0x4545d0
Capabilities:
Copy file
Create directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x488048
push eax
mov dword fs:[0], esp
sub esp, 0x838
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.00441cf0
test eax, eax
je 0x454697
mov eax, dword [esp + 0x858]
lea ecx, [esp + 0x644]
push eax
push str.CSetupApp::CheckForSetup64InstallFromSetup32_:_pszCommandLine___s_n
push ecx
call fcn.00465850
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x13c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x13c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x644]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00441c80
mov ecx, eax
call fcn.00441d20
lea eax, [esp + 0x13c]
push eax
call fcn.00441c80
mov ecx, eax
call fcn.00442090
mov eax, dword [0x4a6844]
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x850], edi
mov dword [esp + 0x10], eax
mov byte [esp + 0x850], 1
call fcn.00460350
test eax, eax
je 0x4548d0
lea ecx, [esp + 0x440]
push 1
push ecx
call fcn.004605c0
add esp, 8
lea edx, [esp + 0x440]
lea ecx, [esp + 0x20]
push edx
call fcn.00475f16
push 0x49b19c
push eax
lea eax, [esp + 0x2c]
mov bl, 2
push eax
mov byte [esp + 0x85c], bl
call fcn.004760f1
lea ecx, [ebp + 0x114]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x85c], 3
call fcn.0047608b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x854], 4
call fcn.00475f95
lea ecx, [esp + 0x1c]
mov byte [esp + 0x850], 3
call fcn.00475ea8
lea ecx, [esp + 0x24]
mov byte [esp + 0x850], bl
call fcn.00475ea8
lea ecx, [esp + 0x20]
mov byte [esp + 0x850], 1
call fcn.00475ea8
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
call fcn.004186e0
cmp eax, edi
je 0x4548d0
lea ecx, [esp + 0x744]
push 1
push ecx
push 0x104
call fcn.00460650
lea edx, [esp + 0x38]
push edx
call fcn.00466990
lea eax, [esp + 0x3c]
push eax
call fcn.00467090
mov ecx, dword [esp + 0x40]
add esp, 0x14
lea edx, [esp + 0x744]
lea eax, [esp + 0x38]
push ecx
push edx
push str._s_u
push eax
call fcn.00465850
add esp, 0x10
lea ecx, [esp + 0x38]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea edx, [esp + 0x38]
lea ecx, [esp + 0x1c]
push edx
call fcn.00475f16
push 0x49b19c
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x858], 5
push eax
call fcn.004760f1
push str.KESLYN.EXE
lea ecx, [esp + 0x24]
mov bl, 6
push eax
push ecx
mov byte [esp + 0x85c], bl
call fcn.004760f1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x854], 7
call fcn.00475f95
lea ecx, [esp + 0x20]
mov byte [esp + 0x850], bl
call fcn.00475ea8
lea ecx, [esp + 0x24]
mov byte [esp + 0x850], 5
call fcn.00475ea8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x850], 1
call fcn.00475ea8
lea edx, [esp + 0x38]
push edi
lea eax, [esp + 0x444]
push edx
push eax
lea ecx, [esp + 0x34]
call fcn.00419bb0
test eax, eax
je 0x4548d0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push edi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, dword [esp + 0x858]
mov ecx, ebp
push esi
call fcn.00454cb0
test eax, eax
push esi
je 0x45489e
lea eax, [esp + 0x340]
push str.__S__s
push eax
jmp 0x4548ab
lea ecx, [esp + 0x340]
push str.__G__s
push ecx
call fcn.00465850
mov eax, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x33c]
lea ecx, [esp + 0x28]
push edi
push 1
push edx
push eax
call fcn.00419760
mov dword [esp + 0x18], eax
call fcn.00441cf0
test eax, eax
je 0x454973
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x544]
push ecx
push str.CSetupApp::CheckForSetup64InstallFromSetup32_bRetVal___s_n
push edx
call fcn.00465850
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x23c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x23c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x544]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x23c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00441c80
mov ecx, eax
call fcn.00442090
call fcn.00441c80
mov ecx, eax
call fcn.00441d30
lea ecx, [esp + 0x10]
mov byte [esp + 0x850], 0
call fcn.00475ea8
lea ecx, [esp + 0x14]
mov dword [esp + 0x850], 0xffffffff
call fcn.00475ea8
mov ecx, dword [esp + 0x848]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x844
ret 4