Function at 0x100357e0
Capabilities:
Get session user name
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017c23c
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x101f9224]
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
mov esi, ecx
mov dword [ebp - 0x178], esi
lea ecx, [ebp - 0x174]
call sub.RZLSysBase.dll_public:_void___thiscall_RZLTime::constructor_void_
push 0
lea ecx, [ebp - 0x170]
call sub.rzlsys.dll_public:_void___thiscall_RZLDateEx::constructor_enum_RZLDateEx::PredefDate_
mov eax, dword [esi + 0x42]
lea ecx, [ebp - 0x148]
push 0x101f8168
mov dword [ebp - 0x14c], eax
call fcn.10005a50
lea eax, [ebp - 0x170]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x130]
call sub.rzlsys.dll_public:_void___thiscall_RZLDateEx::constructor_class_RZLDateEx_const__
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp - 0x12c]
call sub.RZLSysBase.dll_public:_void___thiscall_RZLTime::constructor_class_RZLTime_const__
lea eax, [ebp - 0x168]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x168], 0xff
push eax
mov byte [ebp - 0x110], 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100358a7
sub ecx, edx
lea eax, [ebp - 0x110]
push ecx
push eax
lea ecx, [ebp - 0x148]
call fcn.1000cb10
push 0
lea ecx, [ebp - 0x16c]
call sub.rzlsys.dll_public:_void___thiscall_RZLDateEx::constructor_enum_RZLDateEx::PredefDate_
push eax
lea ecx, [ebp - 0x130]
call sub.rzlsys.dll_public:_class_RZLDateEx____thiscall_RZLDateEx::operator_class_RZLDateEx_const__
lea ecx, [ebp - 0x16c]
call sub.RZLSysBase.dll_public:_void___thiscall_RZLTime::constructor_void_
push eax
lea ecx, [ebp - 0x12c]
call sub.RZLSysBase.dll_public:_class_RZLTime____thiscall_RZLTime::operator_class_RZLTime_const__
lea edi, [esi + 0x78]
mov dword [ebp - 0x16c], edi
mov edi, dword [edi]
cmp edi, dword [esi + 0x7c]
je 0x10035b2c
jmp 0x10035910
lea eax, [ebp - 0x148]
push eax
lea ecx, [ebp - 0x164]
call fcn.10005a50
lea eax, [edi + 4]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x128]
call fcn.10005a50
cmp dword [ebp - 0x150], 0x10
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 3
jb 0x1003594e
mov ecx, dword [ebp - 0x164]
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
jb 0x10035963
mov eax, dword [ebp - 0x128]
push ecx
push eax
call sub.RZLSysBase.dll_int___stdcall_Chr::StrICmp_char_const___char_const__
mov edx, dword [ebp - 0x114]
test eax, eax
mov byte [ebp - 4], 2
sete bl
cmp edx, 0x10
jb 0x100359ad
mov ecx, dword [ebp - 0x128]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100359a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10035b6a
push edx
push ecx
call fcn.10175e59
add esp, 8
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x10035a06
mov ecx, dword [ebp - 0x164]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100359fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10035b6a
push edx
push ecx
call fcn.10175e59
add esp, 8
add edi, 0x24
test bl, bl
jne 0x10035a1b
cmp edi, dword [esi + 0x7c]
jne 0x10035910
jmp 0x10035b2c
mov ebx, dword [esi + 0x7c]
mov dword [ebp - 0x168], ebx
cmp edi, ebx
je 0x10035ae6
lea esi, [edi - 0x20]
nop
mov eax, dword [edi]
lea ebx, [esi + 0x24]
mov dword [esi - 4], eax
cmp esi, ebx
je 0x10035ab3
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x10035a6f
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10035a65
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10035b6a
mov eax, edx
push ecx
push eax
call fcn.10175e59
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov eax, dword [ebx]
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [esi + 0x14], eax
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0xf
mov byte [ebx], 0
lea eax, [esi + 0x3c]
push eax
lea ecx, [esi + 0x18]
call sub.rzlsys.dll_public:_class_RZLDateEx____thiscall_RZLDateEx::operator_class_RZLDateEx_const__
lea eax, [esi + 0x40]
push eax
lea ecx, [esi + 0x1c]
call sub.RZLSysBase.dll_public:_class_RZLTime____thiscall_RZLTime::operator_class_RZLTime_const__
add edi, 0x24
add esi, 0x24
cmp edi, dword [ebp - 0x168]
jne 0x10035a30
mov esi, dword [ebp - 0x178]
mov ebx, dword [esi + 0x7c]
mov ecx, dword [ebx - 0xc]
cmp ecx, 0x10
jb 0x10035b16
mov eax, dword [ebx - 0x20]
inc ecx
cmp ecx, 0x1000
jb 0x10035b0c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10035b6a
mov eax, edx
push ecx
push eax
call fcn.10175e59
add esp, 8
mov dword [ebx - 0x10], 0
mov dword [ebx - 0xc], 0xf
mov byte [ebx - 0x20], 0
add dword [esi + 0x7c], 0xffffffdc
mov ecx, dword [ebp - 0x16c]
lea eax, [ebp - 0x14c]
push eax
call fcn.10034df0
mov edx, dword [ebp - 0x134]
cmp edx, 0x10
jb 0x10035b7a
mov ecx, dword [ebp - 0x148]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10035b70
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10035b70
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10175e59
add esp, 8
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.10175e83
mov esp, ebp
pop ebp
ret