Function at 0x4777b1
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x5f2e68]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x220], eax
mov eax, dword [ebp + 0xc]
mov edi, 0x103
xor ebx, ebx
push edi
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x10f]
mov esi, ecx
push ebx
push eax
mov dword [ebp - 0x230], esi
mov byte [ebp - 0x110], bl
call fcn.005306b0
add esp, 0xc
push edi
lea eax, [ebp - 0x217]
push ebx
push eax
mov byte [ebp - 0x218], bl
call fcn.005306b0
xor eax, eax
mov dword [ebp - 0x240], ebx
lea edi, [ebp - 0x23c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
cmp esi, ebx
stosd dword es:[edi], eax
mov dword [ebp - 0x21c], ebx
je 0x477b73
push esi
call fcn.00530f70
test eax, eax
pop ecx
jbe 0x477b73
push esi
call fcn.00530f70
cmp eax, 0xeb
pop ecx
jae 0x477b73
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.005312a0
push 0x22
lea edi, [ebp - 0x110]
call fcn.004cd66d
add esp, 0xc
mov edx, edi
call fcn.004cd7e8
mov esi, edi
call fcn.004cd889
mov eax, edi
push eax
dec esi
call fcn.00530f70
cmp byte [eax + esi], 0x5c
pop ecx
jne 0x47789d
mov eax, edi
push eax
call fcn.00530f70
pop ecx
mov byte [eax + esi], bl
lea eax, [ebp - 0x218]
push str.paulaDetectLogon.txt
push eax
call fcn.005312a0
pop ecx
pop ecx
lea edx, [ebp - 0x110]
lea ecx, [ebp - 0x218]
call fcn.004cd1ce
mov esi, 0x6ed178
mov edx, esi
call fcn.004ccc0d
test eax, eax
jne 0x4778ee
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.004cd9f0
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x224], 0x7530
je 0x4778f4
mov dword [ebp - 0x224], ebx
cmp dword [0x5f5854], ebx
je 0x477906
add dword [ebp - 0x224], 0x2710
mov eax, dword [ebp - 0x224]
add eax, 0x1e61
push eax
lea ecx, [ebp - 0x218]
call fcn.0043232a
test eax, eax
pop ecx
je 0x477931
cmp dword [0x5f5854], ebx
jne 0x477931
xor eax, eax
jmp 0x477b76
mov esi, dword [ebp - 0x220]
cmp esi, ebx
je 0x477948
push esi
call fcn.00530f70
test eax, eax
pop ecx
ja 0x477948
mov esi, ebx
lea eax, [ebp - 0x110]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x238], eax
push 0x2b6f
lea eax, [ebp - 0x218]
push str..Network.c
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x240]
push eax
push 0x477b85
push ebx
mov ecx, str.LogonToServer
mov dword [ebp - 0x23c], esi
call fcn.0043556e
mov dword [ebp - 0x220], eax
call fcn.004fa8e4
cmp dword [ebp - 0x220], ebx
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x21c], 1
je 0x477a58
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
jmp 0x4779f1
cmp dword [ebp - 0x21c], 0x103
jne 0x477a3f
call fcn.004fa8e4
mov ecx, dword [ebp - 0x224]
sub eax, dword [ebp - 0x22c]
add ecx, 0x2ee0
cmp eax, ecx
ja 0x477a06
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x21c]
push eax
push dword [ebp - 0x220]
call edi
test eax, eax
jne 0x4779c2
jmp 0x477a3f
call fcn.0046d08d
test eax, eax
jne 0x477a35
call fcn.004fa8e4
sub eax, dword [ebp - 0x22c]
push eax
push dword [ebp - 0x228]
push esi
push dword [ebp - 0x230]
push str.:2:LogonToServer___s_____s_____s___timed_out_after__ldms.
call fcn.0042bd38
add esp, 0x14
mov dword [ebp - 0x21c], 1
mov edi, dword [ebp - 0x220]
call fcn.00435716
cmp dword [ebp - 0x21c], ebx
jne 0x477a58
mov dword [0x5f5854], ebx
call fcn.00493572
test eax, eax
je 0x477b36
push 0x1b58
mov ecx, str.T:_tmp
call fcn.0043232a
test eax, eax
pop ecx
jne 0x477b36
push 7
pop ecx
mov dword [ebp - 0x260], ebx
lea edi, [ebp - 0x25c]
push 0x20
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x260]
push ebx
push eax
call fcn.005306b0
xor eax, eax
inc eax
add esp, 0xc
push eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x250], 0x593578
call fcn.004934c9
pop ecx
push eax
push str._s_tmp
push ebx
call fcn.004ce595
add esp, 0xc
push str.:0:FYI:LogonToServer___is_mapping_server_drive.
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x244], ebx
call fcn.0042bd38
pop ecx
push 0x80
push esi
push dword [ebp - 0x228]
lea eax, [ebp - 0x260]
push eax
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
je 0x477b36
mov ecx, dword [ebp - 0x24c]
push str._GetLastError_
push dword [ebp - 0x228]
push esi
push dword [ebp - 0x250]
push ecx
push ecx
call fcn.0047a07a
pop ecx
mov ecx, dword [ebp - 0x250]
push eax
call fcn.0047a07a
push eax
push str.:5:LogonToServer___could_not_map_the_server_drive__CurUser:_s__s_:_WNetAddConnection2A___s_____s_____s_____s___FAILED:__s
call fcn.0042b70b
add esp, 0x20
cmp dword [ebp - 0x224], ebx
jbe 0x477b58
xor eax, eax
cmp dword [ebp - 0x21c], ebx
je 0x477b76
cmp dword [ebp - 0x21c], 2
setne al
lea eax, [eax + eax - 1]
jmp 0x477b76
push 0x157c
lea ecx, [ebp - 0x218]
call fcn.0043232a
test eax, eax
pop ecx
jne 0x47792a
jmp 0x477b48
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005317e7
leave
ret