Function at 0x1001904f
Capabilities:
Copy file
Get session user name

Disassembly:
push 0x5c0
mov eax, 0x100546f8
call fcn.1003a5fc
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x594], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x590], esi
mov dword [ebp - 0x588], eax
mov dword [ebp - 0x58c], ebx
mov edi, 0x80
cmp word [0x10071230], bx
jne 0x1001915b
xor eax, eax
push 0xfe
mov word [ebp - 0x134], ax
lea eax, [ebp - 0x132]
push ebx
push eax
call fcn.1003af40
add esp, 0xc
lea eax, [ebp - 0x580]
push eax
lea eax, [ebp - 0x134]
push eax
mov dword [ebp - 0x580], edi
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x1001915b
push str.system
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10019148
push str.agentUser
push str.Softwareprojonepodlp_smpcache_
lea eax, [ebp - 0x560]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
call fcn.10004432
add esp, 0x10
cmp dword [ebp - 0x54c], ebx
jne 0x10019116
lea eax, [ebp - 0x134]
jmp 0x1001912b
cmp dword [ebp - 0x548], 8
mov eax, dword [ebp - 0x55c]
jae 0x1001912b
lea eax, [ebp - 0x55c]
push edi
push eax
push 0x10071230
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push ebx
push 1
lea ecx, [ebp - 0x560]
call fcn.10005a9d
jmp 0x1001915b
push edi
lea eax, [ebp - 0x134]
push eax
push 0x10071230
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp byte [0x10071330], bl
jne 0x10019199
lea eax, [ebp - 0x5cc]
push eax
call fcn.1001c57a
cmp dword [eax + 0x18], 0x10
pop ecx
jb 0x1001917b
mov eax, dword [eax + 4]
jmp 0x1001917e
add eax, 4
push edi
push eax
push 0x10071330
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push ebx
push 1
lea ecx, [ebp - 0x5cc]
call fcn.1000588b
cmp word [0x10071230], bx
je 0x100192b5
cmp byte [0x10071330], bl
je 0x100192b5
cmp dword [ebp - 0x594], ebx
je 0x100192b5
cmp byte [esi + 8], 7
jne 0x100192b5
push str.i_action
lea ecx, [ebp - 0x5cc]
call fcn.10004ab2
sub esp, 0x1c
mov dword [ebp - 4], ebx
mov ecx, esp
mov dword [ebp - 0x580], esp
push 0x1005c03b
call fcn.10004ab2
lea eax, [ebp - 0x5cc]
push eax
lea eax, [ebp - 0x57c]
push esi
push eax
call fcn.10018ea0
add esp, 0x28
push ebx
push 1
lea ecx, [ebp - 0x5cc]
mov byte [ebp - 4], 2
call fcn.1000588b
push str.replace
lea ecx, [ebp - 0x57c]
call fcn.1000b017
test eax, eax
je 0x10019241
push str.delete
lea ecx, [ebp - 0x57c]
call fcn.1000b017
test eax, eax
jne 0x100192bd
mov edi, str.i_key_columns
push edi
mov ecx, esi
call fcn.1001093c
cmp byte [eax + 8], 4
jne 0x10019281
lea eax, [ebp - 0x5b0]
push eax
push ecx
push edi
mov ecx, esi
call fcn.1001093c
pop ecx
mov ecx, eax
call fcn.1000fa75
mov dword [ebp - 0x58c], 1
mov byte [ebp - 0x581], bl
cmp dword [eax + 0x14], ebx
jne 0x10019288
mov byte [ebp - 0x581], 1
test byte [ebp - 0x58c], 1
je 0x1001929f
push ebx
push 1
lea ecx, [ebp - 0x5b0]
call fcn.1000588b
cmp byte [ebp - 0x581], bl
je 0x100192bd
push ebx
push 1
lea ecx, [ebp - 0x57c]
call fcn.1000588b
xor eax, eax
call fcn.1003a67f
ret
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x580], esp
push dword [ebp - 0x594]
call fcn.1000f5ee
push str.i_dt
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.1001093c
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1000f908
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x580], esp
push 0x10071330
call fcn.1000f5ee
push str.client_unique
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.1001093c
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1000f908
mov edi, str.user_name
push edi
mov ecx, esi
call fcn.1001093c
cmp byte [eax + 8], bl
jne 0x1001947e
push ebx
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xcc], 0xf
call fcn.10006679
lea ecx, [ebp - 0xc8]
call fcn.10004a79
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xac], ebx
call fcn.10004a79
lea ecx, [ebp - 0x8c]
call fcn.10004a79
lea ecx, [ebp - 0x70]
call fcn.10004a79
lea ecx, [ebp - 0x54]
call fcn.10004a79
lea ebx, [ebp - 0xe4]
mov byte [ebp - 4], 5
call fcn.1001cc44
test eax, eax
je 0x100193f6
cmp dword [ebp - 0xd0], 0
je 0x100193f6
sub esp, 0x18
mov eax, ebx
mov ecx, esp
mov dword [ebp - 0x580], esp
push eax
call fcn.1000f6a5
push edi
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.1001093c
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.1000f908
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x580], esp
push 1
call fcn.1000f58c
push str.i_user_data
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.1001093c
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.1000f908
jmp 0x10019467
push 0x10071230
lea ecx, [ebp - 0x560]
call fcn.10004b35
lea eax, [ebp - 0x560]
push eax
lea eax, [ebp - 0x5b0]
push eax
mov byte [ebp - 4], 8
call fcn.1000ab65
sub esp, 0x10
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x580], esp
push eax
call fcn.1000f6a5
push edi
mov ecx, esi
mov byte [ebp - 4], 0xa
call fcn.1001093c
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.1000f908
push 0
push 1
lea ecx, [ebp - 0x5b0]
call fcn.1000588b
push 0
push 1
lea ecx, [ebp - 0x560]
call fcn.10005a9d
lea esi, [ebp - 0xe4]
mov byte [ebp - 4], 2
call fcn.10019738
mov esi, dword [ebp - 0x590]
xor ebx, ebx
push str.data_time
mov ecx, esi
call fcn.1001093c
cmp byte [eax + 8], bl
jne 0x10019520
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 - 0x554]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x548]
push eax
movzx eax, word [ebp - 0x54a]
push eax
movzx eax, word [ebp - 0x54c]
push eax
movzx eax, word [ebp - 0x54e]
push eax
movzx eax, word [ebp - 0x552]
push eax
movzx eax, word [ebp - 0x554]
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 ecx, esp
mov dword [ebp - 0x580], esp
push eax
call fcn.1000f5ee
push str.data_time
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.1001093c
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1000f908
cmp dword [ebp - 0x588], ebx
je 0x10019722
push dword [ebp - 0x588]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x560]
call fcn.10004b35
lea eax, [ebp - 0x560]
push eax
lea eax, [ebp - 0x5b0]
push eax
mov byte [ebp - 4], 0xc
call fcn.1000ab65
sub esp, 0x10
mov byte [ebp - 4], 0xd
mov ecx, esp
mov dword [ebp - 0x580], esp
push eax
call fcn.1000f6a5
push str.attach_name
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.1001093c
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.1000f908
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x5b0]
call fcn.1000588b
push ebx
push edi
lea ecx, [ebp - 0x560]
mov byte [ebp - 4], 2
call fcn.10005a9d
cmp dword [ebp + 0x10], ebx
je 0x10019623
push dword [ebp - 0x588]
lea ecx, [ebp - 0x560]
call fcn.10004b35
lea eax, [ebp - 0x560]
push eax
lea eax, [ebp - 0x5b0]
push eax
mov byte [ebp - 4], 0xf
call fcn.1000ab65
sub esp, 0x10
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x580], esp
push eax
call fcn.1000f6a5
push str.attachment
mov ecx, esi
mov byte [ebp - 4], 0x11
call fcn.1001093c
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.1000f908
push ebx
push edi
lea ecx, [ebp - 0x5b0]
call fcn.1000588b
push ebx
push edi
lea ecx, [ebp - 0x560]
jmp 0x1001971d
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x33c], ax
lea eax, [ebp - 0x33a]
push ebx
push eax
call fcn.1003af40
add esp, 0xc
lea ecx, [ebp - 0x33c]
call fcn.10018f2c
test eax, eax
je 0x100192a7
lea esi, [ebp - 0x33c]
call fcn.10001b5f
xor eax, eax
push edi
mov word [ebp - 0x544], ax
lea eax, [ebp - 0x542]
push ebx
push eax
call fcn.1003af40
add esp, 0xc
push 0x104
lea eax, [ebp - 0x544]
push eax
call fcn.100025af
lea eax, [ebp - 0x544]
push eax
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ebx
mov eax, esi
push eax
push dword [ebp - 0x588]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x100192a7
mov eax, esi
push eax
lea ecx, [ebp - 0x5b0]
call fcn.10004b35
lea eax, [ebp - 0x5b0]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x12
call fcn.1000ab65
sub esp, 0x10
mov byte [ebp - 4], 0x13
mov ecx, esp
mov dword [ebp - 0x580], esp
push eax
call fcn.1000f6a5
mov ecx, dword [ebp - 0x590]
push str.attachment
mov byte [ebp - 4], 0x14
call fcn.1001093c
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.1000f908
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.1000588b
push ebx
push 1
lea ecx, [ebp - 0x5b0]
call fcn.10005a9d
push ebx
push 1
lea ecx, [ebp - 0x57c]
call fcn.1000588b
xor eax, eax
inc eax
jmp 0x100192b7