Function at 0x403f30
Capabilities:
Create thread
Delete file
Delete registry key
Get common file path
Get startup folder
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x47673d
mov eax, dword fs:[0]
push eax
sub esp, 0xc08
mov eax, dword [0x4995d0]
xor eax, esp
mov dword [esp + 0xc00], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4995d0]
xor eax, esp
push eax
lea eax, [esp + 0xc1c]
mov dword fs:[0], eax
mov eax, dword [esp + 0xc2c]
mov dword [esp + 0x28], eax
call fcn.00404c80
call fcn.00404df0
call fcn.00405100
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x206]
push edx
mov word [esp + 0x208], cx
call fcn.00458440
add esp, 0xc
mov ebx, 0x48072c
lea edi, [esp + 0x1fc]
call fcn.004176c0
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, edi
push eax
call ebp
push 0x208
call fcn.00434490
add esp, 4
push 0x4806b8
lea ecx, [esp + 0x3c]
call fcn.0040a4d0
push eax
mov dword [esp + 0xc28], 0
call fcn.004133b0
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.00408bc0
add esp, 0xc
mov byte [esp + 0xc24], 2
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404023
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
mov edx, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x404049
push edx
lea ecx, [esp + 0x1c]
call fcn.0040a2f0
mov esi, dword [esp + 0x18]
mov ebx, esi
lea edi, [esp + 0x1fc]
call fcn.004176c0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00455007
add esp, 8
test eax, eax
jl 0x4044be
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx - 8]
jg 0x4044be
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0x18]
xor ecx, ecx
push esi
mov word [edx + eax*2], cx
call fcn.00434485
add esp, 4
mov eax, edi
push eax
call ebp
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x616]
push edx
mov word [esp + 0x618], cx
call fcn.00458440
mov ecx, dword [0x480744]
mov eax, dword [0x480740]
mov edx, dword [0x480748]
add esp, 0xc
push 0x30
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
mov eax, dword [0x48074c]
lea ecx, [esp + 0x50]
push 0
push ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
call fcn.00458440
add esp, 0xc
xor ebx, ebx
lea edi, [esp + 0x60c]
call fcn.004176c0
lea edx, [esp + 0x4a]
push edx
mov esi, edi
call fcn.00417630
add esp, 4
lea eax, [esp + 0x3c]
push 0x20
push eax
call fcn.004551eb
lea ecx, [esp + 0x44]
push 0x2e
push ecx
call fcn.004546ac
xor edx, edx
add esp, 0x10
mov word [eax], dx
lea eax, [esp + 0x3c]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push ebx
xor esi, esi
call fcn.004072d0
add esp, 4
push 0x4804c8
lea ecx, [esp + 0x20]
call fcn.0040a4d0
mov esi, eax
push 0x480750
lea ecx, [esp + 0x24]
mov byte [esp + 0xc28], 3
call fcn.0040a4d0
mov edi, eax
mov byte [esp + 0xc24], 4
call fcn.00413420
push eax
lea ecx, [esp + 0x34]
push edi
push ecx
call fcn.00408ae0
add esp, 0xc
mov byte [esp + 0xc24], 5
push esi
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.00408a20
add esp, 0xc
mov esi, eax
mov bl, 6
mov byte [esp + 0xc24], bl
call fcn.004132d0
push eax
lea eax, [esp + 0x30]
push esi
push eax
call fcn.00408ae0
add esp, 0xc
mov edi, eax
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x40e]
mov byte [esp + 0xc2c], 7
push edx
mov word [esp + 0x410], cx
call fcn.00458440
add esp, 0xc
xor eax, eax
push 0x3e
push eax
lea ecx, [esp + 0xc6]
push ecx
mov word [esp + 0xc8], ax
call fcn.00458440
add esp, 0xc
xor edx, edx
push 0x3e
push edx
lea eax, [esp + 0x86]
push eax
mov word [esp + 0x88], dx
call fcn.00458440
add esp, 0xc
push 0x480808
lea ecx, [esp + 0xc0]
push 0x20
push ecx
call fcn.004544ff
add esp, 0xc
lea edx, [esp + 0x404]
push edx
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0x480204
lea eax, [esp + 0x408]
push 0x104
push eax
call fcn.0045456e
add esp, 0xc
lea ecx, [esp + 0x404]
push ecx
push 0x20
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0xc8]
push 0x48032c
push eax
call fcn.004133b0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x7c]
push ecx
call fcn.00454db8
add esp, 4
mov esi, eax
inc esi
push esi
push 0x48084c
lea edx, [esp + 0x84]
push 0x20
push edx
call fcn.004546d8
add esp, 0x10
lea eax, [esp + 0x404]
push eax
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0xc4]
push edx
call fcn.004133b0
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [edi]
push esi
push eax
push 0x480530
lea ecx, [esp + 0x820]
push 0x200
push ecx
call fcn.004546d8
mov byte [esp + 0xc38], bl
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
add esp, 0x14
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404328
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc24], 5
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404350
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc24], 4
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404378
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc24], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4043a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc24], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4043c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x28]
lea edx, [esp + 0x1c]
push edx
push 0
lea eax, [esp + 0x28]
push eax
push 0x406300
push 0
lea ecx, [esp + 0x828]
push 0
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 0xf28]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 0xf28]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
xor eax, eax
push 0xfe
push eax
lea ecx, [esp + 0x106]
push ecx
mov word [esp + 0x108], ax
call fcn.00458440
add esp, 0xc
call fcn.00413110
push eax
push 0x4807b0
lea edx, [esp + 0x104]
push 0x80
push edx
call fcn.004546d8
call fcn.00413110
mov ecx, eax
push 0
xor eax, eax
lea ebx, [esp + 0x110]
call fcn.00406710
mov dword [esp + 0xc38], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404494
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc00]
xor ecx, esp
call fcn.004541a5
add esp, 0xc14
ret 4
push 0x80070057
call fcn.0040a660
int3