Function at 0x418f30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ca34
mov eax, dword fs:[0]
push eax
mov eax, 0x11a4
call fcn.00440560
mov eax, dword [0x557460]
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 0x418f7e
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.0040d050
test eax, eax
jne 0x4194b5
push 0x1000
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.004d49e0
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 0x4194bb
mov eax, dword [ebp - 0x1194]
cmp eax, 1
je 0x419029
cmp eax, 2
jne 0x4194bb
mov eax, dword [ebp - 0x1190]
test eax, eax
je 0x41904e
test al, 1
jne 0x4194bb
shr eax, 1
cmp word [ebp + eax*2 - 0x1012], 0
jne 0x4194bb
jmp 0x419057
xor eax, eax
mov word [ebp - 0x1010], ax
test edi, edi
je 0x41906a
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 0x4194bb
push 0
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x110c]
call fcn.00418260
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.0041a1c0
mov eax, dword [ebp - 0x110c]
lea ecx, [ebp - 0x1108]
cmp eax, ecx
je 0x4190dc
push eax
call fcn.004d7ea4
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.0041a1c0
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.004b92a0
add esp, 0xc
lea ecx, [ebp - 0x1028]
mov esi, eax
call fcn.004055b0
test esi, esi
je 0x419493
mov dword [ebp - 0x11a0], 0
mov dword [ebp - 0x119c], 0
mov dword [ebp - 0x1198], 0
push 0x518e08
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.0041a1c0
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.00419b10
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1028]
call fcn.004055b0
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 0x419431
push esi
lea ecx, [ebp - 0x1088]
call fcn.00404fa0
lea eax, [esi + 0x18]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x1070]
call fcn.00404fa0
cmp dword [ebp - 0x1078], 0
je 0x41941b
cmp dword [ebp - 0x1060], 0
je 0x41941b
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.004b92a0
add esp, 0xc
test eax, eax
je 0x419410
cmp dword [ebp - 0x1014], 0x10
lea eax, [ebp - 0x1028]
push 0
cmovae eax, dword [ebp - 0x1028]
lea ecx, [ebp - 0x118c]
push eax
call fcn.00417f20
push dword [eax]
lea ecx, [ebp - 0x1190]
mov byte [ebp - 4], 0xb
call fcn.00418090
mov eax, dword [ebp - 0x118c]
lea ecx, [ebp - 0x1188]
mov byte [ebp - 4], 0xd
cmp eax, ecx
je 0x4192d4
push eax
call fcn.004d7ea4
add esp, 4
test ebx, ebx
je 0x4192f7
cmp dword [ebp - 0x1194], 3
jb 0x4192f7
cmp dword [esi + 0x44], 0x10
lea eax, [esi + 0x30]
jb 0x4192ec
mov eax, dword [eax]
push eax
call fcn.004dcefb
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 0x41931d
cmp ecx, dword [edi - 0x10]
jne 0x41931d
lea ebx, [edi - 0x10]
lock inc dword [eax]
jmp 0x41934f
mov eax, dword [ecx]
push 2
push dword [edi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x4194f0
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.0040a020
add esp, 0x10
mov edi, dword [ebp - 0x11a4]
lea eax, [ebx + 0x10]
lea ecx, [ebp - 0x1190]
mov dword [edi], eax
call fcn.0040a4c0
lea ecx, [ebp - 0x1028]
call fcn.004055b0
lea ecx, [ebp - 0x1070]
call fcn.004055b0
lea ecx, [ebp - 0x1088]
call fcn.004055b0
test esi, esi
je 0x4193e8
lea ecx, [ebp - 0x11a0]
push ecx
mov ecx, dword [ebp - 0x119c]
push ecx
push esi
call fcn.00417c00
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 0x4193de
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4194f5
push ecx
push esi
call fcn.00440184
add esp, 8
lea ecx, [ebp - 0x1040]
call fcn.004055b0
lea ecx, [ebp - 0x1058]
call fcn.004055b0
lea ecx, [ebp - 0x11b0]
call fcn.00416420
mov eax, edi
jmp 0x4194d4
lea ecx, [ebp - 0x1028]
call fcn.004055b0
lea ecx, [ebp - 0x1070]
call fcn.004055b0
lea ecx, [ebp - 0x1088]
call fcn.004055b0
mov byte [ebp - 4], 4
test esi, esi
je 0x419493
mov ecx, dword [ebp - 0x119c]
lea eax, [ebp - 0x11a0]
push eax
push ecx
push esi
call fcn.00417c00
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 0x419489
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4194fa
push ecx
push esi
call fcn.00440184
add esp, 8
lea ecx, [ebp - 0x1040]
call fcn.004055b0
lea ecx, [ebp - 0x1058]
mov byte [ebp - 4], 0
call fcn.004055b0
mov esi, dword [ebp - 0x11a4]
jmp 0x4194bb
mov edi, dword [ebp - 0x11b0]
push 0x5179ac
mov ecx, esi
call fcn.00418090
test edi, edi
je 0x4194d2
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.0044042c
mov esp, ebp
pop ebp
ret
call fcn.004092a0
call fcn.004d7e49
call fcn.004d7e49
int3