Function at 0x4b26b0
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x6fb448]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x218], 0
push 0x103
push 0
lea eax, [ebp - 0x217]
push eax
call fcn.005b02a0
add esp, 0xc
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea ecx, [ebp - 0x10f]
push ecx
call fcn.005b02a0
add esp, 0xc
mov dword [ebp - 0x234], 0
xor edx, edx
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
cmp dword [ebp + 8], 0
je 0x4b2759
mov eax, dword [ebp + 8]
push eax
call fcn.005b4690
add esp, 4
test eax, eax
ja 0x4b2763
mov eax, 1
jmp 0x4b2b5c
mov ecx, dword [ebp + 8]
push ecx
call fcn.005b4690
add esp, 4
cmp eax, 0xeb
jb 0x4b2780
mov eax, 1
jmp 0x4b2b5c
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x218]
push eax
call fcn.005b4720
add esp, 8
push 0x22
lea ecx, [ebp - 0x218]
push ecx
call fcn.004012f3
add esp, 8
lea edx, [ebp - 0x218]
push edx
call fcn.00403076
add esp, 4
lea eax, [ebp - 0x218]
push eax
call fcn.00402ec8
add esp, 4
lea ecx, [ebp - 0x218]
push ecx
call fcn.005b4690
add esp, 4
movsx edx, byte [ebp + eax - 0x219]
cmp edx, 0x5c
jne 0x4b27f5
lea eax, [ebp - 0x218]
push eax
call fcn.005b4690
add esp, 4
mov byte [ebp + eax - 0x219], 0
push str.paulaDetectLogon.txt
lea ecx, [ebp - 0x110]
push ecx
call fcn.005b4720
add esp, 8
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x110]
push eax
call fcn.00402293
add esp, 8
push 0x813220
call fcn.00401389
add esp, 4
test eax, eax
jne 0x4b2854
push 0x813220
lea ecx, [ebp - 0x218]
push ecx
call fcn.00401041
add esp, 8
test eax, eax
jne 0x4b2854
mov dword [ebp - 0x21c], 0x7530
jmp 0x4b285e
mov dword [ebp - 0x21c], 0
cmp dword [0x6993d8], 0
je 0x4b2879
mov edx, dword [ebp - 0x21c]
add edx, 0x2710
mov dword [ebp - 0x21c], edx
mov eax, dword [ebp - 0x21c]
add eax, 0x1e61
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.00401f05
add esp, 8
test eax, eax
je 0x4b28a8
cmp dword [0x6993d8], 0
jne 0x4b28a8
xor eax, eax
jmp 0x4b2b5c
cmp dword [ebp + 0xc], 0
je 0x4b28c5
mov edx, dword [ebp + 0xc]
push edx
call fcn.005b4690
add esp, 4
test eax, eax
ja 0x4b28c5
mov dword [ebp + 0xc], 0
lea eax, [ebp - 0x218]
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x230], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x22c], edx
lea eax, [ebp - 0x110]
mov dword [ebp - 0x228], eax
push 0x2b7f
push 0x6993f4
push 0x699400
push 0
push 0
lea ecx, [ebp - 0x234]
push ecx
push 0x4b2b70
push 0
push 0
call fcn.00401e92
mov dword [ebp - 0x220], eax
call fcn.0040323d
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x224], 1
cmp dword [ebp - 0x220], 0
je 0x4b29fd
lea edx, [ebp - 0x224]
push edx
mov eax, dword [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x4b29c5
cmp dword [ebp - 0x224], 0x103
jne 0x4b29c5
call fcn.0040323d
sub eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x21c]
add ecx, 0x2ee0
cmp eax, ecx
jbe 0x4b29b8
mov edx, 1
test edx, edx
je 0x4b29ac
call fcn.0040323d
sub eax, dword [ebp - 0x238]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.:2:LogonToServer___s_____s_____s___timed_out_after__ldms.
call fcn.004018ca
add esp, 0x14
mov dword [ebp - 0x224], 1
jmp 0x4b29c5
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4b293f
push 0x2b9b
push 0x69944c
push str.LogonToServer
mov eax, dword [ebp - 0x220]
push eax
call fcn.00401f5a
mov dword [ebp - 0x220], 0
cmp dword [ebp - 0x224], 0
jne 0x4b29fd
mov dword [0x6993d8], 0
xor ecx, ecx
je 0x4b2afe
mov dword [ebp - 0x258], 0
xor edx, edx
mov dword [ebp - 0x254], edx
mov dword [ebp - 0x250], edx
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x248], edx
mov dword [ebp - 0x244], edx
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x23c], edx
push 0x20
push 0
lea eax, [ebp - 0x258]
push eax
call fcn.005b02a0
add esp, 0xc
mov dword [ebp - 0x254], 1
mov dword [ebp - 0x248], 0x699468
push 1
call fcn.00402af9
add esp, 4
push eax
push 0x69946c
push 0
call fcn.0040114f
add esp, 0xc
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x23c], 0
push str.:0:FYI:LogonToServer___is_mapping_server_drive.
call fcn.004018ca
add esp, 4
push 0x80
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x258]
push eax
call sub.MPR.dll_WNetAddConnection2A
test eax, eax
je 0x4b2afe
push 0x6994a4
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x248]
push eax
mov ecx, dword [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x244]
push edx
call fcn.0040214e
add esp, 4
push eax
mov eax, dword [ebp - 0x248]
push eax
call fcn.0040214e
add esp, 4
push eax
push str.:5:LogonToServer___could_not_map_the_server_drive__CurUser:_s__s_:_WNetAddConnection2A___s_____s_____s_____s___FAILED:__s
call fcn.00401014
add esp, 0x20
cmp dword [ebp - 0x21c], 0
jbe 0x4b2b2d
cmp dword [ebp - 0x224], 0
jne 0x4b2b16
xor eax, eax
jmp 0x4b2b5c
cmp dword [ebp - 0x224], 2
jne 0x4b2b26
or eax, 0xffffffff
jmp 0x4b2b5c
mov eax, 1
jmp 0x4b2b5c
push 0x157c
lea ecx, [ebp - 0x110]
push ecx
call fcn.00401f05
add esp, 8
test eax, eax
je 0x4b2b49
xor eax, eax
jmp 0x4b2b5c
cmp dword [ebp - 0x224], 2
jne 0x4b2b57
or eax, 0xffffffff
jmp 0x4b2b5c
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b0290
mov esp, ebp
pop ebp
ret