Function at 0x41e920
Capabilities:
Create process on windows
Create thread
Hide graphical window
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x1ab8
call fcn.004a5d20
mov eax, dword [0x4c4004]
xor eax, esp
mov dword [esp + 0x1ab4], eax
push esi
push edi
push 0x27c9
push dword [0x4def88]
call dword [sym.imp.user32.dll_GetDlgItem]
push 0x7fc
mov esi, eax
mov dword [esp + 0xabc], 0
lea eax, [esp + 0xac0]
push 0
push eax
call fcn.0048e770
push 0x7fc
lea eax, [esp + 0x2cc]
mov dword [esp + 0x2c8], 0
push 0
push eax
call fcn.0048e770
mov edi, dword [sym.imp.user32.dll_SendMessageW]
lea eax, [esp + 0xad0]
add esp, 0x18
mov dword [esp + 0x88], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x7c], 6
mov dword [esp + 0x8c], 0x400
push eax
push 2
push 0xffffffffffffffff
push 0x100c
push esi
call edi
push eax
push 0x1073
push esi
call edi
cmp word [esp + 0xab8], 0
jne 0x41ea38
mov edx, 0x4ad08c
mov ecx, 0x4ad9cc
call fcn.004773a0
push eax
lea eax, [esp + 0xb4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0xb0]
mov edx, 0x4aeb80
push 0x30
push eax
mov ecx, 0x4ad9cc
call fcn.004773a0
push eax
push dword [0x4def88]
call dword [sym.imp.user32.dll_MessageBoxW]
pop edi
pop esi
mov ecx, dword [esp + 0x1ab4]
xor ecx, esp
call fcn.0048d815
mov esp, ebp
pop ebp
ret
push 0x5c
lea eax, [esp + 0xabc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
je 0x41ed0f
lea ecx, [esp + 0xab8]
sub eax, ecx
lea ecx, [esp + 0xaba]
sar eax, 1
lea eax, [ecx + eax*2]
push eax
lea eax, [esp + 0x2bc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 8]
push eax
push 0x20119
push 0
lea eax, [esp + 0x2c4]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41ed0f
push 0x7fe
push eax
mov word [esp + 0x12c0], ax
lea eax, [esp + 0x12c2]
push eax
call fcn.0048e770
add esp, 0xc
mov dword [esp + 0xc], 0x400
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x12bc]
push eax
lea eax, [esp + 0x28]
push eax
push 0
push 0x4ae720
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41ec8c
lea eax, [esp + 0xab8]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x88], eax
lea eax, [esp + 0x74]
push eax
push 2
push 0xffffffffffffffff
push 0x100c
push esi
mov dword [esp + 0xa0], 0x104
call edi
push eax
push 0x1073
push esi
call edi
push 0x4ded80
push 1
push 0x4ae028
push 0x4ae378
call dword [sym.imp.kernel32.dll_GetPrivateProfileIntW]
mov esi, dword [sym.imp.user32.dll_MessageBoxW]
test eax, eax
je 0x41ebc1
mov edx, 0x4aeb88
mov ecx, 0x4ad9cc
call fcn.004773a0
mov edi, dword [sym.imp.SHLWAPI.dll_StrCpyW]
push eax
lea eax, [esp + 0x2bc]
push eax
call edi
mov esi, dword [sym.imp.SHLWAPI.dll_StrCatW]
lea eax, [esp + 0xab8]
push eax
lea eax, [esp + 0x2bc]
push eax
call esi
push 0x4addf4
lea eax, [esp + 0x2bc]
push eax
call esi
push 0x24
mov edx, 0x4ad0a4
mov ecx, 0x4ad9cc
call fcn.004773a0
mov esi, dword [sym.imp.user32.dll_MessageBoxW]
push eax
lea eax, [esp + 0x2c0]
push eax
push dword [0x4def88]
call esi
cmp eax, 6
je 0x41ebc7
jmp 0x41ed05
mov edi, dword [sym.imp.SHLWAPI.dll_StrCpyW]
xor eax, eax
mov dword [esp + 0x28], 0x44
mov word [esp + 0x6a], ax
xorps xmm0, xmm0
mov eax, 1
movlpd qword [esp + 0x2c], xmm0
mov word [esp + 0x58], ax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2c]
movlpd qword [esp + 0x38], xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x12d8]
movlpd qword [esp + 0x5c], xmm0
push eax
push 0
movlpd qword [esp + 0x6c], xmm0
movlpd qword [esp + 0x74], xmm0
movlpd qword [esp + 0x82], xmm0
movlpd qword [esp + 0x8a], xmm0
movaps xmmword [esp + 0x38], xmm0
mov dword [esp + 0x7c], 1
call dword [sym.imp.kernel32.dll_CreateProcessW]
test eax, eax
jne 0x41ed23
mov edx, 0x4aeb90
mov ecx, 0x4ad9cc
call fcn.004773a0
push eax
lea eax, [esp + 0xb4]
push eax
call edi
lea eax, [esp + 0xb0]
mov edx, 0x4aeb98
push 0x30
push eax
mov ecx, 0x4ad9cc
call fcn.004773a0
push eax
push dword [0x4def88]
call esi
jmp 0x41ed05
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x400
push eax
lea eax, [esp + 0x12bc]
push eax
lea eax, [esp + 0x28]
push eax
push 0
push 0x4ae75c
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x41eaec
mov edx, 0x4aeb90
mov ecx, 0x4ad9cc
call fcn.004773a0
mov edi, dword [sym.imp.SHLWAPI.dll_StrCpyW]
push eax
lea eax, [esp + 0xb4]
push eax
call edi
lea eax, [esp + 0xb0]
mov edx, 0x4aeba0
push 0x30
push eax
mov ecx, 0x4ad9cc
call fcn.004773a0
push eax
push dword [0x4def88]
call dword [sym.imp.user32.dll_MessageBoxW]
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x1abc]
pop edi
pop esi
xor ecx, esp
call fcn.0048d815
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.user32.dll_ShowWindow]
push 6
push dword [0x4def88]
call esi
push 0xffffffffffffffff
push dword [esp + 0x14]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0x41c770
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
push 9
push dword [0x4def88]
call esi
push dword [esp + 0x10]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
call esi
push dword [esp + 0x14]
call esi
jmp 0x41ed05