Function at 0x452cc0
Capabilities:
Get session user name

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51be54
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2e0
mov eax, dword [0x56e754]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2e8], edi
mov dword [ebp - 0x2e0], edi
mov dword [ebp - 0x2ec], edi
xor eax, eax
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 7
mov word [ebp - 0x238], ax
mov dword [ebp - 4], 1
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0xf
mov byte [edi], al
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2dc], 1
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea eax, [ebp - 0x2e4]
push eax
lea eax, [ebp - 0x2d8]
push eax
call dword [sym.imp.ole32.dll_StringFromCLSID]
mov edx, dword [ebp - 0x2e4]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x452d85
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x238]
call fcn.0041b490
push dword [ebp - 0x2e4]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov esi, dword [ebp - 0x228]
test esi, esi
jne 0x452dd9
push 0x24
push str.00000000_0000_0000_0000_000000000000
lea ecx, [ebp - 0x238]
call fcn.0041b490
mov ecx, str.Default_DSN_of_00000000_0000_0000_0000_000000000000_being_used_for_this_machines_DSN._n
call fcn.0041c380
mov esi, dword [ebp - 0x228]
lea eax, [ebp - 0x2e0]
mov dword [ebp - 0x2e0], 0x101
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x452f22
mov ecx, str.Acquring_windows_username_failed._n
call fcn.0041c4a0
push 0x20
push str.DsnWindowsUsernameRetrieveFailed
lea ecx, [ebp - 0x298]
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 0xf
mov byte [ebp - 0x298], 0
call fcn.0041b7e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x280]
push 6
push str.Common
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 0xf
mov byte [ebp - 0x280], 0
call fcn.0041b7e0
push 1
lea edx, [ebp - 0x298]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x280]
call fcn.00433510
mov byte [ebp - 4], 2
add esp, 4
mov edx, dword [ebp - 0x26c]
cmp edx, 0x10
jb 0x452ebf
mov ecx, dword [ebp - 0x280]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x452eb5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x453199
push edx
push ecx
call fcn.004ca782
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x284]
cmp edx, 0x10
jb 0x452efd
mov ecx, dword [ebp - 0x298]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x452ef3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45319e
push edx
push ecx
call fcn.004ca782
add esp, 8
xor eax, eax
mov dword [ebp - 0x240], 0
push eax
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
push 0x544f50
jmp 0x452f67
xor eax, eax
mov dword [ebp - 0x240], 0
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x23c], 7
mov word [ebp - 0x250], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x452f50
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x250]
call fcn.0041b490
mov dword [ebp - 0x2dc], 3
mov byte [ebp - 4], 4
lea eax, [ebp - 0x238]
cmp dword [ebp - 0x224], 8
lea ecx, [ebp - 0x250]
push esi
cmovae eax, dword [ebp - 0x238]
push eax
call fcn.0041a690
mov dword [ebp - 0x258], 0
xor ecx, ecx
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x2dc], 7
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x268], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x258], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 5
lea edx, [ebp - 0x268]
cmp dword [ebp - 0x254], 8
lea ecx, [ebp - 0x2b0]
cmovae edx, dword [ebp - 0x268]
call fcn.00423b20
mov dword [ebp - 0x2dc], 0xf
lea edx, [ebp - 0x2b0]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c8]
call fcn.004525e0
mov esi, eax
cmp edi, esi
je 0x453059
mov ecx, edi
call fcn.0041a9b0
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x2b4]
cmp edx, 0x10
jb 0x453093
mov ecx, dword [ebp - 0x2c8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x453089
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4531a3
push edx
push ecx
call fcn.004ca782
add esp, 8
mov edx, dword [ebp - 0x29c]
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 0xf
mov byte [ebp - 0x2c8], 0
cmp edx, 0x10
jb 0x4530e8
mov ecx, dword [ebp - 0x2b0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4530de
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4531a8
push edx
push ecx
call fcn.004ca782
add esp, 8
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x29c], 0xf
mov byte [ebp - 0x2b0], 0
call fcn.0041b400
lea ecx, [ebp - 0x250]
call fcn.0041b400
mov edx, dword [edi + 0x14]
mov ecx, edi
cmp edx, 0x10
jb 0x453125
mov ecx, dword [edi]
add ecx, dword [edi + 0x10]
mov esi, edi
cmp edx, 0x10
jb 0x453131
mov esi, dword [edi]
mov eax, ecx
xor edx, edx
sub eax, esi
xor edi, edi
cmp esi, ecx
cmova eax, edx
mov dword [ebp - 0x2e0], eax
test eax, eax
je 0x45316a
nop dword [eax + eax]
movsx eax, byte [esi]
push eax
call fcn.004fab53
inc edi
mov byte [esi], al
add esp, 4
lea esi, [esi + 1]
cmp edi, dword [ebp - 0x2e0]
jne 0x453150
lea ecx, [ebp - 0x238]
call fcn.0041b400
mov eax, dword [ebp - 0x2e8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ca771
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004eefc0
call fcn.004eefc0
call fcn.004eefc0
call fcn.004eefc0
int3