Function at 0x45f2d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5527c6
mov eax, dword fs:[0]
push eax
mov eax, 0x11ac
call fcn.004da530
mov eax, dword [0x5c5244]
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 - 0x11b8], esi
mov dword [ebp - 0x11ac], esi
mov dword [ebp - 0x11b0], 0
test ebx, ebx
je 0x45f328
mov dword [ebx], 0
mov dword [ebp - 0x11a8], 0
mov dword [ebp - 0x11a4], 0
mov dword [ebp - 0x11a0], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x11a8]
push 0x20019
push str.SOFTWARELudashi
push SysReAllocString
call fcn.0042e900
test eax, eax
jne 0x45f846
push 0x1000
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.004f39e0
mov edi, dword [ebp - 0x11a8]
lea eax, [ebp - 0x1190]
add esp, 0xc
mov dword [ebp - 0x1190], 0x1000
push eax
lea eax, [ebp - 0x1010]
push eax
lea eax, [ebp - 0x11b4]
push eax
push 0
push str.url0
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45f84c
mov eax, dword [ebp - 0x11b4]
cmp eax, 1
je 0x45f3d3
cmp eax, 2
jne 0x45f84c
mov eax, dword [ebp - 0x1190]
test eax, eax
je 0x45f3f8
test al, 1
jne 0x45f84c
shr eax, 1
cmp word [ebp + eax*2 - 0x1012], 0
jne 0x45f84c
jmp 0x45f401
xor eax, eax
mov word [ebp - 0x1010], ax
test edi, edi
je 0x45f414
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x11a8], edi
cmp word [ebp - 0x1010], 0
mov dword [ebp - 0x11a4], 0
je 0x45f84c
push 0
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x110c]
call fcn.0044c1a0
mov byte [ebp - 4], 2
mov edx, dword [eax]
mov ecx, edx
mov dword [ebp - 0x1048], 0
mov dword [ebp - 0x1044], 0
mov dword [ebp - 0x1048], 0
mov dword [ebp - 0x1044], 0xf
lea esi, [ecx + 1]
mov byte [ebp - 0x1058], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45f480
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x1058]
call fcn.00420e20
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1108]
mov eax, dword [ebp - 0x110c]
cmp eax, ecx
je 0x45f4b3
push eax
call fcn.004fe668
add esp, 4
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 0
mov dword [ebp - 0x1030], 0
mov dword [ebp - 0x102c], 0xf
mov byte [ebp - 0x1040], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1028]
push 0x24
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0
push str.6804FACB_33CC_48a8_99B1_4E2A487F9638
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0xf
mov byte [ebp - 0x1028], 0
call fcn.00420e20
mov byte [ebp - 4], 6
lea eax, [ebp - 0x1040]
push eax
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1058]
push eax
call fcn.004dca70
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1028]
call fcn.00421360
test esi, esi
je 0x45f820
mov dword [ebp - 0x119c], 0
mov dword [ebp - 0x1198], 0
mov dword [ebp - 0x1194], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1028]
push 1
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0
push 0x57428c
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0xf
mov byte [ebp - 0x1028], 0
call fcn.00420e20
mov byte [ebp - 4], 8
lea eax, [ebp - 0x119c]
push eax
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1040]
push eax
call fcn.00460c70
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1028]
call fcn.00421360
mov ecx, dword [ebp - 0x1198]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x119c]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jb 0x45f811
push esi
lea ecx, [ebp - 0x1088]
call fcn.0041ec90
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1070]
mov eax, dword [ebp - 0x119c]
add eax, 0x18
push eax
call fcn.0041ec90
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x1078], 0
je 0x45f7f3
cmp dword [ebp - 0x1060], 0
je 0x45f7f3
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x1014], 0xf
mov byte [ebp - 0x1028], 0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x1088]
push eax
lea eax, [ebp - 0x1070]
push eax
call fcn.004dca70
add esp, 0xc
test eax, eax
je 0x45f7e4
cmp dword [ebp - 0x1014], 0x10
lea eax, [ebp - 0x1028]
push 0
cmovae eax, dword [ebp - 0x1028]
lea ecx, [ebp - 0x118c]
push eax
call fcn.0044bfd0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1190]
push dword [eax]
call fcn.0042b850
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x1188]
mov eax, dword [ebp - 0x118c]
cmp eax, ecx
je 0x45f707
push eax
call fcn.004fe668
add esp, 4
test ebx, ebx
je 0x45f745
mov ecx, dword [ebp - 0x1198]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x119c]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 3
jb 0x45f745
cmp dword [esi + 0x44], 0x10
lea eax, [esi + 0x30]
jb 0x45f73a
mov eax, dword [eax]
push eax
call fcn.00512872
add esp, 4
mov dword [ebx], eax
mov ecx, dword [ebp - 0x11ac]
lea eax, [ebp - 0x1190]
push eax
call fcn.0045a660
mov dword [ebp - 0x11b0], 1
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1190]
call fcn.00427700
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1028]
call fcn.00421360
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1070]
call fcn.00421360
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1088]
call fcn.00421360
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x119c]
call fcn.0045d910
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1040]
call fcn.00421360
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1058]
call fcn.00421360
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x11a8]
call fcn.0042c040
mov eax, dword [ebp - 0x11ac]
jmp 0x45f887
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1028]
call fcn.00421360
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1070]
call fcn.00421360
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1088]
call fcn.00421360
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x119c]
call fcn.0045d910
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1040]
call fcn.00421360
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1058]
call fcn.00421360
mov esi, dword [ebp - 0x11ac]
jmp 0x45f84c
mov edi, dword [ebp - 0x11a8]
push 0x56c9a8
mov ecx, esi
call fcn.0042b850
mov dword [ebp - 0x11b0], 1
mov byte [ebp - 4], 0
test edi, edi
je 0x45f87b
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x11a8], 0
mov dword [ebp - 0x11a4], 0
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.004da3bd
mov esp, ebp
pop ebp
ret