Function at 0x54b3f0
Capabilities:
Connect network resource
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x54b3f9
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004051e0
mov eax, dword [ebp - 8]
call fcn.004051e0
mov eax, dword [ebp + 0xc]
call fcn.004051e0
xor eax, eax
push ebp
push 0x54b982
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x54b906
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov edx, 0x54b99c
call fcn.00404d84
lea ecx, [ebp - 0x40]
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.0043e430
mov eax, dword [ebp - 0x40]
mov edx, 0x54b9b0
call fcn.0040513c
je 0x54b479
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54b94a
mov byte [ebp - 0x15], 0
mov eax, dword [0x5a5d58]
mov eax, dword [eax]
mov eax, dword [eax + 0x5b8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x22c]
call fcn.0045c3e4
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x54b4fd
inc ebx
xor esi, esi
mov eax, dword [0x5a5f50]
mov eax, dword [eax]
call fcn.0049fa8c
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x22c]
mov edx, esi
call fcn.0045c414
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x48]
xor edx, edx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.00409448
mov eax, dword [ebp - 0x44]
push eax
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 4]
call fcn.00409448
mov edx, dword [ebp - 0x4c]
pop eax
call fcn.0040513c
jne 0x54b4f9
mov byte [ebp - 0x15], 1
jmp 0x54b4fd
inc esi
dec ebx
jne 0x54b4a5
cmp byte [ebp - 0x15], 0
jne 0x54b884
mov dword [ebp - 0x10], 0xff
mov eax, dword [ebp - 0x10]
call fcn.004027d8
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_GetUserNameA
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0xc]
call fcn.00404f28
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 8]
call fcn.0040967c
cmp dword [ebp - 0x50], 0
jne 0x54b560
lea edx, [ebp - 0x54]
mov eax, dword [ebp + 0xc]
call fcn.0040967c
cmp dword [ebp - 0x54], 0
jne 0x54b560
lea eax, [ebp - 8]
mov edx, 0x54b9bc
call fcn.00404dc8
mov dword [ebp - 0x3c], 2
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 3
mov dword [ebp - 0x30], 1
xor eax, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
call fcn.004051f0
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x54b7d7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x10
mov eax, dword [ebp - 8]
call fcn.004051f0
push eax
mov eax, dword [ebp + 0xc]
call fcn.004051f0
push eax
lea eax, [ebp - 0x3c]
push eax
call sub.mpr.dll_WNetAddConnection2A
mov ebx, eax
test ebx, ebx
jne 0x54b5d7
mov eax, dword [ebp + 8]
mov edx, 0x54b99c
call fcn.00404d84
jmp 0x54b7cd
push 1
mov eax, dword [ebp - 0x14]
call fcn.004051f0
push eax
push 0x54b9c4
lea eax, [ebp - 0x3c]
push eax
call sub.mpr.dll_WNetAddConnection2A
test eax, eax
jne 0x54b606
mov eax, dword [ebp + 8]
mov edx, 0x54b99c
call fcn.00404d84
jmp 0x54b7cd
cmp ebx, 0x4b2
jg 0x54b660
je 0x54b775
cmp ebx, 0x55
jg 0x54b63d
je 0x54b6dc
sub ebx, 5
je 0x54b6ca
sub ebx, 0x3d
je 0x54b6ee
dec ebx
je 0x54b712
jmp case.0x54b66f.1207
sub ebx, 0x56
je 0x54b793
sub ebx, 0x54
je 0x54b748
sub ebx, 0x406
je 0x54b700
jmp case.0x54b66f.1207
add ebx, 0xfffffb4d
cmp ebx, 0x14
ja case.0x54b66f.1207
jmp dword [ebx*4 + 0x54b676]
mov eax, dword [ebp + 8]
mov edx, 0x54b9d0
call fcn.00404d84
jmp 0x54b7cd
mov eax, dword [ebp + 8]
mov edx, 0x54ba04
call fcn.00404d84
jmp 0x54b7cd
mov eax, dword [ebp + 8]
mov edx, 0x54ba44
call fcn.00404d84
jmp 0x54b7cd
mov eax, dword [ebp + 8]
mov edx, 0x54ba80
call fcn.00404d84
jmp 0x54b7cd
mov eax, dword [ebp + 8]
mov edx, 0x54babc
call fcn.00404d84
jmp 0x54b7cd
mov eax, dword [ebp + 8]
mov edx, 0x54baf4
call fcn.00404d84
jmp 0x54b7cd
mov eax, dword [ebp + 8]
mov edx, 0x54bb34
call fcn.00404d84
jmp 0x54b7cd
mov eax, dword [ebp + 8]
mov edx, 0x54bb64
call fcn.00404d84
jmp 0x54b7cd
mov eax, dword [ebp + 8]
mov edx, 0x54bb8c
call fcn.00404d84
jmp 0x54b7cd
mov eax, dword [ebp + 8]
mov edx, 0x54bbc0
call fcn.00404d84
jmp 0x54b7cd
mov eax, dword [ebp + 8]
mov edx, 0x54bc0c
call fcn.00404d84
jmp 0x54b7cd
mov eax, dword [ebp + 8]
mov edx, 0x54bc58
call fcn.00404d84
jmp 0x54b7cd
mov eax, dword [ebp + 8]
mov edx, 0x54bc94
call fcn.00404d84
jmp 0x54b7cd
mov eax, dword [ebp + 8]
mov edx, 0x54bcc8
call fcn.00404d84
jmp 0x54b7cd
mov eax, dword [ebp + 8]
mov edx, 0x54bd0c
call fcn.00404d84
jmp 0x54b7cd
mov eax, dword [ebp + 8]
mov edx, 0x54bd3c
call fcn.00404d84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54b7ee
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, 0x54b99c
call fcn.0040513c
jne 0x54b877
mov eax, dword [0x5a5d58]
mov eax, dword [eax]
mov eax, dword [eax + 0x5b8]
mov eax, dword [eax + 0x22c]
call fcn.0045c388
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0045be28
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 4]
call fcn.00409448
mov edx, dword [ebp - 0x58]
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
call fcn.0040c0ac
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x5c]
mov eax, 0x54bd9c
call fcn.0040cdb0
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx + 8]
mov edx, 0x54bdbc
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov ecx, 4
xor edx, edx
mov eax, ebx
call fcn.0045bfe0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.004027f8
jmp 0x54b8fc
mov eax, dword [0x5a5d58]
mov eax, dword [eax]
mov eax, dword [eax + 0x5b8]
mov eax, dword [eax + 0x22c]
call fcn.0045c388
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0045be28
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 4]
call fcn.00409448
mov edx, dword [ebp - 0x60]
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
call fcn.0040c0ac
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x64]
mov eax, 0x54bd9c
call fcn.0040cdb0
mov edx, dword [ebp - 0x64]
mov eax, dword [ebx + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx + 8]
mov edx, 0x54bdbc
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov ecx, 4
xor edx, edx
mov eax, ebx
call fcn.0045bfe0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54b94a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54b989
lea eax, [ebp - 0x64]
mov edx, 0xa
call fcn.00404d54
lea eax, [ebp - 0x14]
call fcn.00404d30
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404d54
lea eax, [ebp + 0xc]
call fcn.00404d30
ret