Function at 0x460210
Capabilities:
Copy file
Create directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x494fa8
push eax
mov dword fs:[0], esp
sub esp, 0x838
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.0044bde0
test eax, eax
je 0x4602d7
mov eax, dword [esp + 0x858]
lea ecx, [esp + 0x644]
push eax
push str.CSetupApp::CheckForSetup64InstallFromSetup32_:_pszCommandLine___s_n
push ecx
call fcn.00471c30
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.0044bd70
mov ecx, eax
call fcn.0044be10
lea eax, [esp + 0x13c]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
mov eax, dword [0x4b538c]
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.0046c560
test eax, eax
je 0x460511
lea ecx, [esp + 0x440]
push 1
push ecx
call fcn.0046c7d0
add esp, 8
lea edx, [esp + 0x440]
lea ecx, [esp + 0x20]
push edx
call fcn.004822f6
push 0x4a919c
push eax
lea eax, [esp + 0x2c]
mov bl, 2
push eax
mov byte [esp + 0x85c], bl
call fcn.004824d1
lea ecx, [ebp + 0xc48]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x85c], 3
call fcn.0048246b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x854], 4
call fcn.00482375
lea ecx, [esp + 0x1c]
mov byte [esp + 0x850], 3
call fcn.00482288
lea ecx, [esp + 0x24]
mov byte [esp + 0x850], bl
call fcn.00482288
lea ecx, [esp + 0x20]
mov byte [esp + 0x850], 1
call fcn.00482288
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x28]
push eax
call fcn.0041aec0
cmp eax, edi
je 0x460511
lea ecx, [esp + 0x744]
push 1
push ecx
push 0x104
call fcn.0046c860
lea edx, [esp + 0x38]
push edx
call fcn.00472d50
lea eax, [esp + 0x3c]
push eax
call fcn.00473450
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.00471c30
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.004822f6
push 0x4a919c
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x858], 5
push eax
call fcn.004824d1
push str.KESLYN.EXE
lea ecx, [esp + 0x24]
mov bl, 6
push eax
push ecx
mov byte [esp + 0x85c], bl
call fcn.004824d1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x854], 7
call fcn.00482375
lea ecx, [esp + 0x20]
mov byte [esp + 0x850], bl
call fcn.00482288
lea ecx, [esp + 0x24]
mov byte [esp + 0x850], 5
call fcn.00482288
lea ecx, [esp + 0x1c]
mov byte [esp + 0x850], 1
call fcn.00482288
lea edx, [esp + 0x38]
push edi
lea eax, [esp + 0x444]
push edx
push eax
lea ecx, [esp + 0x34]
call fcn.0041c480
test eax, eax
je 0x460511
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.00460910
test eax, eax
push esi
je 0x4604de
lea eax, [esp + 0x340]
push str.__S__s
push eax
jmp 0x4604eb
lea ecx, [esp + 0x340]
push str.__G__s
push ecx
call fcn.00471c30
mov eax, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x33c]
lea ecx, [esp + 0x28]
push edi
push edi
push 1
push edx
push eax
call fcn.0041bf40
mov dword [esp + 0x18], eax
call fcn.0044bde0
test eax, eax
je 0x4605b4
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x544]
push ecx
push str.CSetupApp::CheckForSetup64InstallFromSetup32_bRetVal___s_n
push edx
call fcn.00471c30
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.0044bd70
mov ecx, eax
call fcn.0044c180
call fcn.0044bd70
mov ecx, eax
call fcn.0044be20
lea ecx, [esp + 0x10]
mov byte [esp + 0x850], 0
call fcn.00482288
lea ecx, [esp + 0x14]
mov dword [esp + 0x850], 0xffffffff
call fcn.00482288
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