Function at 0x45e8b5
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x4b22d4]
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 0x45ebf3
push esi
call fcn.00401a80
pop ecx
test eax, eax
je 0x45ebf3
push esi
call fcn.00401a80
pop ecx
cmp eax, 0xeb
jae 0x45ebf3
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.00401ba0
push 0x22
lea edi, [ebp - 0x110]
call fcn.00435930
add esp, 0xc
mov edx, edi
call fcn.0043680a
mov esi, edi
call fcn.00436761
mov eax, edi
push eax
call fcn.00401a80
cmp byte [eax + esi - 1], 0x5c
pop ecx
jne 0x45e99c
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.0043794f
mov esi, 0x5a5070
mov edx, esi
call fcn.00436c5d
test eax, eax
jne 0x45e9ed
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.004365f4
pop ecx
pop ecx
mov dword [ebp - 0x220], 0x7530
test eax, eax
je 0x45e9f3
mov dword [ebp - 0x220], ebx
cmp dword [0x4b38e0], ebx
je 0x45ea05
add dword [ebp - 0x220], 0x2710
mov eax, dword [ebp - 0x220]
add eax, 0x1e61
push eax
lea ecx, [ebp - 0x218]
call fcn.00474dec
pop ecx
test eax, eax
je 0x45ea30
cmp dword [0x4b38e0], ebx
jne 0x45ea30
xor eax, eax
jmp 0x45ebf6
cmp dword [ebp - 0x224], ebx
je 0x45ea4e
push dword [ebp - 0x224]
call fcn.00401a80
pop ecx
test eax, eax
jne 0x45ea4e
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 0x2c04
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 0x45e459
xor ecx, ecx
call fcn.00474b18
mov esi, eax
call fcn.00419a8b
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x21c], 1
cmp esi, ebx
je 0x45eb1f
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
jmp 0x45eaf2
cmp dword [ebp - 0x21c], 0x103
jne 0x45eb0c
call fcn.00419a8b
mov ecx, dword [ebp - 0x220]
sub eax, dword [ebp - 0x22c]
add ecx, 0x2ee0
cmp eax, ecx
ja 0x45eb02
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x21c]
push eax
push esi
call edi
test eax, eax
jne 0x45eac3
jmp 0x45eb0c
mov dword [ebp - 0x21c], 1
call fcn.00473b95
cmp dword [ebp - 0x21c], ebx
jne 0x45eb1f
mov dword [0x4b38e0], ebx
call fcn.0044bacf
test eax, eax
je 0x45ebb6
push 0x1b58
mov ecx, str.T:_tmp
call fcn.00474dec
pop ecx
test eax, eax
jne 0x45ebb6
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], 0x496544
call fcn.0044c144
pop ecx
push eax
push str._s_tmp
push ebx
call fcn.004361b7
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 0x45ebd8
xor eax, eax
cmp dword [ebp - 0x21c], ebx
je 0x45ebf6
cmp dword [ebp - 0x21c], 2
setne al
lea eax, [eax + eax - 1]
jmp 0x45ebf6
push 0x157c
lea ecx, [ebp - 0x218]
call fcn.00474dec
pop ecx
test eax, eax
jne 0x45ea29
jmp 0x45ebc8
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret