Function at 0x415e90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x507a64
mov eax, dword fs:[0]
push eax
mov eax, 0x11a4
call fcn.0043b340
mov eax, dword [0x551580]
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 0x415ede
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.00409ec0
test eax, eax
jne 0x416415
push 0x1000
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.004cfda0
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 0x41641b
mov eax, dword [ebp - 0x1194]
cmp eax, 1
je 0x415f89
cmp eax, 2
jne 0x41641b
mov eax, dword [ebp - 0x1190]
test eax, eax
je 0x415fae
test al, 1
jne 0x41641b
shr eax, 1
cmp word [ebp + eax*2 - 0x1012], 0
jne 0x41641b
jmp 0x415fb7
xor eax, eax
mov word [ebp - 0x1010], ax
test edi, edi
je 0x415fca
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 0x41641b
push 0
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x110c]
call fcn.004151a0
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.00417120
mov eax, dword [ebp - 0x110c]
lea ecx, [ebp - 0x1108]
cmp eax, ecx
je 0x41603c
push eax
call fcn.004d3264
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.00417120
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.004b4150
add esp, 0xc
lea ecx, [ebp - 0x1028]
mov esi, eax
call fcn.00405230
test esi, esi
je 0x4163f3
mov dword [ebp - 0x11a0], 0
mov dword [ebp - 0x119c], 0
mov dword [ebp - 0x1198], 0
push 0x514570
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.00417120
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.00416a70
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1028]
call fcn.00405230
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 0x416391
push esi
lea ecx, [ebp - 0x1088]
call fcn.00404c40
lea eax, [esi + 0x18]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x1070]
call fcn.00404c40
cmp dword [ebp - 0x1078], 0
je 0x41637b
cmp dword [ebp - 0x1060], 0
je 0x41637b
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.004b4150
add esp, 0xc
test eax, eax
je 0x416370
cmp dword [ebp - 0x1014], 0x10
lea eax, [ebp - 0x1028]
push 0
cmovae eax, dword [ebp - 0x1028]
lea ecx, [ebp - 0x118c]
push eax
call fcn.00414e60
push dword [eax]
lea ecx, [ebp - 0x1190]
mov byte [ebp - 4], 0xb
call fcn.00414fd0
mov eax, dword [ebp - 0x118c]
lea ecx, [ebp - 0x1188]
mov byte [ebp - 4], 0xd
cmp eax, ecx
je 0x416234
push eax
call fcn.004d3264
add esp, 4
test ebx, ebx
je 0x416257
cmp dword [ebp - 0x1194], 3
jb 0x416257
cmp dword [esi + 0x44], 0x10
lea eax, [esi + 0x30]
jb 0x41624c
mov eax, dword [eax]
push eax
call fcn.004d82bb
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 0x41627d
cmp ecx, dword [edi - 0x10]
jne 0x41627d
lea ebx, [edi - 0x10]
lock inc dword [eax]
jmp 0x4162af
mov eax, dword [ecx]
push 2
push dword [edi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x416450
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.004111b0
add esp, 0x10
mov edi, dword [ebp - 0x11a4]
lea eax, [ebx + 0x10]
lea ecx, [ebp - 0x1190]
mov dword [edi], eax
call fcn.0040a140
lea ecx, [ebp - 0x1028]
call fcn.00405230
lea ecx, [ebp - 0x1070]
call fcn.00405230
lea ecx, [ebp - 0x1088]
call fcn.00405230
test esi, esi
je 0x416348
lea ecx, [ebp - 0x11a0]
push ecx
mov ecx, dword [ebp - 0x119c]
push ecx
push esi
call fcn.00414b40
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 0x41633e
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416455
push ecx
push esi
call fcn.0043b077
add esp, 8
lea ecx, [ebp - 0x1040]
call fcn.00405230
lea ecx, [ebp - 0x1058]
call fcn.00405230
lea ecx, [ebp - 0x11b0]
call fcn.00413360
mov eax, edi
jmp 0x416434
lea ecx, [ebp - 0x1028]
call fcn.00405230
lea ecx, [ebp - 0x1070]
call fcn.00405230
lea ecx, [ebp - 0x1088]
call fcn.00405230
mov byte [ebp - 4], 4
test esi, esi
je 0x4163f3
mov ecx, dword [ebp - 0x119c]
lea eax, [ebp - 0x11a0]
push eax
push ecx
push esi
call fcn.00414b40
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 0x4163e9
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41645a
push ecx
push esi
call fcn.0043b077
add esp, 8
lea ecx, [ebp - 0x1040]
call fcn.00405230
lea ecx, [ebp - 0x1058]
mov byte [ebp - 4], 0
call fcn.00405230
mov esi, dword [ebp - 0x11a4]
jmp 0x41641b
mov edi, dword [ebp - 0x11b0]
push 0x5129c0
mov ecx, esi
call fcn.00414fd0
test edi, edi
je 0x416432
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.0043b31f
mov esp, ebp
pop ebp
ret
call fcn.0040ad20
call fcn.004d3209
call fcn.004d3209
int3