Function at 0x402490
Capabilities:
Connect network resource

Disassembly:
push 0xffffffffffffffff
push 0x419a76
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x470
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x41]
mov byte [esp + 0x40], bl
push str._username_
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x498]
push edi
call fcn.00406fa0
mov esi, dword [esp + 0x498]
add esp, 8
test eax, eax
je 0x402515
push 0x3f
lea eax, [esp + 0x44]
push esi
push eax
call fcn.00406980
add esp, 0xc
push 4
push str._username_
push edi
call fcn.00406fa0
add esp, 8
add eax, 0xa
lea ecx, [esp + 0x44]
push eax
push ecx
call fcn.00406e70
jmp 0x402543
push 0x42207c
push edi
call fcn.00406fa0
add esp, 8
test eax, eax
je 0x402536
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x40]
rep stosd dword es:[edi], eax
jmp 0x402546
push 0x3f
lea edx, [esp + 0x44]
push edi
push edx
call fcn.00406980
add esp, 0xc
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x81]
mov byte [esp + 0x80], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x424078
lea ecx, [esp + 0x14]
stosb byte es:[edi], al
call fcn.0041563c
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x488], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], 0xff0000
jne 0x4025ad
mov ebp, dword [esp + 0x498]
push esi
push ebp
lea eax, [esp + 0x88]
push str.__s_:_checking:__s__NULL__..._r_n
push eax
call fcn.00406c3a
add esp, 0x10
jmp 0x4025d0
mov ebp, dword [esp + 0x498]
lea ecx, [esp + 0x40]
push ecx
push esi
push ebp
lea edx, [esp + 0x8c]
push str.__s_:_checking:__s__s_..._r_n
push edx
call fcn.00406c3a
add esp, 0x14
lea eax, [esp + 0x80]
lea ecx, [esp + 0x10]
push eax
call fcn.0041570b
lea ecx, [esp + 0x18]
lea edx, [esp + 0x10]
push ecx
push edx
call fcn.00401500
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x289]
mov byte [esp + 0x288], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x28]
push 0x423c60
rep stosd dword es:[edi], eax
push ebp
lea eax, [esp + 0x290]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea edx, [esp + 0x40]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x280]
push ebx
push esi
push edx
push eax
mov dword [esp + 0x30], 2
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], ebx
call sub.MPR.dll_WNetAddConnection2A
cmp eax, ebx
jne 0x4027dc
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x181]
mov byte [esp + 0x180], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x424078
lea ecx, [esp + 0x18]
stosb byte es:[edi], al
call fcn.0041563c
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x488], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1c], 0xff
jne 0x4026cc
push esi
push ebp
lea ecx, [esp + 0x188]
push str.__s_:_Found:__s__NULL______r_n
push ecx
call fcn.00406c3a
add esp, 0x10
jmp 0x4026e8
lea edx, [esp + 0x40]
lea eax, [esp + 0x180]
push edx
push esi
push ebp
push str.__s_:_Found:__s__s_____r_n
push eax
call fcn.00406c3a
add esp, 0x14
lea ecx, [esp + 0x180]
push ecx
lea ecx, [esp + 0x18]
call fcn.0041570b
lea edx, [esp + 0x1c]
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00401500
mov ecx, dword [esp + 0x4a4]
lea edx, [esp + 0x48]
push ecx
push edx
push esi
push ebp
call fcn.00401630
call fcn.00401600
push 0x421ff8
push str.NTscan.txt
call fcn.00406cbd
mov edx, eax
add esp, 0x20
cmp edx, ebx
mov dword [0x4236ac], edx
je 0x402785
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x402761
push esi
push ebp
push str.___15s_:___s__NULL__n
push edx
call fcn.00406e2d
add esp, 0x10
jmp 0x402776
lea eax, [esp + 0x40]
push eax
push esi
push ebp
push str.___15s_:___s__s_n
push edx
call fcn.00406e2d
add esp, 0x14
mov ecx, dword [0x4236ac]
push ecx
call fcn.004068f5
add esp, 4
push 1
lea edx, [esp + 0x284]
push 1
push edx
mov byte [0x421de4], 1
call sub.MPR.dll_WNetCancelConnection2A
lea ecx, [esp + 0x14]
mov byte [esp + 0x488], bl
call fcn.00415612
lea ecx, [esp + 0x10]
mov dword [esp + 0x488], 0xffffffff
call fcn.00415612
mov al, 1
mov ecx, dword [esp + 0x480]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x47c
ret
cmp eax, 0x775
je 0x4027ad
cmp eax, 0x35
je 0x4027ad
cmp eax, 0x33
je 0x4027ad
cmp eax, 5
je 0x4027ad
cmp eax, 0x43
je 0x4027ad
lea ecx, [esp + 0x10]
mov dword [esp + 0x488], 0xffffffff
call fcn.00415612
xor al, al
jmp 0x4027c3