Function at 0x463f20
Capabilities:
Check if file exists
Copy file
Delete file
Download url
Get common file path
Query or enumerate registry value
Receive data
Set current directory
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x473812
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x164
mov eax, dword [0x492740]
xor eax, ebp
mov dword [ebp - 0x8c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00405310
lea ecx, [ebp + 8]
call fcn.00403620
movzx eax, al
test eax, eax
je 0x463f87
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00405400
jmp 0x4648c6
call fcn.004038a0
mov dword [ebp - 0x48], eax
push 0xa
lea ecx, [ebp - 0x40]
call fcn.004269d9
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
lea edx, [ebp + 8]
push edx
call fcn.00401e00
mov dword [ebp - 0xe8], eax
call fcn.0045bc40
add esp, 8
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 3
je 0x4640c1
lea ecx, [ebp + 8]
push ecx
push 0x47e7b0
lea edx, [ebp - 0x88]
push edx
call fcn.004015e0
add esp, 0xc
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xf4]
call fcn.004010f0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x464025
mov dword [ebp - 0xf8], 0
jmp 0x464089
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3fffffff
jle 0x46404a
mov dword [ebp - 0xfc], 0
jmp 0x46407d
mov eax, dword [ebp - 0x14]
shl eax, 1
call fcn.00445660
mov dword [ebp - 0x100], esp
mov dword [ebp - 0x10], esp
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x14]
shl eax, 1
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x100]
push edx
call fcn.00403850
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x84], ecx
lea edx, [ebp - 0x84]
push edx
lea ecx, [ebp - 0x80]
call fcn.0043b22c
push 0x48a190
lea eax, [ebp - 0x80]
push eax
call fcn.0044193f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.00405400
push 0
lea ecx, [ebp - 0x40]
call fcn.004269b5
push eax
lea ecx, [ebp - 0x40]
call fcn.004084d0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401e00
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x40]
call fcn.004269b5
push eax
lea ecx, [ebp - 0x40]
call fcn.004084d0
push eax
lea ecx, [ebp - 0x18]
call fcn.00401e00
mov byte [ebp - 4], 4
push 2
lea ecx, [ebp - 0x40]
call fcn.004269b5
push eax
lea ecx, [ebp - 0x40]
call fcn.004084d0
push eax
lea ecx, [ebp - 0x44]
call fcn.00401e00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4c]
push ecx
push 0xf003f
push 0
push 0x47e820
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x464271
mov dword [ebp - 0x60], 0x400
mov dword [ebp - 0x5c], 1
lea ecx, [ebp - 0x64]
call fcn.004038b0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x60]
push edx
push 0x400
lea ecx, [ebp - 0x64]
call fcn.00401ab0
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
lea ecx, [ebp - 0x18]
call fcn.004010f0
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x464197
push 0xffffffffffffffff
lea ecx, [ebp - 0x64]
call fcn.00405e00
lea ecx, [ebp - 0x64]
call fcn.00403620
movzx edx, al
test edx, edx
jne 0x464265
lea eax, [ebp - 0x18]
push eax
push 0x47e8b0
lea ecx, [ebp - 0x94]
push ecx
call fcn.004015e0
add esp, 0xc
mov dword [ebp - 0x104], eax
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0x108], edx
mov byte [ebp - 4], 7
push ecx
mov eax, esp
mov dword [ebp - 0x90], esp
push 0x47e888
mov ecx, dword [ebp - 0x108]
push ecx
push eax
call fcn.00401530
add esp, 0xc
mov dword [ebp - 0x10c], eax
mov ecx, 0x497300
call fcn.0046acf0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x94]
call fcn.00405400
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x64]
call fcn.00405400
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.00405400
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00405400
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00405400
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00426af0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00405400
jmp 0x4648c6
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x64]
call fcn.00405400
push 0x2f
lea ecx, [ebp - 0x1c]
call fcn.004033a0
mov esi, eax
lea ecx, [ebp - 0x1c]
call fcn.00401d10
sub eax, esi
sub eax, 1
push eax
lea edx, [ebp - 0x50]
push edx
lea ecx, [ebp - 0x1c]
call fcn.004033f0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x24]
call fcn.004038b0
mov byte [ebp - 4], 9
push 1
lea eax, [ebp - 0x9c]
push eax
mov ecx, 0x4973d4
call fcn.004033f0
mov dword [ebp - 0x110], eax
push 0x47e8bc
mov ecx, dword [ebp - 0x110]
push ecx
call fcn.00403950
add esp, 8
mov byte [ebp - 0x95], al
lea ecx, [ebp - 0x9c]
call fcn.00405400
movzx edx, byte [ebp - 0x95]
test edx, edx
je 0x46430e
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [0x4973d4]
push ecx
push 0x47e8c0
lea edx, [ebp - 0x24]
push edx
call fcn.004037a0
add esp, 0x10
jmp 0x46432a
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [0x4973d4]
push ecx
push 0x47e8cc
lea edx, [ebp - 0x24]
push edx
call fcn.004037a0
add esp, 0x10
lea ecx, [ebp - 0x24]
call fcn.004010f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
lea ecx, [ebp - 0x24]
call fcn.004010f0
push eax
lea ecx, [ebp - 0x1c]
call fcn.004010f0
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
jne 0x464804
lea ecx, [ebp - 0x68]
call fcn.004038b0
mov byte [ebp - 4], 0xa
push 0x104
lea ecx, [ebp - 0x68]
call fcn.00401ab0
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x68]
call fcn.00405e00
mov ecx, 0x4973d4
call fcn.004010f0
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov byte [ebp - 4], 0xb
push ecx
mov ecx, esp
mov dword [ebp - 0xa0], esp
push 0x4973d4
call fcn.00401e00
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0xa4], esp
lea edx, [ebp - 0x24]
push edx
call fcn.00401e00
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 0xb
call fcn.004630b0
add esp, 8
jmp 0x464468
mov dword [ebp - 4], 0xa
jmp 0x4644d9
lea ecx, [ebp - 0x24]
call fcn.004010f0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x68]
call fcn.004010f0
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0x47e920
push 0x4973d4
lea edx, [ebp - 0xb4]
push edx
call fcn.00401530
add esp, 0xc
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x130], eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x130]
push edx
lea eax, [ebp - 0xb8]
push eax
call fcn.00403570
add esp, 0xc
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x134]
call fcn.004010f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0xb0], eax
lea ecx, [ebp - 0xb8]
call fcn.00405400
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xb4]
call fcn.00405400
cmp dword [ebp - 0xb0], 0
je 0x4647f6
push 0x47e924
push 0x4973c0
lea ecx, [ebp - 0xbc]
push ecx
call fcn.00401530
add esp, 0xc
mov dword [ebp - 0x138], eax
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x13c], edx
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x13c]
push ecx
lea edx, [ebp - 0xc0]
push edx
call fcn.00403570
add esp, 0xc
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x144], eax
mov byte [ebp - 4], 0x11
push 0x47e928
push 0x4973d4
lea ecx, [ebp - 0xc4]
push ecx
call fcn.00401530
add esp, 0xc
mov dword [ebp - 0x148], eax
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x14c], edx
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x14c]
push ecx
lea edx, [ebp - 0xc8]
push edx
call fcn.00403570
add esp, 0xc
mov dword [ebp - 0x150], eax
push 0
mov ecx, dword [ebp - 0x144]
call fcn.004010f0
push eax
mov ecx, dword [ebp - 0x150]
call fcn.004010f0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0xc8]
call fcn.00405400
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xc4]
call fcn.00405400
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xc0]
call fcn.00405400
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xbc]
call fcn.00405400
push 0x47e92c
push 0x4973c0
lea eax, [ebp - 0xd0]
push eax
call fcn.00401530
add esp, 0xc
mov dword [ebp - 0x154], eax
mov ecx, dword [ebp - 0x154]
mov dword [ebp - 0x158], ecx
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x158]
push eax
lea ecx, [ebp - 0xd4]
push ecx
call fcn.00403570
add esp, 0xc
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x15c]
call fcn.004010f0
push eax
call dword [sym.imp.GDI32.dll_AddFontResourceW]
mov dword [ebp - 0xcc], eax
lea ecx, [ebp - 0xd4]
call fcn.00405400
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xd0]
call fcn.00405400
cmp dword [ebp - 0xcc], 0
je 0x4647f6
lea edx, [ebp - 0x70]
push edx
push 0xf003f
push 0
push 0x47e930
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4647f6
lea eax, [ebp - 0x18]
push eax
push 0x47e9b0
lea ecx, [ebp - 0xdc]
push ecx
call fcn.004015e0
add esp, 0xc
mov dword [ebp - 0x160], eax
mov edx, dword [ebp - 0x160]
mov dword [ebp - 0x164], edx
mov byte [ebp - 4], 0x14
push ecx
mov eax, esp
mov dword [ebp - 0xd8], esp
push 0x47e998
mov ecx, dword [ebp - 0x164]
push ecx
push eax
call fcn.00401530
add esp, 0xc
mov dword [ebp - 0x168], eax
mov ecx, 0x497300
call fcn.0046acf0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xdc]
call fcn.00405400
lea ecx, [ebp - 0x44]
call fcn.004055d0
push eax
call fcn.0043ad7f
add esp, 4
shl eax, 1
push eax
lea ecx, [ebp - 0x44]
call fcn.004055d0
push eax
push 1
push 0
lea ecx, [ebp - 0x18]
call fcn.004010f0
push eax
mov edx, dword [ebp - 0x70]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 0
push 0x1d
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x68]
call fcn.00405400
jmp 0x46486f
lea ecx, [ebp - 0x18]
push ecx
push 0x47e9e0
lea edx, [ebp - 0xe4]
push edx
call fcn.004015e0
add esp, 0xc
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x170], eax
mov byte [ebp - 4], 0x15
push ecx
mov ecx, esp
mov dword [ebp - 0xe0], esp
push 0x47e9bc
mov edx, dword [ebp - 0x170]
push edx
push ecx
call fcn.00401530
add esp, 0xc
mov dword [ebp - 0x174], eax
mov ecx, 0x497300
call fcn.0046acf0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xe4]
call fcn.00405400
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x24]
call fcn.00405400
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x50]
call fcn.00405400
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.00405400
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.00405400
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00405400
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00426af0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00405400
lea esp, [ebp - 0x184]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x8c]
xor ecx, ebp
call fcn.0043aca7
mov esp, ebp
pop ebp
ret