Function at 0x418730
Capabilities:
Connect network resource
Enumerate disk volumes
Get disk information
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e1d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x584
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
push ebx
push esi
push edi
mov esi, dword [eax]
mov ecx, esi
mov dword [ebp - 0x10], esp
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0x24], 0
lea edi, [ecx + 2]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418780
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00401e30
lea ecx, [ebp - 0xec]
call fcn.0041d710
mov esi, eax
add esp, 0x18
cmp esi, 0x450a2c
je 0x418834
mov edx, dword [0x450a40]
cmp edx, 8
jb 0x4187f4
mov ecx, dword [0x450a2c]
lea edx, [edx*2 + 2]
cmp edx, 0x1000
jb 0x4187ea
mov edi, dword [ecx - 4]
add edx, 0x23
sub ecx, edi
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x419ac1
mov ecx, edi
push edx
push ecx
call fcn.004209ec
add esp, 8
mov dword [0x450a3c], 0
xor eax, eax
mov dword [0x450a40], 7
mov word [0x450a2c], ax
movups xmm0, xmmword [esi]
movups xmmword [0x450a2c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [0x450a3c], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov ecx, dword [ebp - 0xd8]
cmp ecx, 8
jb 0x418874
mov edx, dword [ebp - 0xec]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41886a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419ac1
push ecx
push edx
call fcn.004209ec
add esp, 8
xorps xmm0, xmm0
mov byte [ebp - 0x12], 0
movups xmmword [ebp - 0xb8], xmm0
mov byte [ebp - 0x13], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
mov dword [ebp - 4], 0
mov edi, 7
xor eax, eax
mov byte [ebp - 0x1d], 0
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], edi
mov word [ebp - 0xd0], ax
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], eax
cmp dword [ebp + 8], eax
jle 0x418c59
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov edx, dword [ecx + eax*4]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418901
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x70]
call fcn.00401e30
mov byte [ebp - 4], 2
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
mov edi, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x60]
setae dl
cmovae eax, edi
mov byte [ebp - 0x11], dl
cmp ecx, 8
jne 0x41896b
mov edx, str._network
mov esi, ecx
sub eax, edx
mov dword [ebp - 0x1c], eax
movzx ecx, word [eax + edx]
movzx eax, word [edx]
cmp cx, ax
jne 0x418965
mov eax, dword [ebp - 0x1c]
add edx, 2
sub esi, 1
jne 0x418945
mov byte [ebp - 0x12], 1
jmp 0x418c08
mov ecx, dword [ebp - 0x60]
mov dl, byte [ebp - 0x11]
test dl, dl
lea eax, [ebp - 0x70]
cmovne eax, edi
cmp ecx, 8
jb 0x418b26
mov edx, str._shares
mov esi, 8
sub eax, edx
mov dword [ebp - 0x1c], eax
nop dword [eax + eax]
movzx ecx, word [eax + edx]
movzx eax, word [edx]
cmp cx, ax
jne 0x418b20
mov eax, dword [ebp - 0x1c]
add edx, 2
sub esi, 1
jne 0x418990
mov eax, dword [ebp - 0x60]
or ecx, 0xffffffff
add eax, 0xfffffff8
mov byte [ebp - 0x13], 1
cmp eax, 0xffffffff
mov dword [ebp - 0x48], 0
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
cmovb ecx, eax
lea eax, [ebp - 0x70]
cmp byte [ebp - 0x11], 0
push ecx
cmovne eax, edi
lea ecx, [ebp - 0x58]
add eax, 0x10
push eax
movups xmmword [ebp - 0x58], xmm0
call fcn.00401e30
or dword [ebp - 0x24], 8
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x88]
call fcn.0041dc90
mov esi, eax
lea eax, [ebp - 0xb8]
cmp eax, esi
je 0x418a8d
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0x10
jb 0x418a4a
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418a40
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419ac1
push ecx
push edx
call fcn.004209ec
add esp, 8
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0xf
mov byte [ebp - 0xb8], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0xb8], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0xa8], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x74]
cmp ecx, 0x10
jb 0x418ac4
mov edx, dword [ebp - 0x88]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x418aba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419ac1
push ecx
push edx
call fcn.004209ec
add esp, 8
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
cmp ecx, 8
jb 0x418c05
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418b11
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419ac1
push ecx
push edx
call fcn.004209ec
add esp, 8
jmp 0x418c05
mov ecx, dword [ebp - 0x60]
mov dl, byte [ebp - 0x11]
test dl, dl
lea eax, [ebp - 0x70]
cmovne eax, edi
cmp ecx, 6
jb 0x418c08
mov edx, str._path
mov esi, 6
sub eax, edx
mov dword [ebp - 0x1c], eax
movzx ecx, word [edx + eax]
movzx eax, word [edx]
cmp cx, ax
jne 0x418c08
mov eax, dword [ebp - 0x1c]
add edx, 2
sub esi, 1
jne 0x418b46
mov eax, dword [ebp - 0x60]
or ecx, 0xffffffff
add eax, 0xfffffffa
mov byte [ebp - 0x1d], 1
cmp eax, 0xffffffff
mov dword [ebp - 0x78], 0
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0
cmovb ecx, eax
lea eax, [ebp - 0x70]
cmp byte [ebp - 0x11], 0
push ecx
cmovne eax, edi
lea ecx, [ebp - 0x88]
add eax, 0xc
push eax
movups xmmword [ebp - 0x88], xmm0
call fcn.00401e30
or dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0xbc]
cmp eax, 8
jb 0x418bea
mov edx, dword [ebp - 0xd0]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x418be0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419ac1
push ecx
push edx
call fcn.004209ec
add esp, 8
movups xmm0, xmmword [ebp - 0x88]
movups xmmword [ebp - 0xd0], xmm0
movq xmm0, qword [ebp - 0x78]
movq qword [ebp - 0xc0], xmm0
mov edi, dword [ebp - 0x70]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x418c43
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x418c39
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419ac1
push ecx
push edi
call fcn.004209ec
add esp, 8
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp + 8]
jl 0x4188e1
mov edi, dword [ebp - 0xbc]
push 0x417af0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.0041ad50
mov esi, eax
mov byte [ebp - 4], 5
cmp dword [esi + 4], 0
je 0x419ac6
push dword [esi + 4]
push dword [esi]
call fcn.0041fc40
add esp, 8
test eax, eax
jne 0x419acd
lea ecx, [ebp - 0x40]
mov dword [esi], eax
mov dword [esi + 4], eax
mov byte [ebp - 4], 4
call fcn.00414310
call fcn.00404a30
test al, al
je 0x4199d1
cmp byte [0x45748d], 0
je 0x418cc5
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.00415d80
push 0x416050
lea ecx, [ebp - 0x40]
call fcn.0041ad50
mov esi, eax
mov byte [ebp - 4], 6
cmp dword [esi + 4], 0
je 0x419ad4
push dword [esi + 4]
push dword [esi]
call fcn.0041fc40
add esp, 8
test eax, eax
jne 0x419adb
lea ecx, [ebp - 0x40]
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.00414310
xor eax, eax
mov dword [ebp - 0x30], 0
xor edi, edi
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 7
cmp byte [ebp - 0x12], al
jne 0x418e52
cmp byte [0x457484], al
je 0x418d62
push 0x418700
lea ecx, [ebp - 0x40]
call fcn.0041ad50
push eax
push edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
call fcn.0041bc90
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.00414310
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov dword [ebp + 0xc], eax
cmp byte [ebp - 0x13], 0
jne 0x418d72
mov ecx, 0x450ad4
call fcn.00417830
push 0x104
lea eax, [ebp - 0x388]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x418e52
lea ecx, [ebp - 0x388]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x418da0
sub ecx, edx
sar ecx, 1
cmp word [ebp - 0x388], 0x5c
lea esi, [ecx - 1]
jne 0x418e49
cmp word [ebp - 0x386], 0x5c
jne 0x418e49
cmp word [ebp - 0x384], 0x3f
jne 0x418e49
cmp word [ebp - 0x382], 0x5c
jne 0x418e49
cmp word [ebp + esi*2 - 0x388], 0x5c
jne 0x418e49
xor eax, eax
mov word [ebp + esi*2 - 0x388], ax
lea eax, [ebp - 0x590]
push 0x104
push eax
lea eax, [ebp - 0x380]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov ecx, 0x5c
mov word [ebp + esi*2 - 0x388], cx
test eax, eax
je 0x418e49
lea ecx, [ebp - 0x388]
call fcn.00413700
push 0x104
lea eax, [ebp - 0x388]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x418d90
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov dword [0x4509a8], 1
mov eax, 1
cmp eax, 2
jg 0x41983c
cmp byte [0x457470], 0
je 0x418f67
push 0x4574a8
mov dword [ebp - 0x1c], 0x4574a8
call fcn.0042084c
add esp, 4
test eax, eax
jne 0x419ae2
cmp dword [0x4574d4], 0x7fffffff
je 0x419ae9
push 0x80
mov byte [ebp - 4], 9
call fcn.004209b7
mov esi, eax
add esp, 4
mov dword [ebp - 0xfc], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea eax, [esi + 0xc]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x18], eax
push 8
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
call fcn.004209b7
add esp, 4
lea ecx, [esi + 0xc]
mov dword [eax + 4], 0
mov dword [ecx], eax
mov dword [eax], ecx
lea eax, [esi + 0x20]
push 2
push eax
call fcn.0042082c
lea eax, [esi + 0x50]
push eax
call fcn.0041f0e9
mov byte [ebp - 4], 9
add esp, 0xc
mov eax, dword [0x45747c]
mov dword [esi + 0x78], 0
mov byte [esi + 0x7c], 0
mov dword [0x457498], esi
test eax, eax
jne 0x418f50
call fcn.0041fc58
add eax, eax
push eax
call fcn.00414420
push 0x4574a8
mov byte [ebp - 4], 7
call fcn.00420871
add esp, 4
cmp byte [ebp - 0x13], 0
jne 0x419286
cmp byte [ebp - 0x12], 0
jne 0x4191c4
cmp byte [ebp - 0x1d], 0
jne 0x419141
lea ecx, [ebp - 0xf8]
call fcn.0041d8a0
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0xf4]
mov esi, dword [ebp - 0xf8]
mov dword [ebp - 0x1c], eax
cmp esi, eax
je 0x41901d
push esi
push 0x417760
lea ecx, [ebp - 0x168]
call fcn.0041ae10
mov edx, eax
mov byte [ebp - 4], 0xd
cmp edi, dword [ebp + 0xc]
je 0x418ff3
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edi], ecx
mov dword [edi + 4], eax
mov eax, dword [edx + 8]
mov dword [edx + 8], 0
mov dword [edi + 8], eax
add edi, 0xc
mov dword [ebp - 0x2c], edi
jmp 0x419006
push edx
push edi
lea ecx, [ebp - 0x30]
call fcn.0041bc90
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov dword [ebp + 0xc], eax
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0xc
call fcn.00414310
mov eax, dword [ebp - 0x1c]
add esi, 0x18
jmp 0x418fa3
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 7
call fcn.004057f0
lea eax, [ebp - 0x18]
xor esi, esi
push eax
push 8
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x419070
lea eax, [ebp - 0xd4]
mov dword [ebp - 0xd4], 4
push eax
push 4
lea eax, [ebp - 0x34]
push eax
push 0x14
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41907e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x4191c4
cmp dword [0x4509a8], 1
jne 0x4190de
sub esp, 0x18
mov eax, 0x7ffffffe
mov ecx, esp
mov dword [ebp - 0x1c], ecx
mov edx, dword [0x450a3c]
sub eax, edx
cmp eax, 9
jb 0x419afa
cmp dword [0x450a40], 8
mov eax, 0x450a2c
push 9
cmovae eax, dword [0x450a2c]
push str.__network
push edx
push eax
push ecx
push dword [ebp + 0xc]
call fcn.004082c0
or dword [ebp - 0x24], 4
call fcn.0041e6a0
add esp, 0x18
push str.____Wait_tasks..._n
call fcn.00401d10
mov esi, dword [ebp - 0x30]
add esp, 4
cmp esi, edi
je 0x419106
mov ecx, esi
call fcn.00414310
add esi, 0xc
cmp esi, edi
jne 0x4190f2
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x2c], edi
push str.____Wait_threadpool_tasks..._n
call fcn.00401d10
add esp, 4
cmp byte [0x457470], 0
je 0x41982c
mov eax, dword [0x457498]
mov dword [ebp - 0x18], eax
lea esi, [eax + 0x20]
push esi
call fcn.0042084c
add esp, 4
test eax, eax
jne 0x419aff
jmp 0x419713
lea eax, [ebp - 0xd0]
push eax
push ecx
lea ecx, [ebp - 0x174]
call fcn.0041aee0
mov edx, eax
mov byte [ebp - 4], 0xe
cmp edi, dword [ebp + 0xc]
je 0x41919d
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edi], ecx
lea ecx, [ebp - 0x174]
mov dword [edi + 4], eax
mov eax, dword [edx + 8]
mov dword [edx + 8], 0
mov dword [edi + 8], eax
add edi, 0xc
mov dword [ebp - 0x2c], edi
mov byte [ebp - 4], 7
call fcn.00414310
jmp 0x4190de
push edx
push edi
lea ecx, [ebp - 0x30]
call fcn.0041bc90
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x174]
mov edi, dword [ebp - 0x2c]
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 7
call fcn.00414310
jmp 0x4190de
lea ecx, [ebp - 0x40]
call fcn.0041da80
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x1c], eax
nop dword [eax]
cmp esi, eax
je 0x419275
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4191f2
mov eax, dword [esi]
push eax
push str.___Found_remote_drive:__s_n
call fcn.00401d10
add esp, 8
lea ecx, [ebp - 0x180]
push esi
push 0x417760
call fcn.0041ae10
mov edx, eax
mov byte [ebp - 4], 0x10
cmp edi, dword [ebp + 0xc]
je 0x419248
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edi], ecx
mov dword [edi + 4], eax
mov eax, dword [edx + 8]
mov dword [edx + 8], 0
mov dword [edi + 8], eax
add edi, 0xc
mov dword [ebp - 0x2c], edi
jmp 0x41925b
push edx
push edi
lea ecx, [ebp - 0x30]
call fcn.0041bc90
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov dword [ebp + 0xc], eax
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 0xf
call fcn.00414310
mov eax, dword [ebp - 0x1c]
add esi, 0x18
jmp 0x4191e0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.004057f0
jmp 0x4190de
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x15c], 0
push eax
lea ecx, [ebp - 0x15c]
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
call fcn.004016e0
mov esi, dword [ebp - 0x150]
mov dword [ebp - 0x18], esi
cmp esi, dword [ebp - 0x14c]
jae 0x4190de
lea eax, [ebp - 0xec]
mov dword [ebp - 0x1c], esi
push eax
lea ecx, [ebp - 0x1c]
call fcn.00413640
mov edx, eax
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x118]
call fcn.0041de30
push eax
mov edx, 0x449020
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x58]
call fcn.0041aaf0
add esp, 4
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x104]
cmp ecx, 8
jb 0x419365
mov edx, dword [ebp - 0x118]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41935b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b06
push ecx
push edx
call fcn.004209ec
add esp, 8
xor eax, eax
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 7
mov word [ebp - 0x118], ax
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0xd8]
cmp ecx, 0x10
jb 0x4193c0
mov edx, dword [ebp - 0xec]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4193b6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b06
push ecx
push edx
call fcn.004209ec
add esp, 8
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov dword [ebp - 0xdc], 0
cmovae eax, dword [ebp - 0x58]
push eax
push str.____Try_add_connection:__s_n
mov dword [ebp - 0xd8], 0xf
mov byte [ebp - 0xec], 0
call fcn.00401d10
add esp, 8
mov dword [ebp - 0x138], 0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
xorps xmm0, xmm0
mov dword [ebp - 0x120], 0
cmovae eax, dword [ebp - 0x58]
push 4
push 0
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x138]
push 0
push eax
movlpd qword [ebp - 0x130], xmm0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x11c], 0
call dword [sym.imp.MPR.dll_WNetAddConnection2W]
mov ecx, eax
lea eax, [ebp - 0x58]
test ecx, ecx
jne 0x4196ea
cmp dword [ebp - 0x44], 8
cmovae eax, dword [ebp - 0x58]
push eax
push str.___Found_share:__s_n
call fcn.00401d10
mov ecx, dword [ebp - 0x48]
mov eax, 0x7ffffffe
sub eax, ecx
add esp, 8
cmp eax, 1
jb 0x419b0b
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 1
cmovae eax, dword [ebp - 0x58]
push 0x448c98
push ecx
push eax
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x88]
call fcn.004082c0
or dword [ebp - 0x24], 2
mov byte [ebp - 4], 0x16
xor esi, esi
mov dword [ebp - 0x1c], esi
cmp esi, 0x1a
jae 0x419670
push 2
xorps xmm0, xmm0
mov dword [ebp - 0x90], 0
push 0x44908c
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x8c], 0
movups xmmword [ebp - 0xa0], xmm0
call fcn.00401e30
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 8
mov edx, dword [ebp - 0x78]
cmovae eax, dword [ebp - 0xa0]
add word [eax], si
mov eax, 0x7ffffffe
mov esi, dword [ebp - 0x90]
sub eax, edx
cmp eax, esi
jb 0x419b10
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x88]
push esi
cmovae ecx, dword [ebp - 0x88]
lea eax, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 8
cmovae eax, dword [ebp - 0xa0]
push eax
push edx
push ecx
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0xec]
call fcn.004082c0
or dword [ebp - 0x24], 1
mov ecx, dword [ebp - 0x8c]
cmp ecx, 8
jb 0x4195a3
mov edx, dword [ebp - 0xa0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419599
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b15
push ecx
push edx
call fcn.004209ec
add esp, 8
movups xmm0, xmmword [ebp - 0xec]
lea eax, [ebp - 0xa0]
push eax
movups xmmword [ebp - 0xa0], xmm0
push ecx
movq xmm0, qword [ebp - 0xdc]
lea ecx, [ebp - 0x64]
movq qword [ebp - 0x90], xmm0
call fcn.0041aee0
mov edx, eax
mov byte [ebp - 4], 0x18
cmp edi, dword [ebp + 0xc]
je 0x419608
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edi], ecx
mov dword [edi + 4], eax
mov eax, dword [edx + 8]
mov dword [edx + 8], 0
mov dword [edi + 8], eax
add edi, 0xc
mov dword [ebp - 0x2c], edi
jmp 0x41961b
push edx
push edi
lea ecx, [ebp - 0x30]
call fcn.0041bc90
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov dword [ebp + 0xc], eax
lea ecx, [ebp - 0x64]
call fcn.00414310
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x8c]
cmp ecx, 8
jb 0x419667
mov edx, dword [ebp - 0xa0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41965d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b15
push ecx
push edx
call fcn.004209ec
add esp, 8
mov esi, dword [ebp - 0x1c]
inc esi
jmp 0x4194b8
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x74]
cmp ecx, 8
jb 0x4196b1
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4196a7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b15
push ecx
push edx
call fcn.004209ec
add esp, 8
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x44]
cmp ecx, 8
jb 0x41970d
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419703
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b15
jmp 0x419703
cmp dword [ebp - 0x44], 8
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
push str.____Share:__s__ret:_0x_X_n
call fcn.00401d10
add esp, 0xc
jmp 0x4196b4
push ecx
push edx
call fcn.004209ec
add esp, 8
inc esi
jmp 0x4192da
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x419b1a
mov ecx, dword [ebp - 0x18]
mov al, 1
add ecx, 0x7c
xchg byte [ecx], al
push esi
call fcn.00420871
mov eax, dword [ebp - 0x18]
add eax, 0x50
push eax
call fcn.0041f0ad
mov ecx, dword [ebp - 0x18]
add esp, 8
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
mov dword [ebp - 0x1c], eax
nop dword [eax + eax]
cmp esi, eax
je 0x419790
cmp dword [esi + 4], 0
je 0x419b25
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [esi + 4], eax
je 0x419b2c
push 0
push dword [esi + 4]
push dword [esi]
call fcn.0041fc73
add esp, 0xc
test eax, eax
jne 0x419b33
mov dword [esi], eax
mov dword [esi + 4], eax
add esi, 8
mov eax, dword [ebp - 0x1c]
jmp 0x419750
mov esi, dword [ebp - 0x18]
mov edx, dword [esi]
mov ecx, dword [esi + 4]
cmp edx, ecx
je 0x4197b4
mov eax, edx
nop
cmp dword [eax + 4], 0
jne 0x419b41
add eax, 8
cmp eax, ecx
jne 0x4197a0
mov dword [esi + 4], edx
push str.____Destroy_threadpool..._n
call fcn.00401d10
push 0x4574a8
call fcn.0042084c
add esp, 8
test eax, eax
jne 0x419b3a
cmp dword [0x4574d4], 0x7fffffff
je 0x419b46
mov esi, dword [0x457498]
test esi, esi
je 0x41981f
lea eax, [esi + 0x50]
push eax
call fcn.0041f0cc
lea eax, [esi + 0x20]
push eax
call fcn.00420802
add esp, 8
lea ecx, [esi + 0xc]
call fcn.0041a1c0
mov ecx, esi
call fcn.0041a400
push 0x80
push esi
call fcn.004209ec
add esp, 8
push 0x4574a8
call fcn.00420871
add esp, 4
mov eax, dword [0x4509a8]
inc eax
mov dword [0x4509a8], eax
jmp 0x418e61
mov byte [0x45749c], 0
call fcn.00415d80
cmp byte [ebp - 0x12], 0
jne 0x41996c
cmp byte [ebp - 0x13], 0
jne 0x419862
mov ecx, 0x450a74
call fcn.00417830
cmp byte [0x457485], 0
je 0x419914
lea ecx, [ebp - 0x40]
call fcn.0041d8a0
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
cmp esi, eax
je 0x4198f4
push esi
push 0x417770
lea ecx, [ebp - 0x64]
call fcn.0041ae10
mov edx, eax
mov byte [ebp - 4], 0x1a
cmp edi, dword [ebp + 0xc]
je 0x4198cd
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edi], ecx
mov dword [edi + 4], eax
mov eax, dword [edx + 8]
mov dword [edx + 8], 0
mov dword [edi + 8], eax
add edi, 0xc
mov dword [ebp - 0x2c], edi
jmp 0x4198e0
push edx
push edi
lea ecx, [ebp - 0x30]
call fcn.0041bc90
mov eax, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov dword [ebp + 0xc], eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x19
call fcn.00414310
mov eax, dword [ebp - 0x34]
add esi, 0x18
jmp 0x419884
lea ecx, [ebp - 0x40]
call fcn.004057f0
mov esi, dword [ebp - 0x30]
cmp esi, edi
je 0x419914
mov ecx, esi
call fcn.00414310
add esi, 0xc
cmp esi, edi
jne 0x419903
mov edi, dword [ebp - 0x30]
mov eax, dword [0x450a00]
mov esi, dword [0x4509fc]
mov dword [ebp - 0x34], eax
cmp esi, eax
je 0x41996c
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x419930
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointW]
mov ecx, dword [esi + 0x14]
test eax, eax
mov eax, esi
je 0x41994e
cmp ecx, 8
jb 0x419947
mov eax, dword [esi]
mov ecx, str.___Unmounted:__s_n
jmp 0x41995a
cmp ecx, 8
jb 0x419955
mov eax, dword [esi]
mov ecx, str.____Fail_to_unmount:__s_n
push eax
push ecx
call fcn.00401d10
add esi, 0x18
add esp, 8
cmp esi, dword [ebp - 0x34]
jne 0x419926
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x4199cb
cmp esi, edi
je 0x419985
mov ecx, esi
call fcn.00414310
add esi, 0xc
cmp esi, edi
jne 0x419977
mov esi, dword [ebp - 0x30]
mov eax, 0x2aaaaaab
mov ecx, dword [ebp + 0xc]
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x4199c1
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b57
push ecx
push esi
call fcn.004209ec
add esp, 8
mov edi, dword [ebp - 0xbc]
push str.____Context_shutdown..._n
call fcn.00401d10
mov eax, dword [0x457478]
add esp, 4
mov byte [0x45748c], 1
test eax, eax
je 0x419a23
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x419a23
push str.pause
call fcn.0042df93
push str.pause
call fcn.0042df93
add esp, 8
cmp edi, 8
jb 0x419a74
mov edx, dword [ebp - 0xd0]
lea ecx, [edi*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419a6a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b5c
push ecx
push edx
call fcn.004209ec
add esp, 8
mov ecx, dword [ebp - 0xa4]
cmp ecx, 0x10
jb 0x419aae
mov edx, dword [ebp - 0xb8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x419aa4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419b5c
push ecx
push edx
call fcn.004209ec
add esp, 8
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0042cebf
push 1
call fcn.00420593
push 1
call fcn.00420593
push 1
call fcn.00420593
push 1
call fcn.00420593
push 5
call fcn.00420593
push 6
mov dword [0x4574d4], 0x7ffffffe
call fcn.00420593
call fcn.00401660
push 5
call fcn.00420593
call fcn.0042cebf
call fcn.00401660
call fcn.00401660
call fcn.0042cebf
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.00420593
push 1
call fcn.00420593
push 5
call fcn.00420593
push 2
call fcn.00420593
push 5
call fcn.00420593
call fcn.0042df9e
push 6
mov dword [0x4574d4], 0x7ffffffe
call fcn.00420593
call fcn.0042cebf
call fcn.0042cebf
int3