Function at 0x4265fb
Capabilities:
Get session user name

Disassembly:
push 0x190
mov eax, 0x481366
call fcn.0046638a
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x170], esi
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x180], ebx
mov edi, 0x80
cmp word [0x4a7b28], bx
jne 0x426703
xor eax, eax
push 0xfe
mov word [ebp - 0x134], ax
lea eax, [ebp - 0x132]
push ebx
push eax
call fcn.004667e0
add esp, 0xc
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x134]
push eax
mov dword [ebp - 0x178], edi
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x426703
push 0x48ac08
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4266f0
push str.agentUser
push str.Softwareprojonepodlp_smpcache_
push reloc.WS2_32.dll_bind
lea esi, [ebp - 0x150]
call fcn.004115b2
add esp, 0xc
cmp dword [ebp - 0x13c], ebx
jne 0x4266b8
lea eax, [ebp - 0x134]
jmp 0x4266cd
cmp dword [ebp - 0x138], 8
mov eax, dword [ebp - 0x14c]
jae 0x4266cd
lea eax, [ebp - 0x14c]
push edi
push eax
push 0x4a7b28
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push ebx
push 1
lea esi, [ebp - 0x150]
call fcn.00404960
mov esi, dword [ebp - 0x170]
jmp 0x426703
push edi
lea eax, [ebp - 0x134]
push eax
push 0x4a7b28
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp byte [0x4a7c28], bl
jne 0x426745
lea eax, [ebp - 0x19c]
push eax
call fcn.004137e3
cmp dword [eax + 0x18], 0x10
pop ecx
jb 0x426723
mov eax, dword [eax + 4]
jmp 0x426726
add eax, 4
push edi
push eax
push 0x4a7c28
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x19c]
call fcn.00404863
jmp 0x426748
xor edi, edi
inc edi
cmp word [0x4a7b28], bx
je 0x42685b
cmp byte [0x4a7c28], bl
je 0x42685b
cmp byte [esi + 8], 7
jne 0x42685b
push str.i_action
lea ecx, [ebp - 0x19c]
call fcn.004044d0
sub esp, 0x1c
mov dword [ebp - 4], ebx
mov ecx, esp
mov dword [ebp - 0x178], esp
push 0x485f3b
call fcn.004044d0
lea eax, [ebp - 0x19c]
push eax
lea eax, [ebp - 0x16c]
push eax
call fcn.004018e4
add esp, 0x24
push ebx
push edi
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 2
call fcn.00404863
push str.replace
lea eax, [ebp - 0x16c]
call fcn.00405b4c
pop ecx
test al, al
jne 0x4267e4
push str.delete
lea eax, [ebp - 0x16c]
call fcn.00405b4c
pop ecx
test al, al
je 0x426863
push dword [ebp - 0x170]
mov esi, str.i_key_columns
mov edx, esi
call fcn.0041eee7
cmp byte [eax + 8], 4
jne 0x426829
lea eax, [ebp - 0x150]
push eax
push ecx
push dword [ebp - 0x170]
mov edx, esi
call fcn.0041eee7
pop ecx
push eax
call fcn.0041e013
mov dword [ebp - 0x180], edi
mov byte [ebp - 0x171], bl
cmp dword [eax + 0x14], ebx
jne 0x426830
mov byte [ebp - 0x171], 1
test byte [ebp - 0x180], 1
je 0x426846
push ebx
push edi
lea ecx, [ebp - 0x150]
call fcn.00404863
cmp byte [ebp - 0x171], bl
je 0x426863
push ebx
push edi
lea ecx, [ebp - 0x16c]
call fcn.00404863
xor eax, eax
call fcn.0046640d
ret
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x178], esp
push str.t_client_basic_event
call fcn.0041dbcd
push dword [ebp - 0x170]
mov edx, str.i_dt
mov byte [ebp - 4], 3
call fcn.0041eee7
mov edi, eax
mov byte [ebp - 4], 2
call fcn.0041dea7
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x178], esp
push 0x4a7c28
call fcn.0041dbcd
push dword [ebp - 0x170]
mov edx, str.client_unique
mov byte [ebp - 4], 4
call fcn.0041eee7
mov edi, eax
mov byte [ebp - 4], 2
call fcn.0041dea7
push dword [ebp - 0x170]
mov edi, str.user_name
mov edx, edi
call fcn.0041eee7
cmp byte [eax + 8], bl
jne 0x426a2f
push ebx
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xcc], 0xf
call fcn.00404b61
lea esi, [ebp - 0xc8]
call fcn.004044bd
lea esi, [ebp - 0xa8]
mov dword [ebp - 0xac], ebx
call fcn.004044bd
lea esi, [ebp - 0x8c]
call fcn.004044bd
lea esi, [ebp - 0x70]
call fcn.004044bd
lea esi, [ebp - 0x54]
call fcn.004044bd
lea eax, [ebp - 0xe4]
push eax
mov byte [ebp - 4], 5
call fcn.00415066
pop ecx
test eax, eax
je 0x4269b5
cmp dword [ebp - 0xd0], ebx
je 0x4269b5
sub esp, 0x18
lea edx, [ebp - 0xe4]
mov esi, esp
mov dword [ebp - 0x178], esp
call fcn.0041dc4f
push dword [ebp - 0x170]
mov edx, edi
mov byte [ebp - 4], 6
call fcn.0041eee7
mov edi, eax
mov byte [ebp - 4], 5
call fcn.0041dea7
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x178], esp
push 1
call fcn.0041db88
push dword [ebp - 0x170]
mov edx, str.i_user_data
mov byte [ebp - 4], 7
call fcn.0041eee7
mov edi, eax
mov byte [ebp - 4], 5
call fcn.0041dea7
jmp 0x426a20
push 0x4a7b28
lea esi, [ebp - 0x150]
call fcn.00404522
mov eax, esi
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 8
call fcn.004012f3
sub esp, 0x10
mov byte [ebp - 4], 9
mov edx, eax
mov esi, esp
mov dword [ebp - 0x178], esp
call fcn.0041dc4f
push dword [ebp - 0x170]
mov edx, edi
mov byte [ebp - 4], 0xa
call fcn.0041eee7
mov edi, eax
mov byte [ebp - 4], 9
call fcn.0041dea7
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.00404863
push ebx
push 1
lea esi, [ebp - 0x150]
call fcn.00404960
lea esi, [ebp - 0xe4]
mov byte [ebp - 4], 2
call fcn.00426be4
push dword [ebp - 0x170]
mov edx, str.data_time
call fcn.0041eee7
cmp byte [eax + 8], bl
jne 0x426ad9
push 7
xor eax, eax
mov byte [ebp - 0x34], bl
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 - 0x178], esp
push eax
call fcn.0041dbcd
push dword [ebp - 0x170]
mov edx, str.data_time
mov byte [ebp - 4], 0xb
call fcn.0041eee7
mov edi, eax
mov byte [ebp - 4], 2
call fcn.0041dea7
cmp dword [ebp - 0x17c], ebx
je 0x426bce
push dword [ebp - 0x17c]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea esi, [ebp - 0x150]
call fcn.00404522
mov eax, esi
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0xc
call fcn.004012f3
sub esp, 0x10
mov byte [ebp - 4], 0xd
mov edx, eax
mov esi, esp
mov dword [ebp - 0x178], esp
call fcn.0041dc4f
push dword [ebp - 0x170]
mov edx, str.attach_name
mov byte [ebp - 4], 0xe
call fcn.0041eee7
mov edi, eax
mov byte [ebp - 4], 0xd
call fcn.0041dea7
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.00404863
push ebx
push 1
lea esi, [ebp - 0x150]
mov byte [ebp - 4], 2
call fcn.00404960
push dword [ebp - 0x17c]
lea esi, [ebp - 0x150]
call fcn.00404522
mov eax, esi
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0xf
call fcn.004012f3
sub esp, 0x10
mov byte [ebp - 4], 0x10
mov edx, eax
mov esi, esp
mov dword [ebp - 0x178], esp
call fcn.0041dc4f
push dword [ebp - 0x170]
mov edx, str.attachment
mov byte [ebp - 4], 0x11
call fcn.0041eee7
mov edi, eax
mov byte [ebp - 4], 0x10
call fcn.0041dea7
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.00404863
push ebx
push 1
lea esi, [ebp - 0x150]
call fcn.00404960
push ebx
push 1
lea ecx, [ebp - 0x16c]
call fcn.00404863
xor eax, eax
inc eax
jmp 0x42685d