Function at 0x44129f
Capabilities:
Delete file
Delete registry key
Delete registry value
Get common file path
Get file size
Query or enumerate registry value
Read file on windows
Set registry value
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x4ac]
sub esp, 0x52c
mov eax, dword [0x4705d0]
xor eax, ebp
mov dword [ebp + 0x4a8], eax
push ebx
push esi
mov esi, dword [ebp + 0x4bc]
push edi
xor ebx, ebx
mov edi, 0x1ff
push edi
lea eax, [ebp - 0x5b]
push ebx
push eax
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x64], ebx
mov byte [ebp - 0x5c], bl
call fcn.004464f0
push edi
lea eax, [ebp + 0x2a9]
push ebx
push eax
mov byte [ebp + 0x2a8], bl
call fcn.004464f0
push 0x103
lea eax, [ebp + 0x1a5]
push ebx
push eax
mov byte [ebp + 0x1a4], bl
call fcn.004464f0
mov ecx, dword [ebp + 0x4c4]
mov eax, dword [ebp + 0x4b4]
add esp, 0x24
cmp ecx, ebx
je 0x441b45
cmp byte [ecx], bl
je 0x441b45
lea edx, [eax - 1]
cmp edx, 3
ja 0x441b45
cmp esi, ebx
jne 0x441350
cmp eax, 1
je 0x441350
cmp eax, 4
jne 0x441b45
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ecx
call esi
cmp eax, 0x1e0
jge 0x4413a2
push 0x25
push dword [ebp + 0x4c4]
call fcn.00445cc0
pop ecx
pop ecx
test eax, eax
je 0x4413a2
lea eax, [ebp + 0x4c8]
push eax
push dword [ebp + 0x4c4]
call fcn.004408f4
test eax, eax
je 0x4413cd
lea eax, [ebp + 0x4c8]
push eax
push dword [ebp + 0x4c4]
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.USER32.dll_wvsprintfA]
jmp 0x4413cd
push dword [ebp + 0x4c4]
call esi
inc eax
cmp eax, edi
jle 0x4413b3
mov eax, edi
jmp 0x4413bc
push dword [ebp + 0x4c4]
call esi
inc eax
push eax
push dword [ebp + 0x4c4]
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp byte [0x473898], bl
je 0x44148e
mov edi, str._vTask_
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.00445d80
pop ecx
pop ecx
test eax, eax
je 0x44148e
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.00445d80
mov edi, eax
inc edi
pop ecx
pop ecx
je 0x44142a
lea eax, [edi + 5]
cmp eax, ebx
je 0x44142a
lea eax, [edi + 5]
push eax
call esi
inc eax
test eax, eax
jle 0x44142a
lea eax, [edi + 5]
push eax
call esi
inc eax
push eax
lea eax, [edi + 5]
push eax
push edi
call fcn.00446570
add esp, 0xc
push 0x473898
call esi
cmp eax, 0x80
jle 0x441441
mov dword [ebp - 0x68], 0x80
jmp 0x44144b
push 0x473898
call esi
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
add eax, edi
cmp eax, ebx
je 0x441474
cmp edi, ebx
je 0x44148e
push edi
call esi
inc eax
test eax, eax
jle 0x441474
push edi
call esi
inc eax
push eax
mov eax, dword [ebp - 0x68]
add eax, edi
push edi
push eax
call fcn.00446570
add esp, 0xc
cmp edi, ebx
je 0x44148e
cmp dword [ebp - 0x68], ebx
jle 0x44148e
push dword [ebp - 0x68]
push 0x473898
push edi
call fcn.00445ea0
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
call fcn.0043eca3
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp + 0x2a8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp + 0x2a8]
push eax
xor edi, edi
call esi
jmp 0x4414e5
cmp eax, 0x103
jge 0x4414ea
mov cl, byte [ebp + eax + 0x2a8]
cmp cl, 0x5c
jne 0x4414dd
cmp byte [ebp + eax + 0x2a9], cl
je 0x4414dd
cmp byte [ebp + eax + 0x2a7], cl
jne 0x4414ea
mov byte [ebp + edi + 0x1a4], cl
inc edi
dec eax
cmp eax, ebx
jg 0x4414b8
mov byte [ebp + eax + 0x2a8], bl
lea eax, [ebp + 0x1a4]
push eax
mov byte [ebp + edi + 0x1a4], bl
call fcn.00449990
pop ecx
mov edi, 0x45b334
push edi
call esi
push 0x45a954
mov dword [ebp - 0x80], eax
call esi
mov dword [ebp - 0x78], eax
push edi
lea eax, [ebp + 0x1a4]
push eax
call fcn.00445d80
pop ecx
pop ecx
mov edi, eax
jmp 0x44156f
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x78]
add eax, edi
add ecx, edi
push eax
mov dword [ebp - 0x7c], ecx
call esi
inc eax
push eax
mov eax, dword [ebp - 0x80]
add eax, edi
push eax
push dword [ebp - 0x7c]
call fcn.00446570
push dword [ebp - 0x78]
push 0x45a954
push edi
call fcn.00445ea0
add esp, 0x18
cmp dword [ebp - 0x7c], ebx
je 0x44156d
push 0x45b334
push dword [ebp - 0x7c]
jmp 0x441522
xor edi, edi
cmp edi, ebx
jne 0x44152d
mov ecx, dword [ebp + 0x4b4]
cmp ecx, 3
jne 0x441587
mov eax, dword [ebp - 0x74]
cmp eax, ebx
je 0x441587
mov byte [eax], bl
cmp byte [ebp + 0x2a8], bl
je 0x441b50
cmp ecx, 2
jne 0x4417ca
lea eax, [ebp - 0x60]
push eax
mov edi, 0x2001f
push edi
push ebx
lea eax, [ebp + 0x2a8]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4415f0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push edi
push ebx
push 0x4597fe
push ebx
lea eax, [ebp + 0x2a8]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4415f0
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x441b52
cmp dword [ebp + 0x4b8], 7
jne 0x441677
mov edi, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x6c], eax
cmp byte [edi], bl
je 0x441669
cmp eax, dword [ebp + 0x4c0]
jae 0x441669
lea edx, [edi + eax]
cmp byte [edx], 0xd
mov dword [ebp - 0x78], edx
jne 0x44164c
lea ecx, [edi + eax + 1]
cmp byte [ecx], 0xa
jne 0x44164c
cmp edx, ebx
je 0x441646
cmp ecx, ebx
je 0x441646
mov edx, dword [ebp + 0x4c0]
sub edx, eax
dec edx
cmp edx, ebx
jbe 0x441646
push edx
push ecx
push dword [ebp - 0x78]
call fcn.00446570
mov eax, dword [ebp - 0x6c]
add esp, 0xc
dec dword [ebp + 0x4c0]
lea ecx, [edi + eax]
mov dl, byte [ecx]
cmp dl, 0xd
je 0x44165b
cmp dl, 0xa
jne 0x441660
mov byte [ecx], bl
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp byte [edi + eax], bl
jne 0x441605
push 2
add edi, eax
push ebx
push edi
call fcn.004464f0
add esp, 0xc
push dword [ebp + 0x4c0]
lea eax, [ebp + 0x1a4]
push dword [ebp - 0x74]
push dword [ebp + 0x4b8]
push ebx
push eax
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x4416a6
mov ebx, dword [ebp + 0x4c0]
jmp 0x4415e0
cmp dword [ebp + 0x4c0], 0x200
jle 0x4415e0
lea eax, [ebp + 0x2a8]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp + 0x2a8]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp + 0x2a8]
dec ecx
cmp byte [eax + ecx], 0x5c
je 0x4416f2
push 0x45a954
lea eax, [ebp + 0x2a8]
push eax
call edi
push ebx
push ebx
push 0x45b80c
push 0x45a954
lea eax, [ebp - 0x5c]
push eax
call fcn.0043fa75
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp + 0x2a8]
push eax
call edi
push str..dat
lea eax, [ebp + 0x2a8]
push eax
call edi
lea eax, [ebp + 0x2a8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
push 0x80
push 4
push ebx
push 3
push 0xc0000000
lea eax, [ebp + 0x2a8]
push eax
call fcn.0040f850
push ebx
mov edi, eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0x4c0]
push dword [ebp - 0x74]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp edi, ebx
je 0x44176d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.FILE::
push ebx
lea eax, [ebp + 0x2a8]
push eax
call fcn.0043feaa
lea eax, [ebp + 0x2a8]
push eax
mov dword [ebp - 0x70], 1
call esi
inc eax
push eax
mov dword [ebp - 0x6c], eax
lea eax, [ebp + 0x2a8]
push eax
push dword [ebp - 0x70]
lea eax, [ebp + 0x1a4]
push ebx
push eax
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x60]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x64]
jmp 0x441b52
cmp ecx, 1
je 0x4418f4
cmp ecx, 3
je 0x4418f4
cmp ecx, 4
jne 0x441b50
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x60]
push eax
mov edi, 0x2001f
push edi
push ebx
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x68]
call esi
test eax, eax
jne 0x44180d
push dword [ebp - 0x60]
call fcn.0043ef60
jmp 0x441827
lea eax, [ebp - 0x60]
push eax
push edi
push ebx
lea eax, [ebp + 0x2a8]
push eax
push dword [ebp - 0x68]
call esi
cmp eax, ebx
jne 0x4418e3
cmp dword [ebp - 0x60], ebx
je 0x441835
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x60]
push eax
push edi
push ebx
lea eax, [ebp + 0x2a8]
push eax
push dword [ebp - 0x68]
call esi
test eax, eax
jne 0x4418e3
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x2a8]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
lea eax, [ebp + 0x1a4]
push eax
push dword [ebp - 0x60]
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x6c], 0x103
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp byte [ebp + 0x2a8], bl
je 0x4418ac
push 6
lea eax, [ebp + 0x2a8]
push str.FILE::
push eax
call fcn.00448060
add esp, 0xc
test eax, eax
jne 0x4418ac
lea eax, [ebp + 0x2ae]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea eax, [ebp + 0x1a4]
push eax
push dword [ebp - 0x60]
call esi
test eax, eax
je 0x4418e3
lea eax, [ebp + 0x1a4]
push eax
push dword [ebp - 0x68]
call esi
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x4415e0
cmp dword [ebp - 0x60], ebx
je 0x441b50
xor ebx, ebx
inc ebx
jmp 0x4415e0
lea eax, [ebp - 0x60]
push eax
push 1
push ebx
lea eax, [ebp + 0x2a8]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x441b50
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x64]
push eax
push ebx
push 0x477600
push ebx
lea eax, [ebp + 0x1a4]
push eax
push dword [ebp - 0x60]
call edi
test eax, eax
je 0x441966
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0x4b4], 1
jne 0x441b50
lea eax, [ebp - 0x5c]
push eax
call esi
lea ecx, [ebp - 0x5c]
dec ecx
cmp byte [eax + ecx], 0x5c
jne 0x441b50
xor eax, eax
inc eax
jmp 0x441b52
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x2a8]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
lea eax, [ebp + 0x1a4]
push eax
push dword [ebp - 0x60]
mov dword [ebp - 0x6c], 0x1ff
call edi
test eax, eax
jne 0x4419f7
cmp byte [ebp + 0x2a8], bl
je 0x4419f7
push 6
lea eax, [ebp + 0x2a8]
push str.FILE::
push eax
call fcn.00448060
add esp, 0xc
test eax, eax
jne 0x4419f7
push ebx
push 0x80
push 3
push ebx
push 3
push SysReAllocString
lea eax, [ebp + 0x2ae]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4419e1
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x441b50
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x64], eax
cmp esi, ebx
je 0x4419f7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x4b4], 1
jne 0x441a11
push dword [ebp - 0x60]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x64]
jmp 0x441b52
mov eax, dword [ebp - 0x64]
cmp dword [ebp + 0x4c0], eax
jl 0x4419d3
mov esi, dword [ebp - 0x74]
lea eax, [ebp - 0x64]
push eax
push esi
lea eax, [ebp - 0x70]
push eax
push ebx
lea eax, [ebp + 0x1a4]
push eax
push dword [ebp - 0x60]
call edi
push dword [ebp - 0x60]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
jne 0x441b4a
cmp dword [ebp - 0x70], 7
jne 0x441ab2
xor eax, eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x64], ebx
jbe 0x441ab2
lea edi, [esi + eax]
mov cl, byte [edi]
cmp cl, bl
jne 0x441aa9
cmp byte [esi + eax + 1], bl
je 0x441ab2
cmp cl, bl
jne 0x441aa9
lea ecx, [esi + eax + 1]
cmp ecx, ebx
je 0x441a8c
cmp edi, ebx
je 0x441a8c
mov edx, dword [ebp - 0x64]
sub edx, eax
je 0x441a8c
push edx
push edi
push ecx
call fcn.00446570
mov eax, dword [ebp - 0x6c]
add esp, 0xc
lea ecx, [esi + eax]
cmp ecx, ebx
je 0x441aa6
push 2
push 0x45b4c0
push ecx
call fcn.00445ea0
mov eax, dword [ebp - 0x6c]
add esp, 0xc
inc dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x6c], eax
cmp eax, dword [ebp - 0x64]
jb 0x441a58
cmp esi, ebx
je 0x441a09
cmp byte [esi], bl
je 0x441a09
push 6
push str.FILE::
push esi
call fcn.00448060
add esp, 0xc
test eax, eax
jne 0x441a09
push ebx
push 0x80
push 3
push ebx
push 3
push SysReAllocString
lea eax, [esi + 6]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
mov byte [esi], bl
cmp edi, 0xffffffff
je 0x441b50
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x64], eax
cmp dword [ebp + 0x4c0], eax
jb 0x441b2e
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x64]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x441b31
mov dword [ebp - 0x64], ebx
cmp edi, ebx
je 0x441a09
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x441a09
cmp eax, 3
jne 0x441b50
cmp esi, ebx
je 0x441b50
mov byte [esi], bl
xor eax, eax
mov ecx, dword [ebp + 0x4a8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004464bf
add ebp, 0x4ac
leave
ret