Function at 0x100207ac
Capabilities:
Get session user name

Disassembly:
push 0x190
mov eax, 0x1003a6b4
call fcn.100237e2
mov eax, dword [ebp + 8]
xor esi, esi
mov ebx, ecx
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x180], esi
mov edi, 0x80
cmp word [0x1004b1b0], si
jne 0x100208a7
xor eax, eax
push 0xfe
mov word [ebp - 0x134], ax
lea eax, [ebp - 0x132]
push esi
push eax
call fcn.10027a00
add esp, 0xc
lea eax, [ebp - 0x174]
push eax
lea eax, [ebp - 0x134]
push eax
mov dword [ebp - 0x174], edi
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x100208a7
push str.system
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10020894
lea eax, [ebp - 0x150]
push eax
mov edx, str.agentUser
mov ecx, str.Softwareprojonepodlp_smpcache_
call fcn.100122c1
pop ecx
cmp dword [ebp - 0x13c], esi
jne 0x10020863
lea eax, [ebp - 0x134]
jmp 0x10020878
cmp dword [ebp - 0x138], 8
mov eax, dword [ebp - 0x14c]
jae 0x10020878
lea eax, [ebp - 0x14c]
push edi
push eax
push 0x1004b1b0
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea esi, [ebp - 0x150]
call fcn.1000e8a0
xor esi, esi
jmp 0x100208a7
push edi
lea eax, [ebp - 0x134]
push eax
push 0x1004b1b0
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp byte [0x1004b2b0], 0
jne 0x100208e3
lea eax, [ebp - 0x19c]
push eax
call fcn.10013b34
cmp dword [eax + 0x18], 0x10
pop ecx
jb 0x100208c8
mov eax, dword [eax + 4]
jmp 0x100208cb
add eax, 4
push edi
push eax
push 0x1004b2b0
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea ecx, [ebp - 0x19c]
call fcn.10003e80
cmp word [0x1004b1b0], si
je 0x100209ec
cmp byte [0x1004b2b0], 0
je 0x100209ec
cmp byte [ebx + 8], 7
jne 0x100209ec
push str.i_action
lea ecx, [ebp - 0x19c]
call fcn.10003e10
sub esp, 0x1c
mov dword [ebp - 4], esi
mov ecx, esp
mov dword [ebp - 0x174], esp
push 0x1003d9a1
call fcn.10003e10
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x19c]
mov edi, ebx
call fcn.1000bac0
add esp, 0x20
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 2
call fcn.10003e80
push str.replace
lea ecx, [ebp - 0x16c]
call fcn.10014eac
pop ecx
test al, al
jne 0x1002097f
push str.delete
lea ecx, [ebp - 0x16c]
call fcn.10014eac
pop ecx
test al, al
je 0x100209f4
mov esi, str.i_key_columns
push ebx
mov edx, esi
call fcn.10019f52
cmp byte [eax + 8], 4
jne 0x100209bd
push ebx
mov edx, esi
call fcn.10019f52
push eax
lea ecx, [ebp - 0x150]
call fcn.10019205
cmp dword [eax + 0x14], 0
mov dword [ebp - 0x180], 1
mov byte [ebp - 0x16d], 0
jne 0x100209c4
mov byte [ebp - 0x16d], 1
test byte [ebp - 0x180], 1
je 0x100209d8
lea ecx, [ebp - 0x150]
call fcn.10003e80
cmp byte [ebp - 0x16d], 0
je 0x100209f4
lea ecx, [ebp - 0x16c]
call fcn.10003e80
xor eax, eax
call fcn.10023865
ret
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x174], esp
push str.vt_multi_env_use_log
call fcn.10018dc6
push ebx
mov edx, str.i_dt
mov byte [ebp - 4], 3
call fcn.10019f52
mov edi, eax
mov byte [ebp - 4], 2
call fcn.1001909a
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x174], esp
push 0x1004b2b0
call fcn.10018dc6
push ebx
mov edx, str.client_unique
mov byte [ebp - 4], 4
call fcn.10019f52
mov edi, eax
mov byte [ebp - 4], 2
call fcn.1001909a
mov edi, str.user_name
push ebx
mov edx, edi
call fcn.10019f52
cmp byte [eax + 8], 0
jne 0x10020b9c
lea esi, [ebp - 0xe4]
call fcn.10020753
mov ebx, esi
mov byte [ebp - 4], 5
call fcn.100141e4
test eax, eax
je 0x10020aed
cmp dword [ebp - 0xd0], 0
je 0x10020aed
sub esp, 0x18
mov edx, esi
mov esi, esp
mov dword [ebp - 0x174], esp
call fcn.10018e47
push dword [ebp - 0x178]
mov edx, edi
mov byte [ebp - 4], 6
call fcn.10019f52
mov edi, eax
mov byte [ebp - 4], 5
call fcn.1001909a
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x174], esp
push 1
call fcn.10018d81
push dword [ebp - 0x178]
mov edx, str.i_user_data
mov byte [ebp - 4], 7
call fcn.10019f52
mov edi, eax
mov byte [ebp - 4], 5
call fcn.1001909a
jmp 0x10020b56
mov eax, 0x1004b1b0
lea ecx, [ebp - 0x150]
call fcn.100041f0
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 8
call fcn.10001c80
sub esp, 0x10
mov byte [ebp - 4], 9
mov edx, eax
mov esi, esp
mov dword [ebp - 0x174], esp
call fcn.10018e47
push dword [ebp - 0x178]
mov edx, edi
mov byte [ebp - 4], 0xa
call fcn.10019f52
mov edi, eax
mov byte [ebp - 4], 9
call fcn.1001909a
lea ecx, [ebp - 0x30]
call fcn.10003e80
lea esi, [ebp - 0x150]
call fcn.1000e8a0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.10003e80
lea ecx, [ebp - 0x70]
call fcn.10003e80
lea ecx, [ebp - 0x8c]
call fcn.10003e80
lea ecx, [ebp - 0xa8]
call fcn.10003e80
lea ecx, [ebp - 0xc8]
call fcn.10003e80
lea ecx, [ebp - 0xe4]
call fcn.10003e80
mov ebx, dword [ebp - 0x178]
push ebx
mov edx, str.data_time
call fcn.10019f52
cmp byte [eax + 8], 0
jne 0x10020c3e
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 - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x138]
push eax
movzx eax, word [ebp - 0x13a]
push eax
movzx eax, word [ebp - 0x13c]
push eax
movzx eax, word [ebp - 0x13e]
push eax
movzx eax, word [ebp - 0x142]
push eax
movzx eax, word [ebp - 0x144]
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 - 0x174], esp
push eax
call fcn.10018dc6
push ebx
mov edx, str.data_time
mov byte [ebp - 4], 0xb
call fcn.10019f52
mov edi, eax
mov byte [ebp - 4], 2
call fcn.1001909a
cmp dword [ebp - 0x17c], 0
je 0x10020d25
push dword [ebp - 0x17c]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea ecx, [ebp - 0x150]
call fcn.100041f0
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0xc
call fcn.10001c80
sub esp, 0x10
mov byte [ebp - 4], 0xd
mov edx, eax
mov esi, esp
mov dword [ebp - 0x174], esp
call fcn.10018e47
push ebx
mov edx, str.attach_name
mov byte [ebp - 4], 0xe
call fcn.10019f52
mov edi, eax
mov byte [ebp - 4], 0xd
call fcn.1001909a
lea ecx, [ebp - 0x30]
call fcn.10003e80
lea esi, [ebp - 0x150]
mov byte [ebp - 4], 2
call fcn.1000e8a0
mov eax, dword [ebp - 0x17c]
lea ecx, [ebp - 0x150]
call fcn.100041f0
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0xf
call fcn.10001c80
sub esp, 0x10
mov byte [ebp - 4], 0x10
mov edx, eax
mov esi, esp
mov dword [ebp - 0x174], esp
call fcn.10018e47
push ebx
mov edx, str.attachment
mov byte [ebp - 4], 0x11
call fcn.10019f52
mov edi, eax
mov byte [ebp - 4], 0x10
call fcn.1001909a
lea ecx, [ebp - 0x30]
call fcn.10003e80
lea esi, [ebp - 0x150]
call fcn.1000e8a0
lea ecx, [ebp - 0x16c]
call fcn.10003e80
xor eax, eax
inc eax
jmp 0x100209ee