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

Disassembly:
push 0xffffffffffffffff
push 0x457f98
mov eax, dword fs:[0]
push eax
sub esp, 0xc80
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0xc78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0xc94]
mov dword fs:[0], eax
mov eax, dword [esp + 0xca4]
push 0x4634c8
push 0x400
mov ebx, edx
lea edx, [esp + 0x28c]
push 0x200
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x4c], ecx
call fcn.0043ef21
add esp, 0x10
lea ecx, [esp + 0x44]
call fcn.0042a750
xor edi, edi
mov dword [esp + 0xc9c], edi
mov ebp, 7
lea eax, [esp + 0x284]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], edi
mov word [esp + 0x24], di
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41ff50
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x288]
push eax
lea esi, [esp + 0x28]
call fcn.00406f20
mov ecx, esi
push edi
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x4c]
mov byte [esp + 0xca4], 1
call fcn.00406d90
mov esi, 8
cmp dword [esp + 0x38], esi
jb 0x41ffa1
mov edx, dword [esp + 0x24]
push edx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x5c], esi
mov edx, dword [esp + 0x48]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], edi
mov word [esp + 0x24], di
jae 0x41ffbc
lea edx, [esp + 0x48]
mov ebp, dword [0x471b30]
cmp ebp, edi
je 0x41ffff
mov eax, edx
lea esi, [eax + 2]
jmp 0x41ffd0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41ffd0
sub eax, esi
sar eax, 1
push ebp
add eax, eax
push eax
push 1
push edx
call fcn.0043fe21
mov ecx, dword [0x471b30]
push ecx
call fcn.004402ef
add esp, 0x14
mov esi, 8
mov dword [esp + 0xc9c], 0xffffffff
cmp dword [esp + 0x5c], esi
jb 0x42001d
mov edx, dword [esp + 0x48]
push edx
call fcn.0043ef40
add esp, 4
cmp dword [ebx + 0x18], esi
jb 0x420027
mov eax, dword [ebx + 4]
jmp 0x42002a
lea eax, [ebx + 4]
lea ecx, [esp + 0x1c]
push ecx
push 0x20006
push edi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x420169
push 0x4634d8
push 0x400
lea edx, [esp + 0x28c]
push 0x200
push edx
call fcn.0043ef21
add esp, 0x10
lea ecx, [esp + 0x44]
call fcn.0042a750
mov dword [esp + 0xc9c], 2
mov ebx, 7
lea eax, [esp + 0x284]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], edi
mov word [esp + 0x24], di
lea edx, [eax + 2]
jmp 0x4200a0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4200a0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x288]
push eax
lea esi, [esp + 0x28]
call fcn.00406f20
mov ecx, esi
push edi
push ecx
or eax, 0xffffffff
lea esi, [esp + 0x4c]
mov byte [esp + 0xca4], 3
call fcn.00406d90
mov esi, 8
cmp dword [esp + 0x38], esi
jb 0x4200f1
mov edx, dword [esp + 0x24]
push edx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x5c], esi
mov edx, dword [esp + 0x48]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], edi
mov word [esp + 0x24], di
jae 0x42010c
lea edx, [esp + 0x48]
mov ebp, dword [0x471b30]
cmp ebp, edi
je 0x42014f
mov eax, edx
lea esi, [eax + 2]
jmp 0x420120
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x420120
sub eax, esi
sar eax, 1
push ebp
add eax, eax
push eax
push 1
push edx
call fcn.0043fe21
mov ecx, dword [0x471b30]
push ecx
call fcn.004402ef
add esp, 0x14
mov esi, 8
cmp dword [esp + 0x5c], esi
jb 0x420162
mov edx, dword [esp + 0x48]
push edx
call fcn.0043ef40
add esp, 4
xor eax, eax
jmp 0x42023d
push 0x206
lea eax, [esp + 0x68a]
push edi
push eax
mov dword [esp + 0x4c], 0x104
mov word [esp + 0x690], di
call fcn.00443e10
add esp, 0xc
push 0x206
lea ecx, [esp + 0x82]
push edi
push ecx
mov word [esp + 0x88], di
call fcn.00443e10
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp dword [eax + 0x18], esi
jb 0x4201bb
mov eax, dword [eax + 4]
jmp 0x4201be
add eax, 4
push 0x46031c
push eax
push str.__sBin_s___background
push 0x208
lea edx, [esp + 0x8c]
push 0x104
push edx
call fcn.0043ef21
mov ebx, dword [esp + 0x54]
add esp, 0x18
cmp dword [ebx + 0x18], esi
lea eax, [ebx + 4]
mov dword [esp + 0x18], eax
jb 0x4201f5
mov eax, dword [eax]
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x688]
push edx
push edi
push edi
push eax
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x420265
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x688]
push edx
call fcn.0043f95c
add esp, 8
test eax, eax
jne 0x420265
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0xc94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xc78]
xor ecx, esp
call fcn.0043ef12
add esp, 0xc8c
ret
push 0x463524
push 0x400
lea ecx, [esp + 0x28c]
push 0x200
push ecx
call fcn.0043ef21
add esp, 0x10
lea ecx, [esp + 0x44]
call fcn.0042a750
mov dword [esp + 0xc9c], 4
mov ebp, 7
lea eax, [esp + 0x284]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], edi
mov word [esp + 0x24], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4202b4
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x288]
push edx
lea esi, [esp + 0x28]
call fcn.00406f20
mov eax, esi
push edi
push eax
or eax, 0xffffffff
lea esi, [esp + 0x4c]
mov byte [esp + 0xca4], 5
call fcn.00406d90
mov esi, 8
cmp dword [esp + 0x38], esi
jb 0x420305
mov ecx, dword [esp + 0x24]
push ecx
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x5c], esi
mov edx, dword [esp + 0x48]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], edi
mov word [esp + 0x24], di
jae 0x420320
lea edx, [esp + 0x48]
mov ebp, dword [0x471b30]
cmp ebp, edi
je 0x42035f
mov eax, edx
lea esi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x420330
sub eax, esi
sar eax, 1
push ebp
add eax, eax
push eax
push 1
push edx
call fcn.0043fe21
mov ecx, dword [0x471b30]
push ecx
call fcn.004402ef
add esp, 0x14
mov esi, 8
mov dword [esp + 0xc9c], 0xffffffff
cmp dword [esp + 0x5c], esi
jb 0x42037d
mov edx, dword [esp + 0x48]
push edx
call fcn.0043ef40
add esp, 4
cmp dword [ebx + 0x14], edi
jne 0x4204a1
push 0x463534
push 0x400
lea eax, [esp + 0x894]
push 0x200
push eax
call fcn.0043ef21
add esp, 0x10
lea ecx, [esp + 0x60]
call fcn.0042a750
mov dword [esp + 0xc9c], 6
mov ebx, 7
lea eax, [esp + 0x88c]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], edi
mov word [esp + 0x24], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4203d5
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x890]
push ecx
lea esi, [esp + 0x28]
call fcn.00406f20
mov edx, esi
push edi
push edx
or eax, 0xffffffff
lea esi, [esp + 0x68]
mov byte [esp + 0xca4], 7
call fcn.00406d90
mov esi, 8
cmp dword [esp + 0x38], esi
jb 0x420426
mov eax, dword [esp + 0x24]
push eax
call fcn.0043ef40
add esp, 4
cmp dword [esp + 0x78], esi
mov edx, dword [esp + 0x64]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], edi
mov word [esp + 0x24], di
jae 0x420441
lea edx, [esp + 0x64]
mov ebx, dword [0x471b30]
cmp ebx, edi
je 0x42047b
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x420450
sub eax, esi
sar eax, 1
push ebx
lea ecx, [eax + eax]
push ecx
push 1
push edx
call fcn.0043fe21
mov edx, dword [0x471b30]
push edx
call fcn.004402ef
add esp, 0x14
cmp dword [esp + 0x78], 8
jb 0x42048f
mov eax, dword [esp + 0x64]
push eax
call fcn.0043ef40
add esp, 4
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x42023d
lea eax, [esp + 0x7c]
lea edx, [eax + 2]
jmp 0x4204b0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4204b0
sub eax, edx
sar eax, 1
cmp dword [ebx + 0x18], esi
lea ecx, [eax + eax + 2]
jb 0x4204d0
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
jmp 0x4204d4
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x80]
push ecx
push 1
push edi
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x420238
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x42023d