Function at 0x46b0a3
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x4e22e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x224], eax
mov eax, dword [ebp + 0xc]
mov edi, 0x103
xor ebx, ebx
push edi
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x10f]
push ebx
push eax
mov esi, ecx
mov byte [ebp - 0x110], bl
call fcn.00401f80
add esp, 0xc
push edi
lea eax, [ebp - 0x217]
push ebx
push eax
mov byte [ebp - 0x218], bl
call fcn.00401f80
xor eax, eax
mov dword [ebp - 0x23c], ebx
lea edi, [ebp - 0x238]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
mov dword [ebp - 0x21c], ebx
cmp esi, ebx
je 0x46b3e1
push esi
call fcn.00401a80
pop ecx
test eax, eax
je 0x46b3e1
push esi
call fcn.00401a80
pop ecx
cmp eax, 0xeb
jae 0x46b3e1
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.00401ba0
push 0x22
lea edi, [ebp - 0x110]
call fcn.00438a4b
add esp, 0xc
mov edx, edi
call fcn.004399f2
mov esi, edi
call fcn.00439946
mov eax, edi
push eax
call fcn.00401a80
cmp byte [eax + esi - 1], 0x5c
pop ecx
jne 0x46b18a
mov eax, edi
push eax
call fcn.00401a80
pop ecx
mov byte [eax + esi - 1], bl
lea eax, [ebp - 0x218]
push str.paulaDetectLogon.txt
push eax
call fcn.00401ba0
pop ecx
pop ecx
lea edx, [ebp - 0x110]
lea ecx, [ebp - 0x218]
call fcn.0043ac16
mov esi, 0x5d8de8
mov edx, esi
call fcn.00439e45
test eax, eax
jne 0x46b1db
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.004397d9
pop ecx
pop ecx
mov dword [ebp - 0x220], 0x7530
test eax, eax
je 0x46b1e1
mov dword [ebp - 0x220], ebx
cmp dword [0x4e391c], ebx
je 0x46b1f3
add dword [ebp - 0x220], 0x2710
mov eax, dword [ebp - 0x220]
add eax, 0x1e61
push eax
lea ecx, [ebp - 0x218]
call fcn.0048e61d
pop ecx
test eax, eax
je 0x46b21e
cmp dword [0x4e391c], ebx
jne 0x46b21e
xor eax, eax
jmp 0x46b3e4
cmp dword [ebp - 0x224], ebx
je 0x46b23c
push dword [ebp - 0x224]
call fcn.00401a80
pop ecx
test eax, eax
jne 0x46b23c
mov dword [ebp - 0x224], ebx
lea eax, [ebp - 0x110]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x228]
push 0x2c1f
mov dword [ebp - 0x234], eax
push str.Network.c
lea eax, [ebp - 0x218]
mov dword [ebp - 0x230], eax
push str.LogonToServer
lea eax, [ebp - 0x23c]
push eax
push 0x46abb4
xor ecx, ecx
call fcn.0048e30d
mov esi, eax
call fcn.0041a958
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x21c], 1
cmp esi, ebx
je 0x46b30d
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
jmp 0x46b2e0
cmp dword [ebp - 0x21c], 0x103
jne 0x46b2fa
call fcn.0041a958
mov ecx, dword [ebp - 0x220]
sub eax, dword [ebp - 0x22c]
add ecx, 0x2ee0
cmp eax, ecx
ja 0x46b2f0
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x21c]
push eax
push esi
call edi
test eax, eax
jne 0x46b2b1
jmp 0x46b2fa
mov dword [ebp - 0x21c], 1
call fcn.0048d2af
cmp dword [ebp - 0x21c], ebx
jne 0x46b30d
mov dword [0x4e391c], ebx
call fcn.0045518e
test eax, eax
je 0x46b3a4
push 0x1b58
mov ecx, str.T:_tmp
call fcn.0048e61d
pop ecx
test eax, eax
jne 0x46b3a4
push 7
pop ecx
mov dword [ebp - 0x25c], ebx
lea edi, [ebp - 0x258]
push 0x20
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x25c]
push ebx
push eax
call fcn.00401f80
xor eax, eax
inc eax
add esp, 0xc
push eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x24c], 0x4c3504
call fcn.0045532e
pop ecx
push eax
push str._s_tmp
push ebx
call fcn.00439394
add esp, 0xc
push 0x80
push dword [ebp - 0x224]
mov dword [ebp - 0x248], eax
push dword [ebp - 0x228]
lea eax, [ebp - 0x25c]
push eax
mov dword [ebp - 0x240], ebx
call dword [sym.imp.MPR.dll_WNetAddConnection2A]
cmp dword [ebp - 0x220], ebx
jbe 0x46b3c6
xor eax, eax
cmp dword [ebp - 0x21c], ebx
je 0x46b3e4
cmp dword [ebp - 0x21c], 2
setne al
lea eax, [eax + eax - 1]
jmp 0x46b3e4
push 0x157c
lea ecx, [ebp - 0x218]
call fcn.0048e61d
pop ecx
test eax, eax
jne 0x46b217
jmp 0x46b3b6
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret