Function at 0x46f950
Capabilities:
Copy file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x496ab1
push eax
mov eax, 0x1e78
mov dword fs:[0], esp
call fcn.004724a0
mov eax, dword [0x4b538c]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x50], eax
xor ebp, ebp
mov dword [esp + 0x54], eax
mov dword [esp + 0x1e90], ebp
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
push 0x403790
push 0x403770
push 5
lea eax, [esp + 0x88]
push 8
push eax
mov byte [esp + 0x1ea4], 6
call fcn.00472400
mov edx, dword [0x4b538c]
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], edx
mov ecx, 0x7d
mov eax, 0x4b4b4b4b
lea edi, [esp + 0x7d8]
mov dword [esp + 0x7d4], ebp
rep stosd dword es:[edi], eax
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x9cc]
mov dword [esp + 0x1e90], 7
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], edx
lea ecx, [esp + 0x5cc]
push 0x104
push ecx
push ebp
mov byte [esp + 0x1e9c], 0xd
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, dword [esp + 0x1e98]
mov eax, dword [edx + 4]
cmp eax, ebp
je 0x46ffba
jmp 0x46fa58
mov eax, dword [esp + 0x30]
mov esi, eax
mov eax, dword [eax]
add esi, 8
lea ecx, [esp + 0x50]
push esi
mov dword [esp + 0x34], eax
call fcn.00482375
lea ecx, [esi + 4]
push ecx
lea ecx, [esp + 0x58]
call fcn.00482375
lea edx, [esi + 8]
lea ecx, [esp + 0x58]
push edx
call fcn.00482375
lea eax, [esi + 0xc]
lea ecx, [esp + 0x5c]
push eax
call fcn.00482375
lea ecx, [esi + 0x10]
push ecx
lea ecx, [esp + 0x64]
call fcn.00482375
lea edx, [esi + 0x14]
lea ecx, [esp + 0x64]
push edx
call fcn.00482375
lea eax, [esi + 0x18]
lea ecx, [esp + 0x68]
push eax
call fcn.00482375
lea ecx, [esi + 0x1c]
mov ebx, esi
lea ebp, [esi + 0x2c]
lea edi, [esp + 0x80]
mov edx, dword [ecx]
mov dword [esp + 0x2c], 5
mov dword [esp + 0x6c], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x70], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x74], edx
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0x50]
mov dword [esp + 0x78], eax
sub ebx, ecx
push ebp
lea ecx, [edi - 4]
call fcn.00482375
lea edx, [ebx + edi]
mov ecx, edi
push edx
call fcn.00482375
mov eax, dword [esp + 0x2c]
add ebp, 8
add edi, 8
dec eax
mov dword [esp + 0x2c], eax
jne 0x46faf3
lea eax, [esi + 0x54]
lea ecx, [esp + 0xa4]
push eax
call fcn.00482375
lea ecx, [esi + 0x58]
push ecx
lea ecx, [esp + 0xac]
call fcn.00482375
lea edx, [esi + 0x5c]
lea ecx, [esp + 0xac]
push edx
call fcn.00482375
mov eax, dword [esi + 0x60]
add esi, 0x64
mov ecx, 0x146
lea edi, [esp + 0xb4]
mov dword [esp + 0xb0], eax
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0xb0]
cmp eax, 2
je 0x46fb78
cmp eax, 4
jne 0x46ffac
xor ebx, ebx
mov dword [esp + 0x1394], ebx
mov dword [esp + 0x139c], ebx
mov dword [esp + 0x13a0], ebx
mov dword [esp + 0x13a8], ebx
lea ecx, [esp + 0x14b8]
mov byte [esp + 0x1e90], 0xf
call fcn.00434de0
mov ecx, dword [esp + 0x58]
mov byte [esp + 0x1e90], 0x10
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x58]
push eax
call fcn.0048266c
push eax
lea ecx, [esp + 0x1398]
call fcn.0041d6a0
mov eax, dword [esp + 0x5c]
lea edx, [esp + 0x7d4]
push edx
push str.HKLM
push eax
lea ecx, [esp + 0x13a0]
mov byte [esp + 0x1e9c], 0x11
call fcn.00422520
cmp dword [esp + 0x7d4], ebx
jne 0x46fc08
mov dword [esp + 0x24], ebx
jmp 0x46ff96
lea edx, [esp + 0x7d8]
lea ecx, [esp + 0x7d8]
test edx, edx
mov dword [esp + 0x24], ecx
je 0x46ff96
lea eax, [esp + 0x24]
lea ecx, [esp + 0x7d4]
push eax
call fcn.00404d60
cmp eax, 0xffffffff
je 0x46fc41
mov ebp, dword [esp + eax*4 + 0x9cc]
jmp 0x46fc43
xor ebp, ebp
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.004759f0
push eax
call fcn.00472ac0
mov edx, eax
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, dword [ebp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00472550
mov ecx, dword [ebp + 0xc]
push str.SOFTWAREMICROSOFTWINDOWSCURRENTVERSIONUNINSTALL
push ecx
call fcn.004724d0
add esp, 0x14
cmp eax, ebx
je 0x46ff8c
sub eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x46ff8c
mov edx, dword [ebp + 0x18]
push str.UninstallString
push edx
call fcn.00473380
add esp, 8
cmp eax, ebx
jne 0x46ff8c
mov eax, dword [ebp + 0x30]
lea ecx, [esp + 0x10]
push eax
call fcn.004823c5
mov eax, dword [ebp + 0x30]
lea ecx, [esp + 0x18]
push eax
call fcn.004823c5
lea ecx, [esp + 0x18]
call fcn.0048273e
push str..EXE
lea ecx, [esp + 0x1c]
call fcn.00481260
cmp eax, 0xffffffff
je 0x46fd62
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x18]
call fcn.004811c6
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e94], 0x12
call fcn.00482375
lea ecx, [esp + 0x44]
mov byte [esp + 0x1e90], 0x11
call fcn.00482288
push 0x5c
lea ecx, [esp + 0x14]
call fcn.0048123e
cmp eax, 0xffffffff
je 0x46fd62
lea ecx, [esp + 0x38]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004811c6
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e94], 0x13
call fcn.00482375
lea ecx, [esp + 0x38]
mov byte [esp + 0x1e90], 0x11
call fcn.00482288
lea edx, [esp + 0x10]
push str.UIUWA.exe
lea eax, [esp + 0x4c]
push edx
push eax
call fcn.004824d1
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e94], 0x14
call fcn.00482375
lea ecx, [esp + 0x48]
mov byte [esp + 0x1e90], 0x11
call fcn.00482288
lea ecx, [esp + 0x10]
call fcn.00481645
lea ecx, [esp + 0x10]
call fcn.004815f9
mov ecx, dword [esp + 0x10]
push ebx
lea edx, [esp + 0x5d0]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [ebp + 0x30]
lea ecx, [esp + 0x1c]
push eax
call fcn.004823c5
mov eax, dword [ebp + 0x30]
lea ecx, [esp + 0x18]
push eax
call fcn.004823c5
lea ecx, [esp + 0x18]
call fcn.0048273e
push str..EXE
lea ecx, [esp + 0x1c]
call fcn.00481260
cmp eax, 0xffffffff
je 0x46fe15
add eax, 4
lea ecx, [esp + 0x1c]
push eax
push ebx
call fcn.00480e6b
lea ecx, [esp + 0x1c]
call fcn.00481645
lea ecx, [esp + 0x1c]
call fcn.004815f9
mov eax, dword [ebp + 0x30]
lea ecx, [esp + 0x14]
push eax
call fcn.004823c5
lea ecx, [esp + 0x14]
call fcn.0048273e
push str..EXE
lea ecx, [esp + 0x18]
call fcn.00481260
cmp eax, 0xffffffff
je 0x46fe85
add eax, 4
lea ecx, [esp + 0x14]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.004811c6
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e94], 0x15
call fcn.00482375
lea ecx, [esp + 0x34]
mov byte [esp + 0x1e90], 0x11
call fcn.00482288
lea ecx, [esp + 0x14]
call fcn.00481645
lea ecx, [esp + 0x14]
call fcn.004815f9
mov ecx, dword [0x4b538c]
mov dword [esp + 0x20], ecx
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x6d0]
push 0x104
push edx
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x1e9c], 0x16
call fcn.0041b920
lea ecx, [esp + 0x6d0]
push ecx
lea ecx, [esp + 0x24]
call fcn.004823c5
lea ecx, [esp + 0x20]
call fcn.0048273e
push str.GUIU
lea ecx, [esp + 0x24]
call fcn.00481260
cmp eax, 0xffffffff
jne 0x46feed
push 0x4ad690
lea ecx, [esp + 0x20]
call fcn.00482618
lea edx, [esp + 0x10]
push 0x4a9fa4
lea eax, [esp + 0x44]
push edx
push eax
call fcn.004824d1
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x3c]
push ecx
push eax
push edx
mov byte [esp + 0x1e9c], 0x17
call fcn.0048246b
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1e94], 0x18
call fcn.00482375
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1e90], 0x17
call fcn.00482288
lea ecx, [esp + 0x40]
mov byte [esp + 0x1e90], 0x16
call fcn.00482288
push 0x80000002
lea ecx, [esp + 0x11a0]
call fcn.00457bc0
mov eax, dword [esp + 0x28]
mov edx, dword [ebp + 0x18]
mov ebp, dword [ebp + 0xc]
mov ecx, dword [eax - 8]
push ecx
push eax
push edx
push ebp
lea ecx, [esp + 0x11ac]
call fcn.004581b0
lea ecx, [esp + 0x20]
mov byte [esp + 0x1e90], 0x11
call fcn.00482288
cmp dword [esp + 0x24], ebx
jne 0x46fc22
lea ecx, [esp + 0x1394]
mov byte [esp + 0x1e90], 0xd
call fcn.0041cf30
jmp 0x46ffae
xor ebx, ebx
cmp dword [esp + 0x30], ebx
jne 0x46fa54
xor ebp, ebp
lea ecx, [esp + 0x14]
mov byte [esp + 0x1e90], 0xc
call fcn.00482288
lea ecx, [esp + 0x18]
mov byte [esp + 0x1e90], 0xb
call fcn.00482288
lea ecx, [esp + 0x28]
mov byte [esp + 0x1e90], 0xa
call fcn.00482288
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1e90], 9
call fcn.00482288
lea ecx, [esp + 0x10]
mov byte [esp + 0x1e90], 8
call fcn.00482288
mov eax, dword [esp + 0x7d4]
xor ebx, ebx
cmp eax, ebp
jbe 0x470113
lea edi, [esp + 0x9cc]
mov esi, dword [edi]
cmp esi, ebp
je 0x470100
mov dword [esp + 0x34], esi
mov eax, dword [esi + 0x30]
mov byte [esp + 0x1e90], 0x1c
cmp eax, ebp
je 0x47005c
mov eax, dword [esi + 0x34]
push eax
call fcn.00486245
mov eax, dword [esi + 0x30]
push eax
call fcn.00486245
add esp, 8
mov dword [esi + 0x30], ebp
mov eax, dword [esi + 0x24]
mov byte [esp + 0x1e90], 0x1b
cmp eax, ebp
je 0x470083
mov eax, dword [esi + 0x28]
push eax
call fcn.00486245
mov eax, dword [esi + 0x24]
push eax
call fcn.00486245
add esp, 8
mov dword [esi + 0x24], ebp
mov eax, dword [esi + 0x18]
mov byte [esp + 0x1e90], 0x1a
cmp eax, ebp
je 0x4700aa
mov eax, dword [esi + 0x1c]
push eax
call fcn.00486245
mov eax, dword [esi + 0x18]
push eax
call fcn.00486245
add esp, 8
mov dword [esi + 0x18], ebp
mov eax, dword [esi + 0xc]
mov byte [esp + 0x1e90], 0x19
cmp eax, ebp
je 0x4700d1
mov eax, dword [esi + 0x10]
push eax
call fcn.00486245
mov eax, dword [esi + 0xc]
push eax
call fcn.00486245
add esp, 8
mov dword [esi + 0xc], ebp
mov eax, dword [esi]
mov byte [esp + 0x1e90], 7
cmp eax, ebp
je 0x4700f5
mov eax, dword [esi + 4]
push eax
call fcn.00486245
mov eax, dword [esi]
push eax
call fcn.00486245
add esp, 8
mov dword [esi], ebp
push esi
call fcn.00486245
add esp, 4
mov dword [edi], ebp
mov eax, dword [esp + 0x7d4]
inc ebx
add edi, 4
cmp ebx, eax
jb 0x470027
lea ecx, [esp + 0xac]
mov dword [esp + 0x1e90], 0x26
call fcn.00482288
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1e90], 0x25
call fcn.00482288
lea ecx, [esp + 0xa4]
mov byte [esp + 0x1e90], 0x24
call fcn.00482288
push 0x403790
push 5
lea eax, [esp + 0x84]
push 8
push eax
mov byte [esp + 0x1ea0], 0x23
call fcn.00472130
lea ecx, [esp + 0x68]
mov byte [esp + 0x1e90], 0x22
call fcn.00482288
lea ecx, [esp + 0x64]
mov byte [esp + 0x1e90], 0x21
call fcn.00482288
lea ecx, [esp + 0x60]
mov byte [esp + 0x1e90], 0x20
call fcn.00482288
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1e90], 0x1f
call fcn.00482288
lea ecx, [esp + 0x58]
mov byte [esp + 0x1e90], 0x1e
call fcn.00482288
lea ecx, [esp + 0x54]
mov byte [esp + 0x1e90], 0x1d
call fcn.00482288
lea ecx, [esp + 0x50]
mov dword [esp + 0x1e90], 0xffffffff
call fcn.00482288
mov ecx, dword [esp + 0x1e88]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1e84
ret 4