Function at 0x4243f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5738fb
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x5bd250]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push esi
push edi
mov eax, dword [0x5bd250]
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 0x424453
xor ecx, ecx
jmp 0x424471
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 0x424460
sub ecx, dword [esp + 0x10]
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 0x38]
call fcn.00420490
cmp word [ebx], 0
jne 0x424485
xor ecx, ecx
jmp 0x42449f
mov ecx, ebx
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424490
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [edi + 0x50]
call fcn.00420490
mov ebx, dword [esp + 0x14]
cmp word [ebx], 0
jne 0x4244b7
xor ecx, ecx
jmp 0x4244cf
mov ecx, ebx
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4244c0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [edi + 0x68]
call fcn.00420490
test esi, esi
jne 0x424501
cmp word [0x5c2d90], si
jne 0x4244fc
push 0x103
push 0x5c2d90
push dword [0x5c33bc]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, 0x5c2d90
cmp word [esi], 0
jne 0x42450b
xor ecx, ecx
jmp 0x42451f
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424510
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [edi + 0x80]
call fcn.00420490
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x9c], eax
xor eax, eax
mov dword [edi + 0xa0], 0
cmp ax, word [0x5c33c0]
jne 0x424554
sub esp, 0xc
mov ecx, edi
call fcn.00422810
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 0x4245af
cmp word [ebx], ax
jne 0x42458e
xor ecx, ecx
push ecx
push ebx
lea ecx, [esp + 0x24]
call fcn.00420490
jmp 0x42460c
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424593
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [esp + 0x24]
call fcn.00420490
jmp 0x42460c
lea eax, [esp + 0x34]
mov ecx, edi
push eax
call fcn.00424830
mov esi, eax
lea eax, [esp + 0x1c]
cmp eax, esi
je 0x4245f9
cmp dword [esp + 0x30], 8
jb 0x4245d8
push dword [esp + 0x1c]
call fcn.0053ce3a
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.0041fb50
cmp dword [esp + 0x48], 8
jb 0x42460c
push dword [esp + 0x34]
call fcn.0053ce3a
add esp, 4
cmp dword [esp + 0x2c], 0
jne 0x424678
lea ecx, [esp + 0x34]
call fcn.0041a4c0
mov esi, eax
lea eax, [esp + 0x1c]
cmp eax, esi
je 0x42465a
cmp dword [esp + 0x30], 8
jb 0x424639
push dword [esp + 0x1c]
call fcn.0053ce3a
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.0041fb50
cmp dword [esp + 0x48], 8
jb 0x42466d
push dword [esp + 0x34]
call fcn.0053ce3a
add esp, 4
cmp dword [esp + 0x2c], 0
je 0x42470d
xor eax, eax
push 0x7e
push eax
mov word [esp + 0xd4], ax
lea eax, [esp + 0xd6]
push eax
call fcn.0053e230
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.0053e230
add esp, 8
lea edx, [esp + 0x50]
lea ecx, [esp + 0xd0]
call fcn.00416c70
add esp, 4
cmp word [esp + 0x4c], 0
jne 0x4246e8
xor ecx, ecx
jmp 0x4246ff
lea ecx, [esp + 0x4c]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4246f0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x50]
push eax
lea ecx, [edi + 0x20]
call fcn.00420490
push 0
call fcn.00546c8d
mov dword [esp + 0x14], eax
add esp, 4
cmp dword [edi + 0x4c], 8
lea eax, [edi + 0x38]
jb 0x424726
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 0x424783
push 0x11
push str.http:__localhost_
lea ecx, [edi + 0xa4]
call fcn.00420490
push 0xffffffffffffffff
push 0
lea eax, [edi + 0x50]
push eax
lea ecx, [edi + 0xa4]
call fcn.0041c830
push dword [esp + 0x10]
mov ecx, edi
push str.lastldtime
call fcn.00422e80
cmp dword [esp + 0x30], 8
jb 0x424796
push dword [esp + 0x1c]
call fcn.0053ce3a
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.0053f9bc
mov esp, ebp
pop ebp
ret 0x18