Function at 0x424320
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57253b
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x5bb250]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push esi
push edi
mov eax, dword [0x5bb250]
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 0x424383
xor ecx, ecx
jmp 0x4243a1
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 0x424390
sub ecx, dword [esp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x38]
call fcn.004203d0
cmp word [ebx], 0
jne 0x4243b5
xor ecx, ecx
jmp 0x4243cf
mov ecx, ebx
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4243c0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [edi + 0x50]
call fcn.004203d0
mov ebx, dword [esp + 0x14]
cmp word [ebx], 0
jne 0x4243e7
xor ecx, ecx
jmp 0x4243ff
mov ecx, ebx
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4243f0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [edi + 0x68]
call fcn.004203d0
test esi, esi
jne 0x424431
cmp word [0x5c0d90], si
jne 0x42442c
push 0x103
push 0x5c0d90
push dword [0x5c13bc]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, 0x5c0d90
cmp word [esi], 0
jne 0x42443b
xor ecx, ecx
jmp 0x42444f
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424440
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [edi + 0x80]
call fcn.004203d0
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x9c], eax
xor eax, eax
mov dword [edi + 0xa0], 0
cmp ax, word [0x5c13c0]
jne 0x424484
sub esp, 0xc
mov ecx, edi
call fcn.00422750
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 0x4244df
cmp word [ebx], ax
jne 0x4244be
xor ecx, ecx
push ecx
push ebx
lea ecx, [esp + 0x24]
call fcn.004203d0
jmp 0x42453c
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4244c3
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [esp + 0x24]
call fcn.004203d0
jmp 0x42453c
lea eax, [esp + 0x34]
mov ecx, edi
push eax
call fcn.00424760
mov esi, eax
lea eax, [esp + 0x1c]
cmp eax, esi
je 0x424529
cmp dword [esp + 0x30], 8
jb 0x424508
push dword [esp + 0x1c]
call fcn.0053ba8c
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.0041fa90
cmp dword [esp + 0x48], 8
jb 0x42453c
push dword [esp + 0x34]
call fcn.0053ba8c
add esp, 4
cmp dword [esp + 0x2c], 0
jne 0x4245a8
lea ecx, [esp + 0x34]
call fcn.0041a470
mov esi, eax
lea eax, [esp + 0x1c]
cmp eax, esi
je 0x42458a
cmp dword [esp + 0x30], 8
jb 0x424569
push dword [esp + 0x1c]
call fcn.0053ba8c
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.0041fa90
cmp dword [esp + 0x48], 8
jb 0x42459d
push dword [esp + 0x34]
call fcn.0053ba8c
add esp, 4
cmp dword [esp + 0x2c], 0
je 0x42463d
xor eax, eax
push 0x7e
push eax
mov word [esp + 0xd4], ax
lea eax, [esp + 0xd6]
push eax
call fcn.0053ca90
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.0053ca90
add esp, 8
lea edx, [esp + 0x50]
lea ecx, [esp + 0xd0]
call fcn.00416c70
add esp, 4
cmp word [esp + 0x4c], 0
jne 0x424618
xor ecx, ecx
jmp 0x42462f
lea ecx, [esp + 0x4c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424620
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x50]
push eax
lea ecx, [edi + 0x20]
call fcn.004203d0
push 0
call fcn.005458d1
mov dword [esp + 0x14], eax
add esp, 4
cmp dword [edi + 0x4c], 8
lea eax, [edi + 0x38]
jb 0x424656
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 0x4246b3
push 0x11
push str.http:__localhost_
lea ecx, [edi + 0xa4]
call fcn.004203d0
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x50]
push eax
lea ecx, [edi + 0xa4]
call fcn.0041c7e0
push dword [esp + 0x10]
mov ecx, edi
push str.lastldtime
call fcn.00422dc0
cmp dword [esp + 0x30], 8
jb 0x4246c6
push dword [esp + 0x1c]
call fcn.0053ba8c
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.0053e21c
mov esp, ebp
pop ebp
ret 0x18