Function at 0x4465d9
Capabilities:
Query or enumerate registry value
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1a9c]
mov eax, 0x1b1c
call fcn.00468c00
mov eax, dword [0x488548]
xor eax, ebp
mov dword [ebp + 0x1a98], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1aa4]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], ebx
cmp edx, 0xe800
jne 0x446624
push esi
call fcn.00445f0a
jmp 0x4469f0
cmp edx, 0xe801
je 0x4467bc
cmp edx, 0xe802
je 0x4467bc
push 9
push edi
call fcn.00468940
pop ecx
pop ecx
cmp eax, ebx
je 0x44681f
mov edx, eax
jmp 0x44665d
lea ecx, [eax + 2]
mov si, word [ecx]
mov word [eax], si
mov eax, ecx
cmp word [eax], bx
jne 0x446652
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x40]
push eax
mov edi, 0x20019
push edi
push ebx
push edx
push 0x80000000
call esi
test eax, eax
jne 0x44681c
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
push 0x4739e8
push dword [ebp - 0x40]
mov dword [ebp - 0x2c], 0x4b0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4467b1
cmp dword [ebp - 0x2c], 1
jbe 0x4467b1
push str.ShellNew
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0x488]
push eax
call dword [sym.imp.PPLIB32W.DLL__CatPath_12]
lea eax, [ebp - 0x34]
push eax
push edi
push ebx
lea eax, [ebp + 0x488]
push eax
push dword [ebp - 0x40]
call esi
test eax, eax
je 0x4466f7
lea eax, [ebp - 0x34]
push eax
push edi
push ebx
push str.ShellNew
push dword [ebp - 0x40]
call esi
test eax, eax
je 0x4466f7
mov dword [ebp - 0x34], ebx
cmp dword [ebp - 0x34], ebx
je 0x4467b1
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 0x15e8]
push eax
push ebx
push ebx
push str.FileName
push dword [ebp - 0x34]
mov edi, 0x4b0
mov dword [ebp - 0x2c], edi
call esi
test eax, eax
jne 0x44677a
cmp word [ebp + 0x15e8], bx
je 0x44677a
push str.21:_
lea eax, [ebp + 0x15e8]
push eax
call fcn.00446568
mov dword [ebp - 0x38], eax
cmp eax, ebx
jne 0x4467a8
push str.45:_
lea eax, [ebp + 0x15e8]
push eax
call fcn.00446568
mov dword [ebp - 0x38], eax
cmp eax, ebx
jne 0x4467a8
push str.36:ShellNew
lea eax, [ebp + 0x15e8]
push eax
call fcn.00446568
mov dword [ebp - 0x38], eax
cmp eax, ebx
jne 0x4467a8
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 0x15e8]
push eax
lea eax, [ebp - 0x50]
push eax
push ebx
push str.Data
push dword [ebp - 0x34]
mov dword [ebp - 0x2c], edi
call esi
test eax, eax
jne 0x4467a8
cmp dword [ebp - 0x50], 3
jne 0x4467a8
mov dword [ebp - 0x38], 2
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x40]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44681c
push 0x200
push edi
push edi
push str.NWFNTEMPFILE
push str.NewFile
call fcn.00445ec4
push eax
push ebx
push esi
push dword [esi + 0xc]
call dword [sym.imp.PPLIB32W.DLL__PP_ExtractMacro_24]
cmp dword [0x48aa04], 6
mov eax, str..TXT
jb 0x4467f1
mov eax, 0x47654c
mov edx, eax
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x4467f3
sub eax, edx
dec edi
dec edi
mov cx, word [edi + 2]
inc edi
inc edi
cmp cx, bx
jne 0x446801
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x30]
lea eax, [esi + 0xa34]
push eax
push dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
push dword [ebp - 0x3c]
call fcn.00445dcb
lea edx, [ebp + 0x938]
sub edx, dword [ebp - 0x3c]
mov edi, str.TMKFmaKe_file
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov word [edx + eax], cx
inc eax
inc eax
cmp cx, bx
jne 0x446848
mov eax, dword [esi + 0xc]
push dword [ebp - 0x3c]
mov dword [ebp - 0x80], eax
mov eax, 0x1000
mov word [ebp - 0x7a], ax
mov eax, 0x3300
mov word [ebp - 0x7c], ax
lea eax, [ebp + 0x938]
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], 0x258
mov dword [ebp - 0x6c], 0x11282
mov dword [ebp - 0x68], ebx
call dword [sym.imp.PPLIB32W.DLL__FindExtSeparator_4]
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x60], esi
call dword [sym.imp.PPLIB32W.DLL__tInputEx_4]
test eax, eax
jle 0x44697e
push esi
call fcn.00415e63
test eax, eax
jne 0x446985
push 0x1a
push dword [ebp - 0x48]
lea eax, [ebp + 0x938]
push eax
lea eax, [ebp + 0x1138]
push eax
call dword [sym.imp.PPLIB32W.DLL__VFSFixPath_16]
mov esi, eax
cmp esi, ebx
je 0x4469cf
cmp dword [ebp - 0x38], 1
jne 0x446935
xor eax, eax
mov word [esi - 2], ax
push esi
lea eax, [ebp + 0x1138]
push eax
lea eax, [ebp + 0x15e8]
push eax
lea eax, [ebp + 0x938]
push str.file__copy___s____s___name:__s_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
push 0x5c
pop eax
push ebx
mov word [esi - 2], ax
mov esi, dword [ebp - 0x30]
push ebx
lea eax, [ebp + 0x938]
push eax
push ebx
push esi
push dword [esi + 0xc]
call dword [sym.imp.PPLIB32W.DLL__PP_ExtractMacro_24]
cmp eax, ebx
je 0x4469d2
jmp 0x446938
mov esi, dword [ebp - 0x30]
push ebx
push 0x8000000
push 1
push ebx
push ebx
push 0x40000000
lea eax, [ebp + 0x1138]
push eax
call dword [sym.imp.PPLIB32W.DLL__CreateFileL_28]
mov dword [ebp - 0x44], eax
cmp eax, 0xffffffff
jne 0x44698c
mov eax, dword [esi + 0x7c]
test eax, eax
jle 0x446966
dec dword [esi + 0x7c]
push edi
mov edx, 0x1fffffff
mov ecx, esi
call fcn.00427caa
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp - 0x58]
jmp 0x446845
mov eax, 0x4c7
jmp 0x4469f0
mov eax, 0x94
jmp 0x4469f0
cmp dword [ebp - 0x38], 2
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
jne 0x4469aa
push ebx
lea ecx, [ebp - 0x54]
push ecx
push dword [ebp - 0x2c]
lea ecx, [ebp + 0x15e8]
push ecx
push eax
call edi
cmp dword [ebp - 0x4c], 0xe802
jne 0x4469c4
push ebx
lea eax, [ebp - 0x54]
push eax
push 0x18
push 0x473b4c
push dword [ebp - 0x44]
call edi
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4469d2
mov esi, dword [ebp - 0x30]
mov eax, dword [esi + 0x7c]
test eax, eax
jle 0x4469dc
dec dword [esi + 0x7c]
push 0x4100048f
lea edx, [ebp + 0x1138]
mov ecx, esi
call fcn.00445e37
xor eax, eax
mov ecx, dword [ebp + 0x1a98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046890b
add ebp, 0x1a9c
leave
ret 4