Function at 0x46abb3
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 0x46aef1
push esi
call fcn.00401a80
pop ecx
test eax, eax
je 0x46aef1
push esi
call fcn.00401a80
pop ecx
cmp eax, 0xeb
jae 0x46aef1
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.00401ba0
push 0x22
lea edi, [ebp - 0x110]
call fcn.0043887b
add esp, 0xc
mov edx, edi
call fcn.00439822
mov esi, edi
call fcn.00439776
mov eax, edi
push eax
call fcn.00401a80
cmp byte [eax + esi - 1], 0x5c
pop ecx
jne 0x46ac9a
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.0043aa46
mov esi, 0x5d8dd0
mov edx, esi
call fcn.00439c75
test eax, eax
jne 0x46aceb
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.00439609
pop ecx
pop ecx
mov dword [ebp - 0x220], 0x7530
test eax, eax
je 0x46acf1
mov dword [ebp - 0x220], ebx
cmp dword [0x4e391c], ebx
je 0x46ad03
add dword [ebp - 0x220], 0x2710
mov eax, dword [ebp - 0x220]
add eax, 0x1e61
push eax
lea ecx, [ebp - 0x218]
call fcn.0048e6b5
pop ecx
test eax, eax
je 0x46ad2e
cmp dword [0x4e391c], ebx
jne 0x46ad2e
xor eax, eax
jmp 0x46aef4
cmp dword [ebp - 0x224], ebx
je 0x46ad4c
push dword [ebp - 0x224]
call fcn.00401a80
pop ecx
test eax, eax
jne 0x46ad4c
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 0x46a757
xor ecx, ecx
call fcn.0048e3a5
mov esi, eax
call fcn.0041a877
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x21c], 1
cmp esi, ebx
je 0x46ae1d
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
jmp 0x46adf0
cmp dword [ebp - 0x21c], 0x103
jne 0x46ae0a
call fcn.0041a877
mov ecx, dword [ebp - 0x220]
sub eax, dword [ebp - 0x22c]
add ecx, 0x2ee0
cmp eax, ecx
ja 0x46ae00
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x21c]
push eax
push esi
call edi
test eax, eax
jne 0x46adc1
jmp 0x46ae0a
mov dword [ebp - 0x21c], 1
call fcn.0048d33e
cmp dword [ebp - 0x21c], ebx
jne 0x46ae1d
mov dword [0x4e391c], ebx
call fcn.00454d5c
test eax, eax
je 0x46aeb4
push 0x1b58
mov ecx, str.T:_tmp
call fcn.0048e6b5
pop ecx
test eax, eax
jne 0x46aeb4
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], 0x4c35bc
call fcn.004554f1
pop ecx
push eax
push str._s_tmp
push ebx
call fcn.004391c4
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 0x46aed6
xor eax, eax
cmp dword [ebp - 0x21c], ebx
je 0x46aef4
cmp dword [ebp - 0x21c], 2
setne al
lea eax, [eax + eax - 1]
jmp 0x46aef4
push 0x157c
lea ecx, [ebp - 0x218]
call fcn.0048e6b5
pop ecx
test eax, eax
jne 0x46ad27
jmp 0x46aec6
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret