Function at 0x100bbe90
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018ab5b
mov eax, dword fs:[0]
push eax
sub esp, 0x118
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 edi, ecx
cmp dword [edi + 0x43a], 0
jne 0x100bbf43
push edi
lea ecx, [ebp - 0x120]
call fcn.100a6170
mov dword [ebp - 4], 0
xor esi, esi
mov edi, edi
push esi
lea ecx, [edi + 0x180]
call fcn.1014a5a0
inc esi
cmp esi, 9
jl 0x100bbee0
push 0xc6
call fcn.10175e29
add esp, 4
mov dword [ebp - 0x114], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x100bbf17
push edi
mov ecx, eax
call fcn.10104410
jmp 0x100bbf19
xor eax, eax
mov dword [ebp - 0x114], eax
mov byte [ebp - 4], 0
test eax, eax
jne 0x100bbf4a
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 4], 2
mov dword [ebp - method.DocModTracker.virtual_0], vtable.DocModTracker.0
call fcn.100a6530
xor al, al
jmp 0x100bc0fe
push 0
lea ecx, [edi + 0x180]
call fcn.1014a5a0
push 5
push 0x101a92ec
lea ecx, [edi + 0x130]
mov esi, eax
call fcn.1000cb10
mov ebx, dword [ebp - 0x114]
mov ecx, ebx
push esi
call fcn.1010e110
mov edx, dword [edi + 0x188]
mov eax, edx
mov ecx, dword [edx + 4]
cmp byte [ecx + 0xd], 0
jne 0x100bbfad
lea ebx, [ebx]
cmp dword [ecx + 0x10], esi
jge 0x100bbf9a
mov ecx, dword [ecx + 8]
jmp 0x100bbf9e
mov eax, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0xd], 0
je 0x100bbf90
cmp eax, edx
je 0x100bbfad
cmp esi, dword [eax + 0x10]
jge 0x100bbfaf
mov eax, edx
cmp eax, edx
jne 0x100bbfb5
mov eax, dword [edx]
add eax, 0x14
mov ecx, ebx
push eax
call fcn.1010e440
push edi
lea ecx, [ebp - 0x118]
call fcn.100a6170
push 0
push ebx
lea ecx, [edi + 0x42e]
mov byte [ebp - 4], 3
call fcn.101164c0
mov ecx, dword [ebp - 0x114]
mov byte [ebp - 4], 4
mov dword [ebp - method.DocModTracker.virtual_0], vtable.DocModTracker.0
call fcn.100a6530
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 0
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x124], 0xff
push eax
mov byte [ebp - 0x110], 0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
push 0
lea ecx, [ebp - 0x114]
call sub.rzlsys.dll_public:_void___thiscall_RZLDateEx::constructor_enum_RZLDateEx::PredefDate_
push eax
lea ecx, [edi + 0x1c8]
call sub.rzlsys.dll_public:_class_RZLDateEx____thiscall_RZLDateEx::operator_class_RZLDateEx_const__
lea eax, [ebp - 0x110]
lea esi, [edi + 0x1d4]
push eax
mov ecx, esi
call sub.TL320mi.dll_Ordinal_144
push esi
lea ecx, [edi + 0x1d0]
call sub.TL320mi.dll_Ordinal_143
push 0
lea ecx, [ebp - 0x114]
call sub.rzlsys.dll_public:_void___thiscall_RZLDateEx::constructor_enum_RZLDateEx::PredefDate_
push eax
lea ecx, [edi + 0x1c4]
call sub.rzlsys.dll_public:_class_RZLDateEx____thiscall_RZLDateEx::operator_class_RZLDateEx_const__
mov eax, dword [sym.imp.rzlsys.dll_class_RZLApplication__thisRZLApp]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [edi + 0x1d8], eax
mov ecx, dword [sym.imp.rzlsys.dll_class_RZLApplication__thisRZLApp]
mov ecx, dword [ecx]
call sub.rzlsys.dll_Ordinal_10
mov ecx, edi
mov word [edi + 0x1b8], ax
mov word [edi + 0x1ba], ax
call fcn.100b86e0
mov ecx, edi
call fcn.100b8430
push 1
mov ecx, edi
call fcn.100bc120
mov ecx, dword [edi + 0x3c]
test ecx, ecx
je 0x100bc0c3
call dword [sym.imp.FormulaEngine.dll_public:_void___thiscall_CFormulaEngine::Enable_void_]
mov ecx, dword [ebp - 0x11c]
call fcn.100a6530
mov ecx, dword [ebp - 0x11c]
call fcn.100a63e0
mov byte [edi + 0xa2], 0
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 4], 5
mov dword [ebp - method.DocModTracker.virtual_0], vtable.DocModTracker.0
call fcn.100a6530
mov al, 1
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