Function at 0x459fa0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f757c
mov eax, dword fs:[0]
push eax
sub esp, 0x2d0
mov eax, dword [0x53e754]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x2c8], edi
mov dword [ebp - 0x2cc], edi
mov dword [ebp - 0x2d0], edi
xor eax, eax
mov dword [ebp - 0x2c4], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
mov dword [ebp - 4], 1
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0xf
mov byte [edi], al
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x2c4], 1
mov byte [ebp - 4], 2
call fcn.00458320
mov esi, eax
lea eax, [ebp - 0x260]
cmp eax, esi
je 0x45a075
mov ecx, eax
call fcn.00419480
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x260], xmm0
movq xmm0, qword [esi + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movq qword [ebp - 0x250], xmm0
mov word [esi], ax
lea ecx, [ebp - 0x278]
call fcn.00419480
mov dword [ebp - 4], 1
jmp 0x45a1c4
cmp dword [ebp - 0x250], 0
jne 0x45a514
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 6
call fcn.00458cd0
mov esi, eax
lea eax, [ebp - 0x260]
cmp eax, esi
je 0x45a21d
mov ecx, eax
call fcn.00419480
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x260], xmm0
movq xmm0, qword [esi + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movq qword [ebp - 0x250], xmm0
mov word [esi], ax
lea ecx, [ebp - 0x278]
call fcn.00419480
mov dword [ebp - 4], 1
jmp 0x45a36c
cmp dword [ebp - 0x250], 0
jne 0x45a514
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0xa
call fcn.004598d0
mov esi, eax
lea eax, [ebp - 0x260]
cmp eax, esi
je 0x45a3c5
mov ecx, eax
call fcn.00419480
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x260], xmm0
movq xmm0, qword [esi + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movq qword [ebp - 0x250], xmm0
mov word [esi], ax
lea ecx, [ebp - 0x278]
call fcn.00419480
mov dword [ebp - 4], 1
jmp 0x45a514
push 0xf
push str.DsnAvailability
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.00418ea0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x248]
push 6
push str.Common
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.00418ea0
xor eax, eax
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x250], eax
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x248]
setne al
push eax
call fcn.004456d0
mov byte [ebp - 4], 0xe
add esp, 4
mov edx, dword [ebp - 0x234]
cmp edx, 0x10
jb 0x45a5d4
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45a5ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45a9ec
push edx
push ecx
call fcn.004a6603
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x45a612
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45a608
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45a9f1
push edx
push ecx
call fcn.004a6603
add esp, 8
cmp dword [ebp - 0x250], 0
jne 0x45a637
push 0x24
push str.00000000_0000_0000_0000_000000000000
lea ecx, [ebp - 0x260]
call fcn.004225a0
mov ecx, str.Default_DSN_of_00000000_0000_0000_0000_000000000000_being_used_for_this_machines_DSN._n
call fcn.00413a20
lea eax, [ebp - 0x2cc]
mov dword [ebp - 0x2cc], 0x101
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x45a780
mov ecx, str.Acquring_windows_username_failed._n
call fcn.0041c7c0
push 0x20
push str.DsnWindowsUsernameRetrieveFailed
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0xf
mov byte [ebp - 0x2a8], 0
call fcn.00418ea0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x290]
push 6
push str.Common
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 0xf
mov byte [ebp - 0x290], 0
call fcn.00418ea0
push 1
lea edx, [ebp - 0x2a8]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x290]
call fcn.004456d0
mov byte [ebp - 4], 0x10
add esp, 4
mov edx, dword [ebp - 0x27c]
cmp edx, 0x10
jb 0x45a71d
mov ecx, dword [ebp - 0x290]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45a713
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45a9f6
push edx
push ecx
call fcn.004a6603
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x294]
cmp edx, 0x10
jb 0x45a75b
mov ecx, dword [ebp - 0x2a8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45a751
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45a9fb
push edx
push ecx
call fcn.004a6603
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
push eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
push 0x51b71c
jmp 0x45a7bd
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45a7a6
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.004225a0
mov dword [ebp - 0x2c4], 3
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x260]
cmp dword [ebp - 0x24c], 8
lea ecx, [ebp - 0x230]
push dword [ebp - 0x250]
cmovae eax, dword [ebp - 0x260]
push eax
call fcn.00422330
mov dword [ebp - 0x238], 0
xor ecx, ecx
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x2c4], 7
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x248], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x238], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x2c0]
cmovae edx, dword [ebp - 0x248]
call fcn.00439be0
mov dword [ebp - 0x2c4], 0xf
lea edx, [ebp - 0x2c0]
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x278]
call fcn.00459a70
mov esi, eax
cmp edi, esi
je 0x45a8b4
mov ecx, edi
call fcn.0041acf0
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 - 0x264]
cmp edx, 0x10
jb 0x45a8ee
mov ecx, dword [ebp - 0x278]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45a8e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45aa00
push edx
push ecx
call fcn.004a6603
add esp, 8
mov edx, dword [ebp - 0x2ac]
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], 0
cmp edx, 0x10
jb 0x45a943
mov ecx, dword [ebp - 0x2c0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45a939
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45aa05
push edx
push ecx
call fcn.004a6603
add esp, 8
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x2b0], 0
mov dword [ebp - 0x2ac], 0xf
mov byte [ebp - 0x2c0], 0
call fcn.00419480
lea ecx, [ebp - 0x230]
call fcn.00419480
mov edx, dword [edi + 0x14]
mov ecx, edi
cmp edx, 0x10
jb 0x45a980
mov ecx, dword [edi]
add ecx, dword [edi + 0x10]
mov esi, edi
cmp edx, 0x10
jb 0x45a98c
mov esi, dword [edi]
mov eax, ecx
xor edx, edx
sub eax, esi
cmp esi, ecx
cmova eax, edx
mov dword [ebp - 0x2cc], eax
test eax, eax
je 0x45a9c3
xor edi, edi
movsx eax, byte [esi]
push eax
call fcn.004d5a15
inc edi
mov byte [esi], al
add esp, 4
lea esi, [esi + 1]
cmp edi, dword [ebp - 0x2cc]
jne 0x45a9a3
mov edi, dword [ebp - 0x2c8]
lea ecx, [ebp - 0x260]
call fcn.00419480
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a65f2
mov esp, ebp
pop ebp
ret
call fcn.004c6cef
call fcn.004c6cef
call fcn.004c6cef
call fcn.004c6cef
call fcn.004c6cef
call fcn.004c6cef
int3