Function at 0x424430
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56f07b
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x5b8250]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push esi
push edi
mov eax, dword [0x5b8250]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
cmp word [edx], 0
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x18], eax
jne 0x424493
xor ecx, ecx
jmp 0x4244b1
mov ecx, edx
lea eax, [ecx + 2]
mov dword [esp + 0x10], eax
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4244a0
sub ecx, dword [esp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x38]
call fcn.004204e0
cmp word [ebx], 0
jne 0x4244c5
xor ecx, ecx
jmp 0x4244df
mov ecx, ebx
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4244d0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [edi + 0x50]
call fcn.004204e0
mov ebx, dword [esp + 0x14]
cmp word [ebx], 0
jne 0x4244f7
xor ecx, ecx
jmp 0x42450f
mov ecx, ebx
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424500
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [edi + 0x68]
call fcn.004204e0
test esi, esi
jne 0x424541
cmp word [0x5bdd98], si
jne 0x42453c
push 0x103
push 0x5bdd98
push dword [0x5be3bc]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, 0x5bdd98
cmp word [esi], 0
jne 0x42454b
xor ecx, ecx
jmp 0x42455f
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424550
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [edi + 0x80]
call fcn.004204e0
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x9c], eax
xor eax, eax
mov dword [edi + 0xa0], 0
cmp ax, word [0x5be3c0]
jne 0x424594
sub esp, 0xc
mov ecx, edi
call fcn.00422860
xor eax, eax
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], ax
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x160], eax
test ebx, ebx
je 0x4245ef
cmp word [ebx], ax
jne 0x4245ce
xor ecx, ecx
push ecx
push ebx
lea ecx, [esp + 0x24]
call fcn.004204e0
jmp 0x42464c
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4245d3
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [esp + 0x24]
call fcn.004204e0
jmp 0x42464c
lea eax, [esp + 0x34]
mov ecx, edi
push eax
call fcn.00424870
mov esi, eax
lea eax, [esp + 0x1c]
cmp eax, esi
je 0x424639
cmp dword [esp + 0x30], 8
jb 0x424618
push dword [esp + 0x1c]
call fcn.005385cc
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
call fcn.0041fba0
cmp dword [esp + 0x48], 8
jb 0x42464c
push dword [esp + 0x34]
call fcn.005385cc
add esp, 4
cmp dword [esp + 0x2c], 0
jne 0x4246b8
lea ecx, [esp + 0x34]
call fcn.0041a590
mov esi, eax
lea eax, [esp + 0x1c]
cmp eax, esi
je 0x42469a
cmp dword [esp + 0x30], 8
jb 0x424679
push dword [esp + 0x1c]
call fcn.005385cc
add esp, 4
xor eax, eax
mov dword [esp + 0x30], 7
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], 0
mov word [esp + 0x20], ax
call fcn.0041fba0
cmp dword [esp + 0x48], 8
jb 0x4246ad
push dword [esp + 0x34]
call fcn.005385cc
add esp, 4
cmp dword [esp + 0x2c], 0
je 0x42474d
xor eax, eax
push 0x7e
push eax
mov word [esp + 0xd4], ax
lea eax, [esp + 0xd6]
push eax
call fcn.005392b0
cmp dword [esp + 0x3c], 8
lea ecx, [esp + 0x28]
lea edx, [esp + 0xd8]
cmovae ecx, dword [esp + 0x28]
add esp, 8
call fcn.00416bd0
add esp, 4
xor eax, eax
mov word [esp + 0x4c], ax
push 0x7e
push eax
lea eax, [esp + 0x56]
push eax
call fcn.005392b0
add esp, 8
lea edx, [esp + 0x50]
lea ecx, [esp + 0xd0]
call fcn.00416c70
add esp, 4
cmp word [esp + 0x4c], 0
jne 0x424728
xor ecx, ecx
jmp 0x42473f
lea ecx, [esp + 0x4c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424730
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x50]
push eax
lea ecx, [edi + 0x20]
call fcn.004204e0
push 0
call fcn.00542241
mov dword [esp + 0x14], eax
add esp, 4
cmp dword [edi + 0x4c], 8
lea eax, [edi + 0x38]
jb 0x424766
mov eax, dword [eax]
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
push str.lastldtime
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
neg eax
mov dword [edi + 0xa0], eax
je 0x4247c3
push 0x11
push str.http:__localhost_
lea ecx, [edi + 0xa4]
call fcn.004204e0
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x50]
push eax
lea ecx, [edi + 0xa4]
call fcn.0041c8f0
push dword [esp + 0x10]
mov ecx, edi
push str.lastldtime
call fcn.00422ed0
cmp dword [esp + 0x30], 8
jb 0x4247d6
push dword [esp + 0x1c]
call fcn.005385cc
add esp, 4
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.0053aa3c
mov esp, ebp
pop ebp
ret 0x18