Function at 0x4571a0
Capabilities:
Delete file
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4801d0
mov eax, dword fs:[0]
push eax
mov eax, 0x2164
call fcn.0047a9b0
mov eax, dword [0x49f008]
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 edi, ecx
mov dword [ebp - 0x2100], 0
xor eax, eax
mov dword [ebp - 0x20ec], 0
mov dword [ebp - 0x1e80], 0
mov dword [ebp - 0x1e14], 0
mov dword [ebp - 0x2110], 0
mov dword [ebp - 0x1e34], 0
mov dword [ebp - 0x1e30], 7
mov word [ebp - 0x1e44], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x20f4], eax
mov dword [ebp - 0x20f0], eax
cmp dword [0x4a08dc], eax
jne 0x4572d0
lea eax, [ebp - 0x210c]
push 0x285
push eax
call fcn.004643b0
mov ebx, 0x487d18
mov esi, 1
mov ecx, ebx
mov edx, esi
push 0
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
call fcn.00410e40
add esp, 0xc
push dword [ebp - 0x2104]
call fcn.004634ea
add esp, 4
push dword [ebp - 0x210c]
call fcn.004634ea
add esp, 4
lea eax, [ebp - 0x210c]
push 0x3a8
push eax
call fcn.004643b0
push esi
mov edx, esi
mov eax, dword [eax]
test eax, eax
cmovne ebx, eax
mov ecx, ebx
call fcn.00410e40
add esp, 0xc
push dword [ebp - 0x2104]
call fcn.004634ea
add esp, 4
push dword [ebp - 0x210c]
call fcn.004634ea
add esp, 4
jmp 0x4583db
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
nop
push 0
push 0
push 0xf003f
lea eax, [ebp - 0x20e8]
push eax
push edi
call dword [0x4a08c4]
test eax, eax
je 0x45739b
push 0x64
call ebx
inc esi
cmp esi, 0x14
jl 0x4572e0
lea eax, [ebp - 0x210c]
push 0x285
push eax
call fcn.004643b0
mov ebx, 0x487d18
mov esi, 1
mov ecx, ebx
mov edx, esi
push 0
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
call fcn.00410e40
add esp, 0xc
push dword [ebp - 0x2104]
call fcn.004634ea
add esp, 4
push dword [ebp - 0x210c]
call fcn.004634ea
add esp, 4
lea eax, [ebp - 0x210c]
push 0x3a9
push eax
call fcn.004643b0
push esi
mov edx, esi
mov eax, dword [eax]
test eax, eax
cmovne ebx, eax
mov ecx, ebx
call fcn.00410e40
add esp, 0xc
push dword [ebp - 0x2104]
call fcn.004634ea
add esp, 4
push dword [ebp - 0x210c]
call fcn.004634ea
add esp, 4
jmp 0x4583db
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor eax, eax
cmp byte [0x4a2645], al
push 4
setne al
mov dword [ebp - 0x1e14], eax
lea eax, [ebp - 0x1e14]
push eax
push 4
push 0
push str.AutoConnect
push dword [ebp - 0x20e8]
call ebx
push 4
lea eax, [ebp - 0x1e14]
mov dword [ebp - 0x1e14], 0
push eax
push 4
push 0
push str.ProfileCount
push dword [ebp - 0x20e8]
call ebx
mov eax, dword [0x4a2640]
test eax, eax
je 0x457402
cmp eax, 1
je 0x457402
xor cl, cl
jmp 0x457404
mov cl, 1
test eax, eax
je 0x457414
mov byte [ebp - 0x20f5], 0
cmp eax, 2
jne 0x45741b
mov byte [ebp - 0x20f5], 1
test cl, cl
je 0x457c6d
push 0
mov ecx, 0x285
call fcn.00410f70
add esp, 4
lea eax, [ebp - 0x20ec]
push eax
lea eax, [ebp - 0x1e80]
push eax
push 0
push 2
call dword [0x4a08ac]
mov esi, eax
test esi, esi
je 0x4574bd
lea eax, [ebp - 0x210c]
push 0x3aa
push eax
call fcn.004643b0
mov ecx, 0x487d18
push esi
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
push 0x4a0918
call fcn.0040a5b0
add esp, 0x14
push dword [ebp - 0x2104]
call fcn.004634ea
add esp, 4
push dword [ebp - 0x210c]
call fcn.004634ea
add esp, 4
mov edx, 1
mov ecx, 0x4a0918
push 1
call fcn.00410e40
add esp, 4
push dword [ebp - 0x20e8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4583db
lea eax, [ebp - 0x20f4]
push eax
push 0
push dword [ebp - 0x20ec]
call dword [0x4a08bc]
mov esi, eax
test esi, esi
je 0x457553
lea eax, [ebp - 0x210c]
push 0x3ab
push eax
call fcn.004643b0
mov ecx, 0x487d18
push esi
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
push 0x4a0918
call fcn.0040a5b0
add esp, 0x14
push dword [ebp - 0x2104]
call fcn.004634ea
add esp, 4
push dword [ebp - 0x210c]
call fcn.004634ea
add esp, 4
mov edx, 1
mov ecx, 0x4a0918
push 1
call fcn.00410e40
add esp, 4
push 0
push dword [ebp - 0x20ec]
call dword [0x4a08c0]
push dword [ebp - 0x20e8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4583db
mov ecx, dword [ebp - 0x20f4]
mov dword [ebp - 0x20fc], 0
cmp dword [ecx], 0
jbe 0x457c1f
xor ebx, ebx
mov dword [ebp - 0x2118], ebx
mov edx, dword [ebp - 0x1e44]
lea edi, [ecx + 8]
add edi, ebx
mov dword [ebp - 0x1e34], 0
cmp dword [ebp - 0x1e30], 8
lea eax, [ebp - 0x1e44]
mov dword [ebp - 0x2124], edi
cmovae eax, edx
xor ecx, ecx
mov word [eax], cx
cmp dword [edi + 0x210], 1
jne 0x4575d0
lea eax, [ebp - 0x2160]
push 0x3ad
push eax
call fcn.004643b0
add esp, 8
mov byte [ebp - 4], 1
mov ebx, dword [ebp - 0x2100]
or ebx, 1
jmp 0x4575f4
lea eax, [ebp - 0x2154]
push 0x3ae
push eax
call fcn.004643b0
add esp, 8
mov dword [ebp - 4], 2
mov ebx, dword [ebp - 0x2100]
or ebx, 2
mov eax, dword [eax]
mov esi, 0x487d18
test eax, eax
mov dword [ebp - 0x2100], ebx
push 0x3ac
cmovne esi, eax
lea eax, [ebp - 0x210c]
push eax
call fcn.004643b0
mov ecx, 0x487d18
push esi
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
lea eax, [edi + 0x10]
push eax
push dword [ebp - 0x20fc]
push ecx
push 0x4a0918
call fcn.0040a5b0
add esp, 0x1c
push dword [ebp - 0x2104]
call fcn.004634ea
add esp, 4
push dword [ebp - 0x210c]
call fcn.004634ea
add esp, 4
test bl, 2
je 0x457682
push dword [ebp - 0x214c]
and ebx, 0xfffffffd
mov dword [ebp - 0x2100], ebx
call fcn.004634ea
add esp, 4
push dword [ebp - 0x2154]
call fcn.004634ea
add esp, 4
mov dword [ebp - 4], 0
test bl, 1
je 0x4576b3
push dword [ebp - 0x2158]
and ebx, 0xfffffffe
mov dword [ebp - 0x2100], ebx
call fcn.004634ea
add esp, 4
push dword [ebp - 0x2160]
call fcn.004634ea
add esp, 4
mov ebx, 1
mov ecx, 0x4a0918
push 1
mov edx, ebx
call fcn.00410e40
add esp, 4
cmp dword [edi + 0x210], ebx
jne 0x4577be
lea eax, [ebp - 0x1e84]
mov dword [ebp - 0x20e4], 0
push eax
lea eax, [ebp - 0x20e4]
mov dword [ebp - 0x1e88], 0x25c
push eax
lea eax, [ebp - 0x1e88]
mov dword [ebp - 0x1e84], 3
push eax
push 0
push 7
push edi
push dword [ebp - 0x20ec]
call dword [0x4a08a8]
mov esi, eax
test esi, esi
je 0x457779
lea eax, [ebp - 0x1e68]
push 0x3af
push eax
call fcn.004643b0
mov ecx, 0x487d18
push esi
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
push 0x4a0918
call fcn.0040a5b0
add esp, 0x14
push dword [ebp - 0x1e60]
call fcn.004634ea
add esp, 4
push dword [ebp - 0x1e68]
call fcn.004634ea
add esp, 4
mov edx, ebx
mov ecx, 0x4a0918
push ebx
call fcn.00410e40
add esp, 4
jmp 0x4577a3
mov edx, dword [ebp - 0x20e4]
add edx, 8
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457787
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1e44]
call fcn.00402380
mov eax, dword [ebp - 0x20e4]
test eax, eax
je 0x4577be
push eax
call dword [0x4a08b8]
mov dword [ebp - 0x20e4], 0
lea eax, [ebp - 0x20f0]
push eax
push 0
push edi
push dword [ebp - 0x20ec]
call dword [0x4a08b0]
mov esi, eax
test esi, esi
je 0x45783e
lea eax, [ebp - 0x1e50]
push 0x3b0
push eax
call fcn.004643b0
mov ecx, 0x487d18
push esi
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
push 0x4a0918
call fcn.0040a5b0
add esp, 0x14
push dword [ebp - 0x1e48]
call fcn.004634ea
add esp, 4
push dword [ebp - 0x1e50]
call fcn.004634ea
add esp, 4
mov edx, ebx
mov ecx, 0x4a0918
push 1
call fcn.00410e40
mov eax, dword [ebp - 0x20f0]
add esp, 4
jmp 0x457bf0
mov eax, dword [ebp - 0x20f0]
mov dword [ebp - 0x2120], 0
cmp dword [eax], 0
jbe 0x457bf0
mov ebx, dword [ebp - 0x1e34]
xor edx, edx
mov dword [ebp - 0x211c], edx
mov ecx, dword [ebp - 0x2110]
lea edi, [eax + 8]
xor eax, eax
mov dword [ebp - 0x2114], ecx
add edi, edx
mov dword [ebp - 0x20e0], 0
cmp byte [0x4a2644], al
mov ecx, 4
mov dword [ebp - 0x1e78], 0
cmovne eax, ecx
mov dword [ebp - 0x1e7c], eax
lea eax, [ebp - 0x1e78]
push eax
lea eax, [ebp - 0x1e7c]
push eax
lea eax, [ebp - 0x20e0]
push eax
push 0
push edi
push dword [ebp - 0x2124]
push dword [ebp - 0x20ec]
call dword [0x4a08b4]
mov esi, eax
test esi, esi
je 0x45792f
lea eax, [ebp - 0x1e20]
push 0x3b1
push eax
call fcn.004643b0
push esi
mov ecx, 0x487d18
push edi
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
push 0x4a0918
call fcn.0040a5b0
push dword [ebp - 0x1e18]
call fcn.004634ea
add esp, 0x1c
push dword [ebp - 0x1e20]
call fcn.004634ea
add esp, 4
mov edx, 1
mov ecx, 0x4a0918
push 1
call fcn.00410e40
add esp, 4
jmp 0x457bc3
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457934
sub ecx, edx
lea esi, [ebp - 0x1e44]
sar ecx, 1
cmp dword [ebp - 0x1e30], 8
cmovae esi, dword [ebp - 0x1e44]
cmp ebx, ecx
jne 0x45797a
mov edx, ebx
mov ecx, edi
test edx, edx
je 0x457976
sub esi, edi
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x45797a
add ecx, 2
sub edx, 1
jne 0x457965
mov bl, 1
jmp 0x45797c
xor bl, bl
mov eax, dword [ebp - 0x2110]
inc eax
push eax
mov dword [ebp - 0x2110], eax
lea eax, [ebp - 0xa10]
push str.Profile_03d
push eax
call fcn.0040a5b0
add esp, 0xc
lea eax, [ebp - 0x20dc]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0xa10]
push eax
push dword [ebp - 0x20e8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x457b3a
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
movzx eax, bl
mov dword [ebp - 0x1e14], eax
lea eax, [ebp - 0x1e14]
push eax
push 4
push 0
push str.Connect
push dword [ebp - 0x20dc]
call esi
push 4
lea eax, [ebp - 0x1e14]
mov dword [ebp - 0x1e14], 1
push eax
push 4
push 0
push str.SystemProfile
push dword [ebp - 0x20dc]
call esi
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457a21
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edi
push 1
push 0
push str.Name
push dword [ebp - 0x20dc]
call esi
mov edx, dword [ebp - 0x20e0]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457a55
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.Profile
push dword [ebp - 0x20dc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x20dc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x2130]
push 0x3b4
push eax
call fcn.004643b0
mov esi, 0x487d18
mov ecx, esi
push edi
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
push 0x4a0918
call fcn.0040a5b0
add esp, 0x14
push dword [ebp - 0x2128]
call fcn.004634ea
add esp, 4
push dword [ebp - 0x2130]
call fcn.004634ea
add esp, 4
test bl, bl
je 0x457b8e
push 0x4888d4
push 0x500
push 0x4a0918
call fcn.0046b97c
add esp, 0xc
lea eax, [ebp - 0x213c]
push 0x3ad
push eax
call fcn.004643b0
mov ecx, esi
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
push 0x500
push 0x4a0918
call fcn.0046b97c
add esp, 0x14
push dword [ebp - 0x2134]
call fcn.004634ea
add esp, 4
push dword [ebp - 0x213c]
jmp 0x457b86
mov eax, dword [ebp - 0x2114]
mov dword [ebp - 0x2110], eax
lea eax, [ebp - 0x2148]
push 0x3b2
push eax
call fcn.004643b0
mov ecx, 0x487d18
push edi
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
push 0x4a0918
call fcn.0040a5b0
add esp, 0x14
push dword [ebp - 0x2140]
call fcn.004634ea
add esp, 4
push dword [ebp - 0x2148]
call fcn.004634ea
add esp, 4
push 1
mov edx, 1
mov ecx, 0x4a0918
call fcn.00410e40
mov eax, dword [ebp - 0x20e0]
add esp, 4
test eax, eax
je 0x457bbd
push eax
call dword [0x4a08b8]
mov dword [ebp - 0x20e0], 0
mov ebx, dword [ebp - 0x1e34]
mov ecx, dword [ebp - 0x2120]
mov eax, dword [ebp - 0x20f0]
inc ecx
mov edx, dword [ebp - 0x211c]
add edx, 0x204
mov dword [ebp - 0x2120], ecx
mov dword [ebp - 0x211c], edx
cmp ecx, dword [eax]
jb 0x457865
mov edx, dword [ebp - 0x20fc]
mov ecx, dword [ebp - 0x20f4]
inc edx
mov ebx, dword [ebp - 0x2118]
add ebx, 0x214
mov dword [ebp - 0x20fc], edx
mov dword [ebp - 0x2118], ebx
cmp edx, dword [ecx]
jb 0x457574
jmp 0x457c25
mov eax, dword [ebp - 0x20f0]
test eax, eax
je 0x457c40
push eax
call dword [0x4a08b8]
mov ecx, dword [ebp - 0x20f4]
mov dword [ebp - 0x20f0], 0
test ecx, ecx
je 0x457c55
push ecx
call dword [0x4a08b8]
mov dword [ebp - 0x20f4], 0
cmp dword [ebp - 0x2110], 0
jne 0x457c6d
push 1
mov ecx, 0x3b5
call fcn.00410f70
add esp, 4
xor edi, edi
cmp byte [ebp - 0x20f5], 0
mov dword [ebp - 0x20e4], edi
je 0x45836f
cmp dword [0x4a1fcc], 8
mov eax, 0x4a1fb8
cmovae eax, dword [0x4a1fb8]
push eax
lea eax, [ebp - 0x1e10]
push str._sWi_Fi.xml
push eax
call fcn.0040a5b0
add esp, 0xc
mov ecx, 0x3b3
push edi
call fcn.00410f70
add esp, 4
lea eax, [ebp - 0x20d8]
push eax
lea eax, [ebp - 0x1e10]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x20fc], eax
cmp eax, 0xffffffff
je 0x458360
mov ebx, eax
nop dword [eax]
cmp dword [0x4a1fcc], 8
lea ecx, [ebp - 0x20ac]
push ecx
mov eax, 0x4a1fb8
mov esi, edi
cmovae eax, dword [0x4a1fb8]
push eax
lea eax, [ebp - 0x1e10]
mov dword [ebp - 0x2114], esi
push 0x48859c
push eax
call fcn.0040a5b0
push 5
mov edx, str._WLANProfile
lea ecx, [ebp - 0x1e10]
call fcn.004127f0
add esp, 0x14
test al, al
je 0x45833f
xor eax, eax
mov dword [ebp - 0x1e64], 0
mov dword [ebp - 0x1e60], 7
mov word [ebp - 0x1e74], ax
mov dword [ebp - 0x1e1c], eax
mov dword [ebp - 0x1e18], 7
mov word [ebp - 0x1e2c], ax
push str.r_ccsUTF_8
lea eax, [ebp - 0x1e10]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x20e0]
xor bl, bl
push eax
call fcn.0046b446
add esp, 0xc
test eax, eax
jne 0x458295
mov eax, dword [ebp - 0x20e0]
test eax, eax
je 0x458295
push eax
call fcn.0046be6e
add esp, 4
test eax, eax
jne 0x457fe0
nop dword [eax]
push dword [ebp - 0x20e0]
xor eax, eax
mov word [ebp - 0xa10], ax
lea eax, [ebp - 0xa10]
push 0x500
push eax
call fcn.0046be63
lea eax, [ebp - 0xa10]
add esp, 0xc
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x457de0
sub eax, edx
lea ecx, [ebp - 0x1e74]
sar eax, 1
push eax
lea eax, [ebp - 0xa10]
push eax
call fcn.0040a360
lea eax, [ebp - 0xa10]
push eax
lea eax, [ebp - 0x1410]
push 0x500
push eax
call fcn.0046b918
add esp, 0xc
lea eax, [ebp - 0x1410]
push 0x500
push eax
call fcn.0046c265
add esp, 8
mov dword [ebp - 0x1e4c], 0
xor eax, eax
mov dword [ebp - 0x1e48], 7
lea ecx, [ebp - 0x1410]
mov word [ebp - 0x1e5c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457e57
sub ecx, edx
lea eax, [ebp - 0x1410]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1e5c]
call fcn.00402380
push ecx
push str._connectionmode_auto
lea ecx, [ebp - 0x1e5c]
mov byte [ebp - 4], 5
call fcn.0040a140
cmp eax, 0xffffffff
movzx ebx, bl
mov eax, 1
cmovne ebx, eax
cmp dword [ebp - 0x1e1c], 0
jne 0x457f7a
push ecx
push str._name_
lea ecx, [ebp - 0x1e5c]
call fcn.0040a140
push ecx
push str.__name_
lea ecx, [ebp - 0x1e5c]
mov edi, eax
call fcn.0040a140
mov esi, eax
cmp edi, 0xffffffff
je 0x457f7a
cmp esi, 0xffffffff
je 0x457f7a
lea ecx, [ebp - 0xa10]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x457ef0
sub ecx, edx
lea eax, [ebp - 0xa10]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1e5c]
call fcn.00402380
sub esi, edi
lea eax, [edi + 6]
sub esi, 6
lea ecx, [ebp - 0x1e5c]
push esi
push eax
lea eax, [ebp - 0x216c]
push eax
call fcn.0040a090
push eax
lea ecx, [ebp - 0x1e2c]
call fcn.0040a240
mov edx, dword [ebp - 0x2158]
cmp edx, 8
jb 0x457f7a
mov ecx, dword [ebp - 0x216c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x457f70
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4583f7
push edx
push ecx
call fcn.004632e1
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x1e48]
cmp edx, 8
jb 0x457fbe
mov ecx, dword [ebp - 0x1e5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x457fb4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4583f7
push edx
push ecx
call fcn.004632e1
add esp, 8
push dword [ebp - 0x20e0]
call fcn.0046be6e
add esp, 4
test eax, eax
je 0x457db0
mov esi, dword [ebp - 0x2114]
mov edi, dword [ebp - 0x20e4]
push dword [ebp - 0x20e0]
call fcn.0046b52b
add esp, 4
cmp dword [ebp - 0x1e1c], 0
je 0x458295
lea eax, [ebp - 0x2148]
push 0x121
push eax
call fcn.004643b0
mov ecx, 0x487d18
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x20ac]
push eax
push ecx
push 0x4a0918
call fcn.0040a5b0
add esp, 0x14
push dword [ebp - 0x2140]
call fcn.004634ea
add esp, 4
push dword [ebp - 0x2148]
call fcn.004634ea
add esp, 4
mov edx, 1
mov ecx, 0x4a0918
push 1
call fcn.00410e40
add esp, 4
lea eax, [ebp - 0xa10]
inc edi
mov dword [ebp - 0x20e4], edi
push edi
push str.Profile_03d
push eax
call fcn.0040a5b0
add esp, 0xc
lea eax, [ebp - 0x20dc]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0xa10]
push eax
push dword [ebp - 0x20e8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x45821d
test bl, bl
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
setne al
mov dword [ebp - 0x1e14], eax
lea eax, [ebp - 0x1e14]
push eax
push 4
push 0
push str.Connect
push dword [ebp - 0x20dc]
call ebx
push 4
lea eax, [ebp - 0x1e14]
mov dword [ebp - 0x1e14], 0
push eax
push 4
push 0
push str.SystemProfile
push dword [ebp - 0x20dc]
call ebx
mov esi, dword [ebp - 0x1e18]
lea edx, [ebp - 0x1e2c]
mov edi, dword [ebp - 0x1e2c]
cmp esi, 8
cmovae edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x458114
sub edx, ecx
lea ecx, [ebp - 0x1e2c]
sar edx, 1
cmp esi, 8
cmovae ecx, edi
lea eax, [edx*2 + 2]
push eax
push ecx
push 1
push 0
push str.Name
push dword [ebp - 0x20dc]
call ebx
mov esi, dword [ebp - 0x1e60]
lea edx, [ebp - 0x1e74]
mov edi, dword [ebp - 0x1e74]
cmp esi, 8
cmovae edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x458164
sub edx, ecx
lea ecx, [ebp - 0x1e74]
sar edx, 1
cmp esi, 8
cmovae ecx, edi
lea eax, [edx*2 + 2]
push eax
push ecx
push 1
push 0
push str.Profile
push dword [ebp - 0x20dc]
call ebx
push dword [ebp - 0x20dc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x213c]
push 0x3b4
push eax
call fcn.004643b0
cmp dword [ebp - 0x1e18], 8
lea edx, [ebp - 0x1e2c]
mov ecx, 0x487d18
cmovae edx, dword [ebp - 0x1e2c]
mov eax, dword [eax]
test eax, eax
push edx
cmovne ecx, eax
push ecx
push 0x4a0918
call fcn.0040a5b0
add esp, 0x14
push dword [ebp - 0x2134]
call fcn.004634ea
add esp, 4
push dword [ebp - 0x213c]
call fcn.004634ea
add esp, 4
mov edx, 1
mov ecx, 0x4a0918
push 1
call fcn.00410e40
mov edi, dword [ebp - 0x20e4]
jmp 0x458292
lea eax, [ebp - 0x2130]
mov edi, esi
push 0x3b2
push eax
mov dword [ebp - 0x20e4], edi
call fcn.004643b0
cmp dword [ebp - 0x1e18], 8
lea edx, [ebp - 0x1e2c]
mov ecx, 0x487d18
cmovae edx, dword [ebp - 0x1e2c]
mov eax, dword [eax]
test eax, eax
push edx
cmovne ecx, eax
push ecx
push 0x4a0918
call fcn.0040a5b0
add esp, 0x14
push dword [ebp - 0x2128]
call fcn.004634ea
add esp, 4
push dword [ebp - 0x2130]
call fcn.004634ea
add esp, 4
mov edx, 1
mov ecx, 0x4a0918
push 1
call fcn.00410e40
add esp, 4
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1e18]
cmp edx, 8
jb 0x4582d9
mov ecx, dword [ebp - 0x1e2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4582cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4583f7
push edx
push ecx
call fcn.004632e1
add esp, 8
xor eax, eax
mov dword [ebp - 0x1e1c], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x1e60]
mov dword [ebp - 0x1e18], 7
mov word [ebp - 0x1e2c], ax
cmp edx, 8
jb 0x458339
mov ecx, dword [ebp - 0x1e74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45832f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4583f7
push edx
push ecx
call fcn.004632e1
add esp, 8
mov ebx, dword [ebp - 0x20fc]
lea eax, [ebp - 0x20d8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x457ce0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
jne 0x45836f
push 1
mov ecx, 0x3b5
call fcn.00410f70
add esp, 4
push 4
lea eax, [ebp - 0x1e14]
mov dword [ebp - 0x1e14], edi
push eax
push 4
push 0
push str.ProfileCount
push dword [ebp - 0x20e8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x20e8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x1e30]
cmp eax, 8
jb 0x4583db
mov edx, dword [ebp - 0x1e44]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4583d1
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4583f7
push ecx
push edx
call fcn.004632e1
add esp, 8
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.004632a0
mov esp, ebp
pop ebp
ret
call fcn.0046851b
int3