Function at 0x100269e6
Capabilities:
Get session user name

Disassembly:
push 0x23c
mov eax, 0x100406c3
call fcn.100297ca
xor esi, esi
mov ebx, ecx
mov dword [ebp - 0x1f4], ebx
mov dword [ebp - 0x204], esi
mov dword [ebp - 0x200], MsiConfigureFeatureFromDescriptorA
mov dword [ebp - 0x1fc], str.Softwareprojonepodlp_rptcachependings_
mov edi, 0x80
cmp word [0x100524b8], si
jne 0x10026b09
xor eax, eax
push 0xfe
mov word [ebp - 0x1b4], ax
lea eax, [ebp - 0x1b2]
push esi
push eax
call fcn.1002aad0
add esp, 0xc
lea eax, [ebp - 0x1f8]
push eax
lea eax, [ebp - 0x1b4]
push eax
mov dword [ebp - 0x1f8], edi
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x10026b09
push str.system
lea eax, [ebp - 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10026ad9
lea eax, [ebp - 0x1d0]
push eax
mov edx, str.agentUser
mov ecx, str.Softwareprojonepodlp_smpcache_
call fcn.10018b74
pop ecx
cmp dword [ebp - 0x1bc], esi
jne 0x10026aa8
lea eax, [ebp - 0x1b4]
jmp 0x10026abd
cmp dword [ebp - 0x1b8], 8
mov eax, dword [ebp - 0x1cc]
jae 0x10026abd
lea eax, [ebp - 0x1cc]
push edi
push eax
push 0x100524b8
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea esi, [ebp - 0x1d0]
call fcn.10001b10
xor esi, esi
jmp 0x10026b09
call fcn.1001a258
test eax, eax
jne 0x10026af6
mov dword [ebp - 0x200], MsiConfigureFeatureFromDescriptorA
mov dword [ebp - 0x1fc], str.Softwareprojonepodlp_rptcachependings
push edi
lea eax, [ebp - 0x1b4]
push eax
push 0x100524b8
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp byte [0x100525b8], 0
jne 0x10026b45
lea eax, [ebp - 0x248]
push eax
call fcn.1002411a
cmp dword [eax + 0x18], 0x10
pop ecx
jb 0x10026b2a
mov eax, dword [eax + 4]
jmp 0x10026b2d
add eax, 4
push edi
push eax
push 0x100525b8
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea ecx, [ebp - 0x248]
call fcn.10001a70
cmp word [0x100524b8], si
je 0x10026c3a
cmp byte [0x100525b8], 0
je 0x10026c3a
cmp byte [ebx + 8], 7
jne 0x10026c3a
push str.i_action
lea ecx, [ebp - 0x248]
call fcn.10001a00
sub esp, 0x1c
mov dword [ebp - 4], esi
mov ecx, esp
mov dword [ebp - 0x1f0], esp
push 0x10043a8c
call fcn.10001a00
mov esi, ebx
lea edi, [ebp - 0x248]
lea ebx, [ebp - 0x1ec]
call fcn.100240c5
add esp, 0x1c
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.10001a70
mov ecx, str.replace
mov edi, ebx
call fcn.10015c60
test al, al
jne 0x10026bd0
mov ecx, str.delete
call fcn.10015c60
test al, al
je 0x10026c42
push dword [ebp - 0x1f4]
mov esi, str.i_key_columns
mov edx, esi
call fcn.1001e0e1
cmp byte [eax + 8], 4
jne 0x10026c15
push dword [ebp - 0x1f4]
mov edx, esi
call fcn.1001e0e1
push eax
lea ecx, [ebp - 0x1d0]
call fcn.1001d3f7
cmp dword [eax + 0x14], 0
mov dword [ebp - 0x204], 1
je 0x10026c15
xor bl, bl
jmp 0x10026c17
mov bl, 1
test byte [ebp - 0x204], 1
je 0x10026c2b
lea ecx, [ebp - 0x1d0]
call fcn.10001a70
test bl, bl
je 0x10026c42
lea ecx, [ebp - 0x1ec]
call fcn.10001a70
xor eax, eax
call fcn.1002984d
ret
push dword [ebp - 0x1f4]
lea ebx, [ebp - 0x22c]
call fcn.1001d0f5
sub esp, 0x18
mov byte [ebp - 4], 3
mov esi, esp
mov dword [ebp - 0x1f0], esp
push str.t_process_log
call fcn.1001d038
mov eax, ebx
push eax
mov edx, str.i_dt
mov byte [ebp - 4], 4
call fcn.1001e144
mov edi, eax
mov byte [ebp - 4], 3
call fcn.1001d30c
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x1f0], esp
push 0x100525b8
call fcn.1001d038
mov eax, ebx
push eax
mov edx, str.client_unique
mov byte [ebp - 4], 5
call fcn.1001e144
mov edi, eax
mov byte [ebp - 4], 3
call fcn.1001d30c
mov eax, ebx
mov edi, str.user_name
push eax
mov edx, edi
call fcn.1001e144
cmp byte [eax + 8], 0
jne 0x10026d37
mov eax, 0x100524b8
lea ecx, [ebp - 0x1d0]
call fcn.10001aa0
lea eax, [ebp - 0x1d0]
push eax
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.10002d90
sub esp, 0x14
mov byte [ebp - 4], 7
mov edx, eax
mov esi, esp
mov dword [ebp - 0x1f0], esp
call fcn.1001d0b9
mov eax, ebx
push eax
mov edx, edi
mov byte [ebp - 4], 8
call fcn.1001e144
mov edi, eax
mov byte [ebp - 4], 7
call fcn.1001d30c
lea ecx, [ebp - 0x30]
call fcn.10001a70
lea esi, [ebp - 0x1d0]
mov byte [ebp - 4], 3
call fcn.10001b10
lea eax, [ebp - 0x22c]
push eax
mov edx, str.data_time
call fcn.1001e144
cmp byte [eax + 8], 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetLocalTime]
jne 0x10026de7
push 7
xor eax, eax
mov byte [ebp - 0x34], 0
pop ecx
lea edi, [ebp - 0x33]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x1c4]
push eax
call ebx
movzx eax, word [ebp - 0x1b8]
push eax
movzx eax, word [ebp - 0x1ba]
push eax
movzx eax, word [ebp - 0x1bc]
push eax
movzx eax, word [ebp - 0x1be]
push eax
movzx eax, word [ebp - 0x1c2]
push eax
movzx eax, word [ebp - 0x1c4]
push eax
push str._04d__02d__02d__02d:_02d:_02d
lea eax, [ebp - 0x34]
push 0x20
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0xc
lea eax, [ebp - 0x34]
mov esi, esp
mov dword [ebp - 0x1f0], esp
push eax
call fcn.1001d038
lea eax, [ebp - 0x22c]
push eax
mov edx, str.data_time
mov byte [ebp - 4], 9
call fcn.1001e144
mov edi, eax
mov byte [ebp - 4], 3
call fcn.1001d30c
xor eax, eax
push 0x7e
push eax
mov word [ebp - 0xb4], ax
lea eax, [ebp - 0xb2]
push eax
call fcn.1002aad0
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
call ebx
mov esi, dword [0x10052638]
inc dword [0x10052638]
call fcn.10017d91
push eax
movzx eax, word [ebp - 0x208]
push esi
push eax
movzx eax, word [ebp - 0x20a]
push eax
movzx eax, word [ebp - 0x20c]
push eax
movzx eax, word [ebp - 0x20e]
push eax
movzx eax, word [ebp - 0x212]
push eax
movzx eax, word [ebp - 0x214]
push eax
push str._04d__02d__02d__02d:_02d:_02d__d__08x
lea eax, [ebp - 0xb4]
push 0x40
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x2c
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x1d0]
call fcn.1001e553
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x13
call fcn.10002c90
cmp dword [eax + 0x18], 8
pop ecx
jb 0x10026e90
mov eax, dword [eax + 4]
jmp 0x10026e93
add eax, 4
mov ebx, dword [ebp - 0x1fc]
mov edi, dword [ebp - 0x200]
lea ecx, [ebp - 0xb4]
push ecx
mov esi, eax
call fcn.10018b2a
lea esi, [ebp - 0x30]
mov edi, eax
call fcn.10001b10
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 3
call fcn.10001a70
test edi, edi
je 0x10026efc
push str.GlobalD36B0A68_AE78_4fa2_BD9C_05FD95224F52
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov dword [ebp - 0x1f8], eax
test eax, eax
je 0x10026eef
cmp eax, 0xffffffff
je 0x10026eef
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
lea ecx, [ebp - 0x1f8]
call fcn.100089e0
jmp 0x10026f1d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xb4]
push eax
push dword [ebp - 0x1fc]
push str.CachedReport_write_register_failed:__s._s__d
call fcn.10019f9c
add esp, 0x10
lea esi, [ebp - 0x22c]
mov byte [ebp - 4], 2
call fcn.1001d289
lea ecx, [ebp - 0x1ec]
call fcn.10001a70
mov eax, edi
jmp 0x10026c3c