Function at 0x418f10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50abb4
mov eax, dword fs:[0]
push eax
mov eax, 0x11a4
call fcn.0043e4e0
mov eax, dword [0x553418]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x11a4], esi
mov dword [ebp - 0x1194], esi
test ebx, ebx
je 0x418f5e
mov dword [ebx], 0
mov dword [ebp - 0x11b0], 0
mov dword [ebp - 0x11ac], 0
mov dword [ebp - 0x11a8], 0
push 0x20019
push str.SOFTWARELudashi
push SysReAllocString
lea ecx, [ebp - 0x11b0]
mov dword [ebp - 4], 0
call fcn.0040d040
test eax, eax
jne 0x419495
push 0x1000
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.004d2e90
mov edi, dword [ebp - 0x11b0]
lea eax, [ebp - 0x1190]
add esp, 0xc
mov dword [ebp - 0x1190], 0x1000
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x1194]
push eax
push 0
push str.url0
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41949b
mov eax, dword [ebp - 0x1194]
cmp eax, 1
je 0x419009
cmp eax, 2
jne 0x41949b
mov eax, dword [ebp - 0x1190]
test eax, eax
je 0x41902e
test al, 1
jne 0x41949b
shr eax, 1
cmp word [ebp + eax*2 - 0x1012], 0
jne 0x41949b
jmp 0x419037
xor eax, eax
mov word [ebp - 0x1010], ax
test edi, edi
je 0x41904a
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x11b0], edi
cmp word [ebp - 0x1010], 0
mov dword [ebp - 0x11ac], 0
je 0x41949b
push 0
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x110c]
call fcn.00418240
mov eax, dword [eax]
lea ecx, [ebp - 0x1058]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x1048], 0
mov dword [ebp - 0x1044], 0xf
mov byte [ebp - 0x1058], 0
call fcn.0041a1a0
mov eax, dword [ebp - 0x110c]
lea ecx, [ebp - 0x1108]
cmp eax, ecx
je 0x4190bc
push eax
call fcn.004d6354
add esp, 4
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 0xf
mov byte [ebp - 0x1040], 0
push str.6804FACB_33CC_48a8_99B1_4E2A487F9638
lea ecx, [ebp - 0x1028]
mov byte [ebp - 4], 4
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0xf
mov byte [ebp - 0x1028], 0
call fcn.0041a1a0
lea eax, [ebp - 0x1040]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1058]
push eax
call fcn.004b7240
add esp, 0xc
lea ecx, [ebp - 0x1028]
mov esi, eax
call fcn.004055a0
test esi, esi
je 0x419473
mov dword [ebp - 0x11a0], 0
mov dword [ebp - 0x119c], 0
mov dword [ebp - 0x1198], 0
push 0x516de8
lea ecx, [ebp - 0x1028]
mov byte [ebp - 4], 6
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0xf
mov byte [ebp - 0x1028], 0
call fcn.0041a1a0
lea eax, [ebp - 0x11a0]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1040]
push eax
call fcn.00419af0
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1028]
call fcn.004055a0
mov ecx, dword [ebp - 0x119c]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x11a0]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x1194], eax
cmp eax, 2
jb 0x419411
push esi
lea ecx, [ebp - 0x1088]
call fcn.00404f90
lea eax, [esi + 0x18]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x1070]
call fcn.00404f90
cmp dword [ebp - 0x1078], 0
je 0x4193fb
cmp dword [ebp - 0x1060], 0
je 0x4193fb
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0xf
mov byte [ebp - 0x1028], 0
lea eax, [ebp - 0x1028]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x1088]
push eax
lea eax, [ebp - 0x1070]
push eax
call fcn.004b7240
add esp, 0xc
test eax, eax
je 0x4193f0
cmp dword [ebp - 0x1014], 0x10
lea eax, [ebp - 0x1028]
push 0
cmovae eax, dword [ebp - 0x1028]
lea ecx, [ebp - 0x118c]
push eax
call fcn.00417f00
push dword [eax]
lea ecx, [ebp - 0x1190]
mov byte [ebp - 4], 0xb
call fcn.00418070
mov eax, dword [ebp - 0x118c]
lea ecx, [ebp - 0x1188]
mov byte [ebp - 4], 0xd
cmp eax, ecx
je 0x4192b4
push eax
call fcn.004d6354
add esp, 4
test ebx, ebx
je 0x4192d7
cmp dword [ebp - 0x1194], 3
jb 0x4192d7
cmp dword [esi + 0x44], 0x10
lea eax, [esi + 0x30]
jb 0x4192cc
mov eax, dword [eax]
push eax
call fcn.004db3ab
add esp, 4
mov dword [ebx], eax
mov edi, dword [ebp - 0x1190]
mov ecx, dword [edi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi - 4], 0
mov ecx, eax
lea eax, [edi - 4]
jl 0x4192fd
cmp ecx, dword [edi - 0x10]
jne 0x4192fd
lea ebx, [edi - 0x10]
lock inc dword [eax]
jmp 0x41932f
mov eax, dword [ecx]
push 2
push dword [edi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x4194d0
mov eax, dword [edi - 0xc]
mov dword [ebx + 4], eax
mov eax, dword [edi - 0xc]
lea ecx, [eax*2 + 2]
push ecx
push edi
push ecx
lea eax, [ebx + 0x10]
push eax
call fcn.0040a010
add esp, 0x10
mov edi, dword [ebp - 0x11a4]
lea eax, [ebx + 0x10]
lea ecx, [ebp - 0x1190]
mov dword [edi], eax
call fcn.0040a4b0
lea ecx, [ebp - 0x1028]
call fcn.004055a0
lea ecx, [ebp - 0x1070]
call fcn.004055a0
lea ecx, [ebp - 0x1088]
call fcn.004055a0
test esi, esi
je 0x4193c8
lea ecx, [ebp - 0x11a0]
push ecx
mov ecx, dword [ebp - 0x119c]
push ecx
push esi
call fcn.00417be0
mov ecx, dword [ebp - 0x1198]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 0xc
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4193be
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4194d5
push ecx
push esi
call fcn.0043e101
add esp, 8
lea ecx, [ebp - 0x1040]
call fcn.004055a0
lea ecx, [ebp - 0x1058]
call fcn.004055a0
lea ecx, [ebp - 0x11b0]
call fcn.00416400
mov eax, edi
jmp 0x4194b4
lea ecx, [ebp - 0x1028]
call fcn.004055a0
lea ecx, [ebp - 0x1070]
call fcn.004055a0
lea ecx, [ebp - 0x1088]
call fcn.004055a0
mov byte [ebp - 4], 4
test esi, esi
je 0x419473
mov ecx, dword [ebp - 0x119c]
lea eax, [ebp - 0x11a0]
push eax
push ecx
push esi
call fcn.00417be0
mov ecx, dword [ebp - 0x1198]
mov eax, 0x2aaaaaab
sub ecx, esi
add esp, 0xc
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x419469
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4194da
push ecx
push esi
call fcn.0043e101
add esp, 8
lea ecx, [ebp - 0x1040]
call fcn.004055a0
lea ecx, [ebp - 0x1058]
mov byte [ebp - 4], 0
call fcn.004055a0
mov esi, dword [ebp - 0x11a4]
jmp 0x41949b
mov edi, dword [ebp - 0x11b0]
push 0x51598c
mov ecx, esi
call fcn.00418070
test edi, edi
je 0x4194b2
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043e3a9
mov esp, ebp
pop ebp
ret
call fcn.00409290
call fcn.004d62f9
call fcn.004d62f9
int3