Function at 0x45f310
Capabilities:
Delete file
Enumerate files on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489cd0
mov eax, dword fs:[0]
push eax
mov eax, 0x215c
call fcn.004839d0
mov eax, dword [0x4ab00c]
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 - 0x20f8], 0
xor eax, eax
mov dword [ebp - 0x20e8], 0
mov dword [ebp - 0x1e68], 0
mov dword [ebp - 0x1e14], 0
mov dword [ebp - 0x2110], 0
mov dword [ebp - 0x1e78], 0
mov dword [ebp - 0x1e74], 7
mov word [ebp - 0x1e88], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x20f0], eax
mov dword [ebp - 0x20ec], eax
cmp dword [0x4ac9a0], eax
jne 0x45f442
lea eax, [ebp - 0x210c]
push 0x285
push eax
call fcn.0046cd70
mov ebx, 0x491dd8
mov edx, 1
mov ecx, ebx
push 0
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
call fcn.00411390
add esp, 0xc
push dword [ebp - 0x2104]
call fcn.0046bc3a
add esp, 4
push dword [ebp - 0x210c]
call fcn.0046bc3a
add esp, 4
push 0x3a8
lea eax, [ebp - 0x210c]
push eax
call fcn.0046cd70
push 1
mov edx, 1
mov eax, dword [eax]
test eax, eax
cmovne ebx, eax
mov ecx, ebx
call fcn.00411390
add esp, 0xc
push dword [ebp - 0x2104]
call fcn.0046bc3a
add esp, 4
push dword [ebp - 0x210c]
call fcn.0046bc3a
add esp, 4
jmp 0x4604c2
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
push 0
push 0
push 0xf003f
lea eax, [ebp - 0x20e4]
push eax
push edi
call dword [0x4ac980]
test eax, eax
je 0x45f4ca
push 0x64
call ebx
inc esi
cmp esi, 0x14
jl 0x45f451
lea eax, [ebp - 0x210c]
push 0x285
push eax
call fcn.0046cd70
mov ebx, 0x491dd8
mov edx, 1
mov ecx, ebx
push 0
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
call fcn.00411390
add esp, 0xc
push dword [ebp - 0x2104]
call fcn.0046bc3a
add esp, 4
push dword [ebp - 0x210c]
call fcn.0046bc3a
add esp, 4
push 0x3a9
jmp 0x45f3fd
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor eax, eax
cmp byte [0x4ae705], 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 - 0x20e4]
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 - 0x20e4]
call ebx
mov eax, dword [0x4ae700]
test eax, eax
je 0x45f531
cmp eax, 1
je 0x45f531
xor cl, cl
jmp 0x45f533
mov cl, 1
test eax, eax
je 0x45f543
mov byte [ebp - 0x20f9], 0
cmp eax, 2
jne 0x45f54a
mov byte [ebp - 0x20f9], 1
mov edi, 1
test cl, cl
je 0x45fd44
push 0
mov ecx, 0x285
call fcn.004114c0
add esp, 4
lea eax, [ebp - 0x20e8]
push eax
lea eax, [ebp - 0x1e68]
push eax
push 0
push 2
call dword [0x4ac968]
mov esi, eax
test esi, esi
je 0x45f5ed
lea eax, [ebp - 0x210c]
push 0x3aa
push eax
call fcn.0046cd70
mov ecx, 0x491dd8
push esi
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
push 0x4ac9d8
call fcn.0040a9b0
add esp, 0x14
push dword [ebp - 0x2104]
call fcn.0046bc3a
add esp, 4
push dword [ebp - 0x210c]
call fcn.0046bc3a
add esp, 4
mov edx, edi
mov ecx, 0x4ac9d8
push edi
call fcn.00411390
add esp, 4
push dword [ebp - 0x20e4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4604c2
lea eax, [ebp - 0x20f0]
push eax
push 0
push dword [ebp - 0x20e8]
call dword [0x4ac978]
mov esi, eax
test esi, esi
je 0x45f680
lea eax, [ebp - 0x210c]
push 0x3ab
push eax
call fcn.0046cd70
mov ecx, 0x491dd8
push esi
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
push 0x4ac9d8
call fcn.0040a9b0
add esp, 0x14
push dword [ebp - 0x2104]
call fcn.0046bc3a
add esp, 4
push dword [ebp - 0x210c]
call fcn.0046bc3a
add esp, 4
mov edx, edi
mov ecx, 0x4ac9d8
push 1
call fcn.00411390
add esp, 4
push 0
push dword [ebp - 0x20e8]
call dword [0x4ac97c]
push dword [ebp - 0x20e4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4604c2
mov eax, dword [ebp - 0x20f0]
mov dword [ebp - 0x2100], 0
cmp dword [eax], 0
jbe 0x45fcf6
xor ebx, ebx
mov dword [ebp - 0x2118], ebx
lea edi, [eax + 8]
mov dword [ebp - 0x1e78], 0
add edi, ebx
lea eax, [ebp - 0x1e88]
cmp dword [ebp - 0x1e74], 8
mov dword [ebp - 0x2114], edi
cmovae eax, dword [ebp - 0x1e88]
xor ecx, ecx
mov word [eax], cx
cmp dword [edi + 0x210], 1
jne 0x45f6fb
lea eax, [ebp - 0x2158]
push 0x3ad
push eax
call fcn.0046cd70
add esp, 8
mov byte [ebp - 4], 1
mov ebx, dword [ebp - 0x20f8]
or ebx, 1
jmp 0x45f71f
lea eax, [ebp - 0x214c]
push 0x3ae
push eax
call fcn.0046cd70
add esp, 8
mov dword [ebp - 4], 2
mov ebx, dword [ebp - 0x20f8]
or ebx, 2
mov eax, dword [eax]
mov esi, 0x491dd8
test eax, eax
mov dword [ebp - 0x20f8], ebx
push 0x3ac
cmovne esi, eax
lea eax, [ebp - 0x210c]
push eax
call fcn.0046cd70
mov ecx, 0x491dd8
push esi
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
lea eax, [edi + 0x10]
push eax
push dword [ebp - 0x2100]
push ecx
push 0x4ac9d8
call fcn.0040a9b0
add esp, 0x1c
push dword [ebp - 0x2104]
call fcn.0046bc3a
add esp, 4
push dword [ebp - 0x210c]
call fcn.0046bc3a
add esp, 4
test bl, 2
je 0x45f7ad
push dword [ebp - 0x2144]
and ebx, 0xfffffffd
mov dword [ebp - 0x20f8], ebx
call fcn.0046bc3a
add esp, 4
push dword [ebp - 0x214c]
call fcn.0046bc3a
add esp, 4
mov dword [ebp - 4], 0
test bl, 1
je 0x45f7de
push dword [ebp - 0x2150]
and ebx, 0xfffffffe
mov dword [ebp - 0x20f8], ebx
call fcn.0046bc3a
add esp, 4
push dword [ebp - 0x2158]
call fcn.0046bc3a
add esp, 4
push 1
mov edx, 1
mov ecx, 0x4ac9d8
call fcn.00411390
add esp, 4
cmp dword [edi + 0x210], 1
jne 0x45f8ec
lea eax, [ebp - 0x1e6c]
mov dword [ebp - 0x20f4], 0
push eax
lea eax, [ebp - 0x20f4]
mov dword [ebp - 0x1e70], 0x25c
push eax
lea eax, [ebp - 0x1e70]
mov dword [ebp - 0x1e6c], 3
push eax
push 0
push 7
push edi
push dword [ebp - 0x20e8]
call dword [0x4ac964]
mov esi, eax
test esi, esi
je 0x45f8a7
lea eax, [ebp - 0x1e50]
push 0x3af
push eax
call fcn.0046cd70
mov ecx, 0x491dd8
push esi
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
push 0x4ac9d8
call fcn.0040a9b0
add esp, 0x14
push dword [ebp - 0x1e48]
call fcn.0046bc3a
add esp, 4
push dword [ebp - 0x1e50]
call fcn.0046bc3a
add esp, 4
mov edx, 1
mov ecx, 0x4ac9d8
push 1
call fcn.00411390
add esp, 4
jmp 0x45f8d1
mov edx, dword [ebp - 0x20f4]
add edx, 8
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45f8b5
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1e88]
call fcn.00402430
mov eax, dword [ebp - 0x20f4]
test eax, eax
je 0x45f8ec
push eax
call dword [0x4ac974]
mov dword [ebp - 0x20f4], 0
lea eax, [ebp - 0x20ec]
push eax
push 0
push edi
push dword [ebp - 0x20e8]
call dword [0x4ac96c]
mov esi, eax
test esi, esi
je 0x45f971
lea eax, [ebp - 0x1e38]
push 0x3b0
push eax
call fcn.0046cd70
mov ecx, 0x491dd8
push esi
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
push 0x4ac9d8
call fcn.0040a9b0
add esp, 0x14
push dword [ebp - 0x1e30]
call fcn.0046bc3a
add esp, 4
push dword [ebp - 0x1e38]
call fcn.0046bc3a
add esp, 4
mov edi, 1
mov edx, edi
mov ecx, 0x4ac9d8
push 1
call fcn.00411390
mov ecx, dword [ebp - 0x20ec]
add esp, 4
jmp 0x45fcc7
mov ecx, dword [ebp - 0x20ec]
xor ebx, ebx
cmp dword [ecx], ebx
jbe 0x45fcc2
mov eax, dword [ebp - 0x2110]
lea esi, [ecx + 8]
mov dword [ebp - 0x211c], eax
mov ecx, 4
imul eax, ebx, 0x204
mov dword [ebp - 0x20e0], 0
mov dword [ebp - 0x1e60], 0
add esi, eax
xor eax, eax
cmp byte [0x4ae704], al
cmovne eax, ecx
mov dword [ebp - 0x1e64], eax
lea eax, [ebp - 0x1e60]
push eax
lea eax, [ebp - 0x1e64]
push eax
lea eax, [ebp - 0x20e0]
push eax
push 0
push esi
push edi
push dword [ebp - 0x20e8]
call dword [0x4ac970]
mov edi, eax
test edi, edi
je 0x45fa4c
lea eax, [ebp - 0x1e20]
push 0x3b1
push eax
call fcn.0046cd70
push edi
mov ecx, 0x491dd8
push esi
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
push 0x4ac9d8
call fcn.0040a9b0
push dword [ebp - 0x1e18]
call fcn.0046bc3a
add esp, 0x1c
push dword [ebp - 0x1e20]
call fcn.0046bc3a
add esp, 4
mov edx, 1
mov ecx, 0x4ac9d8
push 1
call fcn.00411390
add esp, 4
jmp 0x45fcad
push esi
lea ecx, [ebp - 0x1e88]
call fcn.0046a700
mov byte [ebp - 0x20fa], al
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.0040a9b0
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 - 0x20e4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x45fc2a
movzx eax, byte [ebp - 0x20fa]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
mov dword [ebp - 0x1e14], eax
lea eax, [ebp - 0x1e14]
push eax
push 4
push 0
push str.Connect
push dword [ebp - 0x20dc]
call edi
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 edi
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45fb07
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push str.Name
push dword [ebp - 0x20dc]
call edi
mov edx, dword [ebp - 0x20e0]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45fb40
sub ecx, edi
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 - 0x2128]
push 0x3b4
push eax
call fcn.0046cd70
mov edi, 0x491dd8
mov ecx, edi
push esi
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
push 0x4ac9d8
call fcn.0040a9b0
add esp, 0x14
push dword [ebp - 0x2120]
call fcn.0046bc3a
add esp, 4
push dword [ebp - 0x2128]
call fcn.0046bc3a
add esp, 4
cmp byte [ebp - 0x20fa], 0
je 0x45fc7e
push 0x4929ac
push 0x500
push 0x4ac9d8
call fcn.00474974
add esp, 0xc
lea eax, [ebp - 0x2134]
push 0x3ad
push eax
call fcn.0046cd70
mov ecx, edi
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
push 0x500
push 0x4ac9d8
call fcn.00474974
add esp, 0x14
push dword [ebp - 0x212c]
call fcn.0046bc3a
add esp, 4
push dword [ebp - 0x2134]
jmp 0x45fc76
mov eax, dword [ebp - 0x211c]
mov dword [ebp - 0x2110], eax
lea eax, [ebp - 0x2140]
push 0x3b2
push eax
call fcn.0046cd70
mov ecx, 0x491dd8
push esi
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
push 0x4ac9d8
call fcn.0040a9b0
add esp, 0x14
push dword [ebp - 0x2138]
call fcn.0046bc3a
add esp, 4
push dword [ebp - 0x2140]
call fcn.0046bc3a
add esp, 4
push 1
mov edx, 1
mov ecx, 0x4ac9d8
call fcn.00411390
mov eax, dword [ebp - 0x20e0]
add esp, 4
test eax, eax
je 0x45fcad
push eax
call dword [0x4ac974]
mov dword [ebp - 0x20e0], 0
mov ecx, dword [ebp - 0x20ec]
inc ebx
mov edi, dword [ebp - 0x2114]
cmp ebx, dword [ecx]
jb 0x45f981
mov edi, 1
mov edx, dword [ebp - 0x2100]
mov eax, dword [ebp - 0x20f0]
inc edx
mov ebx, dword [ebp - 0x2118]
add ebx, 0x214
mov dword [ebp - 0x2100], edx
mov dword [ebp - 0x2118], ebx
cmp edx, dword [eax]
jb 0x45f6a1
jmp 0x45fcfc
mov ecx, dword [ebp - 0x20ec]
test ecx, ecx
je 0x45fd17
push ecx
call dword [0x4ac974]
mov eax, dword [ebp - 0x20f0]
mov dword [ebp - 0x20ec], 0
test eax, eax
je 0x45fd2c
push eax
call dword [0x4ac974]
mov dword [ebp - 0x20f0], 0
cmp dword [ebp - 0x2110], 0
jne 0x45fd44
push 1
mov ecx, 0x3b5
call fcn.004114c0
add esp, 4
xor ebx, ebx
mov dword [ebp - 0x20f8], ebx
cmp byte [ebp - 0x20f9], bl
je 0x4603ca
cmp dword [0x4ae084], 8
mov eax, 0x4ae070
cmovae eax, dword [0x4ae070]
push eax
lea eax, [ebp - 0x1e10]
push str._sWi_Fi.xml
push eax
call fcn.0040a9b0
add esp, 0xc
mov ecx, 0x3b3
push ebx
call fcn.004114c0
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 - 0x2100], eax
cmp eax, 0xffffffff
je 0x4603bb
mov esi, eax
nop dword [eax]
nop word [eax + eax]
cmp dword [0x4ae084], 8
lea ecx, [ebp - 0x20ac]
push ecx
mov eax, 0x4ae070
mov dword [ebp - 0x2114], ebx
cmovae eax, dword [0x4ae070]
push eax
lea eax, [ebp - 0x1e10]
push 0x492674
push eax
call fcn.0040a9b0
push 5
mov edx, str._WLANProfile
lea ecx, [ebp - 0x1e10]
call fcn.00412d30
add esp, 0x14
test al, al
je 0x46039a
xor eax, eax
mov dword [ebp - 0x1e4c], 0
mov dword [ebp - 0x1e48], 7
mov word [ebp - 0x1e5c], 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.0047443e
add esp, 0xc
test eax, eax
jne 0x4602ea
mov eax, dword [ebp - 0x20e0]
test eax, eax
je 0x4602ea
push eax
call fcn.00474e66
add esp, 4
test eax, eax
jne 0x4600ae
nop dword [eax + eax]
push dword [ebp - 0x20e0]
xor eax, eax
mov word [ebp - 0xa10], ax
lea eax, [ebp - 0xa10]
push 0x500
push eax
call fcn.00474e5b
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 0x45fec0
sub eax, edx
lea ecx, [ebp - 0x1e5c]
sar eax, 1
push eax
lea eax, [ebp - 0xa10]
push eax
call fcn.0040a760
lea eax, [ebp - 0xa10]
push eax
lea eax, [ebp - 0x1410]
push 0x500
push eax
call fcn.00474910
add esp, 0xc
lea eax, [ebp - 0x1410]
push 0x500
push eax
call fcn.0047525d
add esp, 8
mov dword [ebp - 0x1e34], 0
xor eax, eax
mov dword [ebp - 0x1e30], 7
lea ecx, [ebp - 0x1410]
mov word [ebp - 0x1e44], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ff37
sub ecx, edx
lea eax, [ebp - 0x1410]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1e44]
call fcn.00402430
push ecx
push str._connectionmode_auto
lea ecx, [ebp - 0x1e44]
mov byte [ebp - 4], 5
call fcn.0040a4e0
cmp eax, 0xffffffff
movzx ebx, bl
cmovne ebx, edi
cmp dword [ebp - 0x1e1c], 0
jne 0x460054
push ecx
push str._name_
lea ecx, [ebp - 0x1e44]
call fcn.0040a4e0
push ecx
push str.__name_
lea ecx, [ebp - 0x1e44]
mov edi, eax
call fcn.0040a4e0
mov esi, eax
cmp edi, 0xffffffff
je 0x46004f
cmp esi, 0xffffffff
je 0x46004f
lea ecx, [ebp - 0xa10]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ffc5
sub ecx, edx
lea eax, [ebp - 0xa10]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1e44]
call fcn.00402430
sub esi, edi
lea eax, [edi + 6]
sub esi, 6
lea ecx, [ebp - 0x1e44]
push esi
push eax
lea eax, [ebp - 0x2164]
push eax
call fcn.0040a430
push eax
lea ecx, [ebp - 0x1e2c]
call fcn.0040a5e0
mov edx, dword [ebp - 0x2150]
cmp edx, 8
jb 0x46004f
mov ecx, dword [ebp - 0x2164]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460045
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4604de
push edx
push ecx
call fcn.0046ba31
add esp, 8
mov edi, 1
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x1e30]
cmp edx, 8
jb 0x460098
mov ecx, dword [ebp - 0x1e44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46008e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4604de
push edx
push ecx
call fcn.0046ba31
add esp, 8
push dword [ebp - 0x20e0]
call fcn.00474e66
add esp, 4
test eax, eax
je 0x45fe90
push dword [ebp - 0x20e0]
call fcn.00474523
add esp, 4
cmp dword [ebp - 0x1e1c], 0
je 0x4602ea
lea eax, [ebp - 0x2140]
push 0x121
push eax
call fcn.0046cd70
mov esi, 0x491dd8
mov ecx, esi
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x20ac]
push eax
push ecx
push 0x4ac9d8
call fcn.0040a9b0
add esp, 0x14
push dword [ebp - 0x2138]
call fcn.0046bc3a
add esp, 4
push dword [ebp - 0x2140]
call fcn.0046bc3a
add esp, 4
mov edx, edi
mov ecx, 0x4ac9d8
push 1
call fcn.00411390
mov eax, dword [ebp - 0x20f8]
add esp, 4
inc eax
mov dword [ebp - 0x20f8], eax
push eax
lea eax, [ebp - 0xa10]
push str.Profile_03d
push eax
call fcn.0040a9b0
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 - 0x20e4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x46043d
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 0x4601e7
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 - 0x1e48]
lea edx, [ebp - 0x1e5c]
mov edi, dword [ebp - 0x1e5c]
cmp esi, 8
cmovae edx, edi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x460237
sub edx, ecx
lea ecx, [ebp - 0x1e5c]
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 - 0x2134]
push 0x3b4
push eax
call fcn.0046cd70
cmp dword [ebp - 0x1e18], 8
lea edx, [ebp - 0x1e2c]
mov ecx, 0x491dd8
cmovae edx, dword [ebp - 0x1e2c]
mov eax, dword [eax]
test eax, eax
push edx
cmovne ecx, eax
push ecx
push 0x4ac9d8
call fcn.0040a9b0
add esp, 0x14
push dword [ebp - 0x212c]
call fcn.0046bc3a
add esp, 4
push dword [ebp - 0x2134]
call fcn.0046bc3a
add esp, 4
mov edi, 1
mov edx, edi
mov ecx, 0x4ac9d8
push 1
call fcn.00411390
add esp, 4
mov ebx, dword [ebp - 0x20f8]
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1e18]
cmp edx, 8
jb 0x460334
mov ecx, dword [ebp - 0x1e2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46032a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4604de
push edx
push ecx
call fcn.0046ba31
add esp, 8
xor eax, eax
mov dword [ebp - 0x1e1c], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x1e48]
mov dword [ebp - 0x1e18], 7
mov word [ebp - 0x1e2c], ax
cmp edx, 8
jb 0x460394
mov ecx, dword [ebp - 0x1e5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46038a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4604de
push edx
push ecx
call fcn.0046ba31
add esp, 8
mov esi, dword [ebp - 0x2100]
lea eax, [ebp - 0x20d8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45fdc0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
test ebx, ebx
jne 0x4603ca
push 1
mov ecx, 0x3b5
call fcn.004114c0
add esp, 4
push 4
lea eax, [ebp - 0x1e14]
mov dword [ebp - 0x1e14], ebx
push eax
push 4
push 0
push str.ProfileCount
push dword [ebp - 0x20e4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x20e4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x1e74]
cmp edx, 8
jb 0x4604c2
mov ecx, dword [ebp - 0x1e88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4604b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4604de
jmp 0x4604b8
mov ebx, dword [ebp - 0x2114]
lea eax, [ebp - 0x2128]
push 0x3b2
push eax
mov dword [ebp - 0x20f8], ebx
call fcn.0046cd70
cmp dword [ebp - 0x1e18], 8
lea edx, [ebp - 0x1e2c]
mov ecx, esi
cmovae edx, dword [ebp - 0x1e2c]
mov eax, dword [eax]
test eax, eax
push edx
cmovne ecx, eax
push ecx
push 0x4ac9d8
call fcn.0040a9b0
add esp, 0x14
push dword [ebp - 0x2120]
call fcn.0046bc3a
add esp, 4
push dword [ebp - 0x2128]
call fcn.0046bc3a
add esp, 4
mov edx, edi
mov ecx, 0x4ac9d8
push 1
call fcn.00411390
add esp, 4
jmp 0x4602f0
push edx
push ecx
call fcn.0046ba31
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.0046b9f0
mov esp, ebp
pop ebp
ret
call fcn.00471513
int3