Function at 0x44ad45
Capabilities:
Check os version
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 - 0x4a8]
sub esp, 0x528
mov eax, dword [0x47e5d0]
xor eax, ebp
mov dword [ebp + 0x4a4], eax
mov eax, dword [ebp + 0x4bc]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x4b8]
xor ebx, ebx
mov esi, 0x1ff
push esi
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x5f]
push ebx
push eax
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov byte [ebp - 0x60], bl
call fcn.00452e00
push esi
lea eax, [ebp + 0x2a5]
push ebx
push eax
mov byte [ebp + 0x2a4], bl
call fcn.00452e00
push 0x103
lea eax, [ebp + 0x1a1]
push ebx
push eax
mov byte [ebp + 0x1a0], bl
call fcn.00452e00
mov eax, dword [ebp + 0x4c0]
mov ecx, dword [ebp + 0x4b0]
add esp, 0x24
cmp eax, ebx
je 0x44b5c7
cmp byte [eax], bl
je 0x44b5c7
lea edx, [ecx - 1]
cmp edx, 3
ja 0x44b5c7
cmp edi, ebx
jne 0x44adfc
cmp ecx, 1
je 0x44adfc
cmp ecx, 4
jne 0x44b5c7
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
call esi
cmp eax, 0x1e0
jge 0x44ae4e
push 0x25
push dword [ebp + 0x4c0]
call fcn.00452d30
pop ecx
pop ecx
test eax, eax
je 0x44ae4e
lea eax, [ebp + 0x4c4]
push eax
push dword [ebp + 0x4c0]
call fcn.0044a1d2
test eax, eax
je 0x44ae7f
lea eax, [ebp + 0x4c4]
push eax
push dword [ebp + 0x4c0]
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.USER32.dll_wvsprintfA]
jmp 0x44ae7f
push dword [ebp + 0x4c0]
call esi
inc eax
cmp eax, 0x1ff
jle 0x44ae65
mov eax, 0x1ff
jmp 0x44ae6e
push dword [ebp + 0x4c0]
call esi
inc eax
push eax
push dword [ebp + 0x4c0]
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
cmp byte [0x481538], bl
je 0x44af5e
lea eax, [ebp - 0x60]
push str._vTask_
push eax
call fcn.004526d0
pop ecx
pop ecx
test eax, eax
je 0x44af5e
lea eax, [ebp - 0x60]
push str._vTask_
push eax
call fcn.004526d0
mov dword [ebp - 0x68], eax
inc dword [ebp - 0x68]
pop ecx
pop ecx
je 0x44aef0
mov eax, dword [ebp - 0x68]
add eax, 5
cmp eax, ebx
je 0x44aef0
mov eax, dword [ebp - 0x68]
add eax, 5
push eax
call esi
inc eax
test eax, eax
jle 0x44aef0
mov eax, dword [ebp - 0x68]
add eax, 5
push eax
call esi
inc eax
push eax
mov eax, dword [ebp - 0x68]
add eax, 5
push eax
push dword [ebp - 0x68]
call fcn.00452ea0
add esp, 0xc
push 0x481538
call esi
cmp eax, 0x80
jle 0x44af07
mov dword [ebp - 0x74], 0x80
jmp 0x44af11
push 0x481538
call esi
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x74]
add eax, ecx
mov dword [ebp - 0x80], eax
cmp eax, ebx
je 0x44af41
cmp ecx, ebx
je 0x44af5e
push ecx
call esi
inc eax
test eax, eax
jle 0x44af41
push dword [ebp - 0x68]
call esi
inc eax
push eax
push dword [ebp - 0x68]
push dword [ebp - 0x80]
call fcn.00452ea0
add esp, 0xc
cmp dword [ebp - 0x68], ebx
je 0x44af5e
cmp dword [ebp - 0x74], ebx
jle 0x44af5e
push dword [ebp - 0x74]
push 0x481538
push dword [ebp - 0x68]
call fcn.00452790
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
call fcn.004483cc
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp + 0x2a4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp + 0x2a4]
push eax
mov dword [ebp - 0x74], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax - 1]
jmp 0x44afc2
cmp esi, 0x103
jge 0x44afc6
cmp byte [ebp + esi + 0x2a4], 0x5c
jne 0x44afad
cmp byte [ebp + esi + 0x2a3], 0x5c
jne 0x44afc6
dec esi
mov al, byte [ebp + esi + 0x2a4]
mov ecx, dword [ebp - 0x74]
inc dword [ebp - 0x74]
mov byte [ebp + ecx + 0x1a0], al
dec esi
cmp esi, ebx
jg 0x44af90
mov eax, dword [ebp - 0x74]
mov byte [ebp + eax + 0x1a0], bl
lea eax, [ebp + 0x1a0]
push eax
call fcn.00456280
cmp dword [ebp + 0x4b0], 3
pop ecx
mov byte [ebp + esi + 0x2a4], bl
jne 0x44aff3
cmp edi, ebx
je 0x44aff3
mov byte [edi], bl
cmp byte [ebp + 0x2a4], bl
je 0x44b5d2
mov eax, dword [ebp + 0x4b0]
cmp eax, 2
jne 0x44b21f
lea eax, [ebp - 0x64]
push eax
mov esi, 0x2001f
push esi
push ebx
lea eax, [ebp + 0x2a4]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x44b062
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x64]
push eax
push ebx
push esi
push ebx
push 0x464a50
push ebx
lea eax, [ebp + 0x2a4]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x44b062
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x44b5d4
cmp dword [ebp + 0x4b4], 7
jne 0x44b0d8
xor eax, eax
mov dword [ebp - 0x70], eax
cmp byte [edi], bl
je 0x44b0ca
cmp eax, dword [ebp - 0x78]
jae 0x44b0ca
lea esi, [edi + eax]
cmp byte [esi], 0xd
jne 0x44b0ad
lea ecx, [edi + eax + 1]
cmp byte [ecx], 0xa
jne 0x44b0ad
cmp esi, ebx
je 0x44b0aa
cmp ecx, ebx
je 0x44b0aa
mov edx, dword [ebp - 0x78]
sub edx, eax
dec edx
cmp edx, ebx
jbe 0x44b0aa
push edx
push ecx
push esi
call fcn.00452ea0
mov eax, dword [ebp - 0x70]
add esp, 0xc
dec dword [ebp - 0x78]
lea esi, [edi + eax]
mov cl, byte [esi]
cmp cl, 0xd
je 0x44b0bc
cmp cl, 0xa
jne 0x44b0c1
mov byte [esi], bl
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp byte [edi + eax], bl
jne 0x44b074
push 2
add eax, edi
push ebx
push eax
call fcn.00452e00
add esp, 0xc
push dword [ebp - 0x78]
lea eax, [ebp + 0x1a0]
push edi
push dword [ebp + 0x4b4]
push ebx
push eax
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x44b0ff
mov ebx, dword [ebp - 0x78]
jmp 0x44b052
cmp dword [ebp - 0x78], 0x200
jle 0x44b052
lea eax, [ebp + 0x2a4]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp + 0x2a4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp + 0x2a4]
cmp byte [eax + ecx - 1], 0x5c
je 0x44b148
push 0x4648e0
mov eax, ecx
push eax
call esi
push ebx
push ebx
push 0x466d0c
push 0x4648e0
lea eax, [ebp - 0x60]
push eax
call fcn.0044923e
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp + 0x2a4]
push eax
call esi
push str..dat
lea eax, [ebp + 0x2a4]
push eax
call esi
lea eax, [ebp + 0x2a4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
push 0x80
push 4
push ebx
push 3
push 0xc0000000
lea eax, [ebp + 0x2a4]
push eax
call fcn.00413e0e
push ebx
mov esi, eax
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x78]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, ebx
je 0x44b1be
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.FILE::
push ebx
lea eax, [ebp + 0x2a4]
push eax
call fcn.00449673
lea eax, [ebp + 0x2a4]
push eax
mov dword [ebp - 0x7c], 1
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
mov dword [ebp - 0x70], eax
lea eax, [ebp + 0x2a4]
push eax
push dword [ebp - 0x7c]
lea eax, [ebp + 0x1a0]
push ebx
push eax
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x64]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x6c]
jmp 0x44b5d4
cmp eax, 1
je 0x44b349
cmp eax, 3
je 0x44b349
cmp eax, 4
jne 0x44b5d2
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x64]
push eax
mov esi, 0x2001f
push esi
push ebx
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x68]
call edi
test eax, eax
jne 0x44b262
push dword [ebp - 0x64]
call fcn.00448711
jmp 0x44b27c
lea eax, [ebp - 0x64]
push eax
push esi
push ebx
lea eax, [ebp + 0x2a4]
push eax
push dword [ebp - 0x68]
call edi
cmp eax, ebx
jne 0x44b338
cmp dword [ebp - 0x64], ebx
je 0x44b28a
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x64]
push eax
push esi
push ebx
lea eax, [ebp + 0x2a4]
push eax
push dword [ebp - 0x68]
call edi
test eax, eax
jne 0x44b338
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x2a4]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
lea eax, [ebp + 0x1a0]
push eax
push dword [ebp - 0x64]
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x70], 0x103
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp byte [ebp + 0x2a4], bl
je 0x44b301
push 6
lea eax, [ebp + 0x2a4]
push str.FILE::
push eax
call fcn.004549c0
add esp, 0xc
test eax, eax
jne 0x44b301
lea eax, [ebp + 0x2aa]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
lea eax, [ebp + 0x1a0]
push eax
push dword [ebp - 0x64]
call esi
test eax, eax
je 0x44b338
lea eax, [ebp + 0x1a0]
push eax
push dword [ebp - 0x68]
call esi
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x44b052
cmp dword [ebp - 0x64], ebx
je 0x44b5d2
xor ebx, ebx
inc ebx
jmp 0x44b052
mov esi, dword [sym.imp.KERNEL32.dll_GetVersion]
call esi
cmp al, 5
jne 0x44b363
call esi
shr eax, 8
test al, al
jne 0x44b363
xor eax, eax
inc eax
jmp 0x44b365
xor eax, eax
neg eax
sbb eax, eax
and eax, 0xffffff00
add eax, 0x100
lea ecx, [ebp - 0x64]
push ecx
or eax, 1
push eax
push ebx
lea eax, [ebp + 0x2a4]
push eax
push dword [ebp - 0x68]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44b5d2
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x6c]
push eax
push ebx
push 0x485450
push ebx
lea eax, [ebp + 0x1a0]
push eax
push dword [ebp - 0x64]
call esi
test eax, eax
je 0x44b3eb
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0x4b0], 1
jne 0x44b5d2
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x60]
cmp byte [eax + ecx - 1], 0x5c
jne 0x44b5d2
xor eax, eax
inc eax
jmp 0x44b5d4
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x2a4]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
lea eax, [ebp + 0x1a0]
push eax
push dword [ebp - 0x64]
mov dword [ebp - 0x70], 0x1ff
call esi
test eax, eax
jne 0x44b482
cmp byte [ebp + 0x2a4], bl
je 0x44b482
push 6
lea eax, [ebp + 0x2a4]
push str.FILE::
push eax
call fcn.004549c0
add esp, 0xc
test eax, eax
jne 0x44b482
push ebx
push 0x80
push 3
push ebx
push 3
push SQLAllocEnv
lea eax, [ebp + 0x2aa]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x74], eax
cmp eax, 0xffffffff
jne 0x44b467
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44b5d2
push ebx
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x74], ebx
je 0x44b482
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x4b0], 1
jne 0x44b49c
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x6c]
jmp 0x44b5d4
mov eax, dword [ebp - 0x6c]
cmp dword [ebp - 0x78], eax
jl 0x44b459
lea eax, [ebp - 0x6c]
push eax
push edi
lea eax, [ebp - 0x7c]
push eax
push ebx
lea eax, [ebp + 0x1a0]
push eax
push dword [ebp - 0x64]
call esi
push dword [ebp - 0x64]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
jne 0x44b5cc
cmp dword [ebp - 0x7c], 7
jne 0x44b537
xor eax, eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x6c], ebx
jbe 0x44b537
lea esi, [edi + eax]
mov cl, byte [esi]
cmp cl, bl
jne 0x44b52e
cmp byte [edi + eax + 1], bl
je 0x44b537
cmp cl, bl
jne 0x44b52e
lea ecx, [edi + eax + 1]
cmp ecx, ebx
je 0x44b511
cmp esi, ebx
je 0x44b511
mov edx, dword [ebp - 0x6c]
sub edx, eax
je 0x44b511
push edx
push esi
push ecx
call fcn.00452ea0
mov eax, dword [ebp - 0x70]
add esp, 0xc
lea ecx, [edi + eax]
cmp ecx, ebx
je 0x44b52b
push 2
push 0x4663d8
push ecx
call fcn.00452790
mov eax, dword [ebp - 0x70]
add esp, 0xc
inc dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x70], eax
cmp eax, dword [ebp - 0x6c]
jb 0x44b4dd
cmp edi, ebx
je 0x44b494
cmp byte [edi], bl
je 0x44b494
push 6
push str.FILE::
push edi
call fcn.004549c0
add esp, 0xc
test eax, eax
jne 0x44b494
push ebx
push 0x80
push 3
push ebx
push 3
push SQLAllocEnv
lea eax, [edi + 6]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov byte [edi], bl
cmp esi, 0xffffffff
je 0x44b5d2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x78], eax
jb 0x44b5b0
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44b5b3
mov dword [ebp - 0x6c], ebx
cmp esi, ebx
je 0x44b494
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x44b494
cmp ecx, 3
jne 0x44b5d2
cmp edi, ebx
je 0x44b5d2
mov byte [edi], bl
xor eax, eax
mov ecx, dword [ebp + 0x4a4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00452dee
add ebp, 0x4a8
leave
ret