Function at 0x4794b5
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x5092e4]
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 0x4797f3
push esi
call fcn.00401a80
pop ecx
test eax, eax
je 0x4797f3
push esi
call fcn.00401a80
pop ecx
cmp eax, 0xeb
jae 0x4797f3
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.00401ba0
push 0x22
lea edi, [ebp - 0x110]
call fcn.004446e2
add esp, 0xc
mov edx, edi
call fcn.004456dc
mov esi, edi
call fcn.00445630
mov eax, edi
push eax
call fcn.00401a80
cmp byte [eax + esi - 1], 0x5c
pop ecx
jne 0x47959c
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.00446954
mov esi, 0x600190
mov edx, esi
call fcn.00445b2f
test eax, eax
jne 0x4795ed
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.004454c3
pop ecx
pop ecx
mov dword [ebp - 0x220], 0x7530
test eax, eax
je 0x4795f3
mov dword [ebp - 0x220], ebx
cmp dword [0x50a920], ebx
je 0x479605
add dword [ebp - 0x220], 0x2710
mov eax, dword [ebp - 0x220]
add eax, 0x1e61
push eax
lea ecx, [ebp - 0x218]
call fcn.004a12d9
pop ecx
test eax, eax
je 0x479630
cmp dword [0x50a920], ebx
jne 0x479630
xor eax, eax
jmp 0x4797f6
cmp dword [ebp - 0x224], ebx
je 0x47964e
push dword [ebp - 0x224]
call fcn.00401a80
pop ecx
test eax, eax
jne 0x47964e
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 0x478fc6
xor ecx, ecx
call fcn.004a0fc9
mov esi, eax
call fcn.0041df75
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x21c], 1
cmp esi, ebx
je 0x47971f
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
jmp 0x4796f2
cmp dword [ebp - 0x21c], 0x103
jne 0x47970c
call fcn.0041df75
mov ecx, dword [ebp - 0x220]
sub eax, dword [ebp - 0x22c]
add ecx, 0x2ee0
cmp eax, ecx
ja 0x479702
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x21c]
push eax
push esi
call edi
test eax, eax
jne 0x4796c3
jmp 0x47970c
mov dword [ebp - 0x21c], 1
call fcn.0049ff62
cmp dword [ebp - 0x21c], ebx
jne 0x47971f
mov dword [0x50a920], ebx
call fcn.00461deb
test eax, eax
je 0x4797b6
push 0x1b58
mov ecx, str.T:_tmp
call fcn.004a12d9
pop ecx
test eax, eax
jne 0x4797b6
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], 0x4e3cac
call fcn.00462580
pop ecx
push eax
push str._s_tmp
push ebx
call fcn.0044507d
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 0x4797d8
xor eax, eax
cmp dword [ebp - 0x21c], ebx
je 0x4797f6
cmp dword [ebp - 0x21c], 2
setne al
lea eax, [eax + eax - 1]
jmp 0x4797f6
push 0x157c
lea ecx, [ebp - 0x218]
call fcn.004a12d9
pop ecx
test eax, eax
jne 0x479629
jmp 0x4797c8
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret