Function at 0x403b00
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42bb3d
mov eax, dword fs:[0]
push eax
sub esp, 0x554
mov eax, dword [0x44c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x32
lea eax, [ebp - 0x174]
push 0
push eax
call fcn.004148f0
add esp, 0xc
mov dword [ebp - 0x3ec], 0x32
lea eax, [ebp - 0x3ec]
push eax
lea eax, [ebp - 0x1e0]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0x1f0
lea eax, [ebp - 0x3d4]
mov dword [ebp - 0x3d8], 0x20
push 0
push eax
call fcn.004148f0
movups xmm0, xmmword [0x435b80]
mov eax, dword [0x435ba8]
add esp, 0xc
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x4c]
movups xmmword [ebp - 0x78], xmm0
movups xmm0, xmmword [0x435b90]
push 0x38
push 0
movups xmmword [ebp - 0x68], xmm0
push eax
movq xmm0, qword [0x435ba0]
movq qword [ebp - 0x58], xmm0
call fcn.004148f0
add esp, 0xc
push 0x435bac
call fcn.004183a5
lea edx, [ebp - 0x3d8]
add esp, 4
sub edx, eax
nop
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x403bd0
lea ecx, [ebp - 0x3d8]
add ecx, 0xfffffffe
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x403bf0
mov eax, dword [0x435bc4]
lea edx, [ebp - 0x1e0]
mov dword [ecx], eax
mov esi, edx
mov eax, dword [0x435bc8]
mov dword [ecx + 4], eax
mov eax, dword [0x435bcc]
mov dword [ecx + 8], eax
mov eax, dword [0x435bd0]
mov dword [ecx + 0xc], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x403c23
lea edi, [ebp - 0x3d8]
sub edx, esi
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x403c40
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x78]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x403c60
lea edi, [ebp - 0x3d8]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x403c76
mov ecx, edx
lea eax, [ebp - 0x3e8]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
sub esp, 8
lea eax, [ebp - 0x3d8]
lea ecx, [ebp - 0x4b0]
push 1
push eax
call fcn.00409c80
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x4b0]
mov eax, dword [ecx + 4]
cmp dword [ebp + eax - 0x4a4], 0
je 0x404228
push 0xc8
lea eax, [ebp - 0x140]
push 0
push eax
call fcn.004148f0
add esp, 0xc
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ecx + 0x435208]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x142], ax
test ax, ax
jne 0x403cf0
movzx ecx, word [ebp - 0x3e2]
push 0xa
lea eax, [ecx + 4]
cmp eax, 0x1f
lea eax, [ebp - 0x78]
push eax
lea eax, [ecx + 4]
jle 0x403d22
lea eax, [ecx - 0x1b]
push eax
call fcn.004184a8
lea ecx, [ebp - 0x78]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403d31
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x403d63
lea edi, [ebp - 0x140]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x403d50
mov eax, dword [0x435bd4]
mov dword [edi], eax
lea edx, [ebp - 0x78]
mov esi, edx
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x403d70
lea edi, [ebp - 0x140]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x403d86
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x140]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x403db0
mov eax, dword [0x435bd8]
mov dword [edi], eax
lea eax, [ebp - 0x78]
push 0xa
push eax
movzx eax, word [ebp - 0x3e6]
push eax
call fcn.004184a8
lea ecx, [ebp - 0x78]
add esp, 0xc
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403de0
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x403e13
lea edi, [ebp - 0x140]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x403e00
mov eax, dword [0x435bd4]
mov dword [edi], eax
lea edx, [ebp - 0x78]
mov esi, edx
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x403e20
lea edi, [ebp - 0x140]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x403e36
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x140]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x403e60
mov eax, dword [0x435bd8]
mov dword [edi], eax
lea eax, [ebp - 0x78]
push 0xa
push eax
movzx eax, word [ebp - 0x3e8]
push eax
call fcn.004184a8
lea ecx, [ebp - 0x78]
add esp, 0xc
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403e90
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x403ec3
lea edi, [ebp - 0x140]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x403eb0
mov eax, dword [0x435bd4]
mov dword [edi], eax
lea edx, [ebp - 0x78]
mov esi, edx
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x403ed0
lea edi, [ebp - 0x140]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x403ee6
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x140]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x403f10
mov eax, dword [0x435b7c]
mov dword [edi], eax
lea eax, [ebp - 0x78]
push 0xa
push eax
movzx eax, word [ebp - 0x3e0]
push eax
call fcn.004184a8
lea ecx, [ebp - 0x78]
add esp, 0xc
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403f40
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x403f73
lea edi, [ebp - 0x140]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x403f60
mov eax, dword [0x435bd4]
mov dword [edi], eax
lea edx, [ebp - 0x78]
mov esi, edx
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x403f80
lea edi, [ebp - 0x140]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x403f96
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x140]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x403fc0
mov eax, dword [0x435bdc]
mov dword [edi], eax
lea eax, [ebp - 0x78]
push 0xa
push eax
movzx eax, word [ebp - 0x3de]
push eax
call fcn.004184a8
lea ecx, [ebp - 0x78]
add esp, 0xc
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403ff0
sub ecx, edx
sar ecx, 1
cmp ecx, 1
jne 0x404023
lea edi, [ebp - 0x140]
add edi, 0xfffffffe
nop dword [eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x404010
mov eax, dword [0x435bd4]
mov dword [edi], eax
lea edx, [ebp - 0x78]
mov esi, edx
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x404030
lea edi, [ebp - 0x140]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x404046
mov ecx, edx
lea eax, [ebp - 0x3d8]
shr ecx, 2
sub esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [ebp - 0x560]
call fcn.00409890
lea edx, [ebp - 0x140]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x560]
call fcn.0040e7c0
cmp dword [ebp - 0x510], 0
lea esi, [ebp - 0x55c]
jne 0x40409d
xor esi, esi
jmp 0x4040c4
lea ecx, [ebp - 0x55c]
call fcn.0040ce30
push dword [ebp - 0x510]
xor ecx, ecx
test al, al
cmove esi, ecx
call fcn.0041a10e
xor ecx, ecx
add esp, 4
test eax, eax
cmovne esi, ecx
push 2
push 0
lea ecx, [ebp - 0x55c]
call fcn.0040cfa0
test esi, esi
jne 0x4040fe
mov eax, dword [ebp - 0x560]
lea ecx, [ebp - 0x560]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], esi
jne 0x4040f6
or eax, 4
push 0
push eax
call fcn.00402970
mov eax, dword [ebp - 0x560]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x560]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x564], eax
lea ecx, [ebp - 0x55c]
call fcn.0040a5e0
mov eax, dword [ebp - 0x560]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x560]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x564], eax
lea eax, [ebp - 0x4f8]
mov byte [ebp - 4], 4
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00411d62
add esp, 4
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x4b0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x4b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x4b4], eax
lea ecx, [ebp - 0x4a0]
call fcn.0040a5e0
mov eax, dword [ebp - 0x4b0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x4b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x4b4], eax
lea eax, [ebp - 0x440]
mov byte [ebp - 4], 7
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00411d62
push ecx
push 1
lea eax, [ebp - 0x3d8]
mov dword [ebp - 4], 0xffffffff
push eax
lea ecx, [ebp - 0x4b0]
call fcn.00409c80
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x4b0]
mov eax, dword [ecx + 4]
cmp dword [ebp + eax - 0x4a4], 0
jne 0x403cd2
mov eax, dword [ecx + 4]
test byte [ebp + eax - 0x4a4], 1
jne 0x4042bb
nop dword [eax]
lea ecx, [ebp - 0x4b0]
add ecx, eax
lea eax, [ebp - 0x3f4]
push eax
call fcn.00402a50
push eax
mov byte [ebp - 4], 8
call fcn.0040fc30
add esp, 4
mov esi, eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x3f0]
test ecx, ecx
je 0x404282
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x404282
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov byte [ebp - 4], 0
mov ecx, esi
mov eax, dword [esi]
push 0xa
call dword [eax + 0x30]
movzx eax, ax
lea ecx, [ebp - 0x4b0]
push eax
sub esp, 8
lea eax, [ebp - 0x174]
push eax
call fcn.0040d250
mov eax, dword [ebp - 0x4b0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x4a4], 1
je 0x404240
cmp dword [ebp - 0x454], 0
lea esi, [ebp - 0x4a0]
jne 0x4042ce
xor esi, esi
jmp 0x4042f5
lea ecx, [ebp - 0x4a0]
call fcn.0040ce30
push dword [ebp - 0x454]
xor ecx, ecx
test al, al
cmove esi, ecx
call fcn.0041a10e
xor ecx, ecx
add esp, 4
test eax, eax
cmovne esi, ecx
push 2
push 0
lea ecx, [ebp - 0x4a0]
call fcn.0040cfa0
test esi, esi
jne 0x40432f
mov eax, dword [ebp - 0x4b0]
lea ecx, [ebp - 0x4b0]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx + 0xc]
or eax, 2
cmp dword [ecx + 0x38], esi
jne 0x404327
or eax, 4
push 0
push eax
call fcn.00402970
push 0x12c
call fcn.0041070d
mov ebx, eax
mov edx, 0x435be0
mov esi, ebx
add esp, 4
sub esi, edx
nop word [eax + eax]
movzx ecx, word [edx]
lea edx, [edx + 2]
mov word [edx + esi - 2], cx
test cx, cx
jne 0x404350
lea edx, [ebp - 0x174]
mov esi, edx
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x404370
sub edx, esi
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x404380
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x4b0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x4b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x4b4], eax
lea ecx, [ebp - 0x4a0]
call fcn.0040a5e0
mov eax, dword [ebp - 0x4b0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x4b0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x4b4], eax
lea eax, [ebp - 0x440]
mov byte [ebp - 4], 0xc
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00411d62
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041020c
mov esp, ebp
pop ebp
ret