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

Disassembly:
push 0x5bc
mov eax, 0x10055b24
call fcn.1003b8ec
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58c], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x57c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x588], eax
mov dword [ebp - 0x590], ebx
mov edi, 0x80
cmp word [0x10072330], bx
jne 0x100191aa
xor eax, eax
push 0xfe
mov word [ebp - 0x578], ax
lea eax, [ebp - 0x576]
push ebx
push eax
call fcn.1003c230
add esp, 0xc
lea eax, [ebp - 0x584]
push eax
lea eax, [ebp - 0x578]
push eax
mov dword [ebp - 0x584], edi
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x100191aa
push str.system
lea eax, [ebp - 0x578]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x10019197
push str.agentUser
push str.Softwareprojonepodlp_smpcache_
lea eax, [ebp - 0x45c]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
call fcn.10004403
add esp, 0x10
cmp dword [ebp - 0x448], ebx
jne 0x10019165
lea eax, [ebp - 0x578]
jmp 0x1001917a
cmp dword [ebp - 0x444], 8
mov eax, dword [ebp - 0x458]
jae 0x1001917a
lea eax, [ebp - 0x458]
push edi
push eax
push 0x10072330
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push ebx
push 1
lea ecx, [ebp - 0x45c]
call fcn.10005a6e
jmp 0x100191aa
push edi
lea eax, [ebp - 0x578]
push eax
push 0x10072330
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov esi, 0x10072430
cmp byte [0x10072430], bl
jne 0x100191e9
lea eax, [ebp - 0x5c8]
push eax
call fcn.1001c59c
cmp dword [eax + 0x18], 0x10
pop ecx
jb 0x100191cf
mov eax, dword [eax + 4]
jmp 0x100191d2
add eax, 4
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push ebx
push 1
lea ecx, [ebp - 0x5c8]
call fcn.1000585c
cmp word [0x10072330], bx
je 0x10019317
cmp byte [0x10072430], bl
je 0x10019317
cmp dword [ebp - 0x58c], ebx
je 0x10019317
mov edi, dword [ebp - 0x57c]
cmp byte [edi + 8], 7
jne 0x10019317
push str.i_action
lea ecx, [ebp - 0x5c8]
call fcn.10004a83
sub esp, 0x1c
mov dword [ebp - 4], ebx
mov ecx, esp
mov dword [ebp - 0x584], esp
push 0x1005dee5
call fcn.10004a83
lea eax, [ebp - 0x5c8]
push eax
lea eax, [ebp - 0x478]
push edi
push eax
call fcn.10018e97
add esp, 0x28
push ebx
push 1
lea ecx, [ebp - 0x5c8]
mov byte [ebp - 4], 2
call fcn.1000585c
push str.replace
lea ecx, [ebp - 0x478]
call fcn.1000b003
test eax, eax
je 0x1001929b
push str.delete
lea ecx, [ebp - 0x478]
call fcn.1000b003
test eax, eax
jne 0x1001931f
mov ecx, dword [ebp - 0x57c]
mov edi, str.i_key_columns
push edi
call fcn.10010909
cmp byte [eax + 8], 4
jne 0x100192e3
lea eax, [ebp - 0x5ac]
push eax
push ecx
mov ecx, dword [ebp - 0x57c]
push edi
call fcn.10010909
pop ecx
mov ecx, eax
call fcn.1000fa42
mov dword [ebp - 0x590], 1
mov byte [ebp - 0x57d], bl
cmp dword [eax + 0x14], ebx
jne 0x100192ea
mov byte [ebp - 0x57d], 1
test byte [ebp - 0x590], 1
je 0x10019301
push ebx
push 1
lea ecx, [ebp - 0x5ac]
call fcn.1000585c
cmp byte [ebp - 0x57d], bl
je 0x1001931f
push ebx
push 1
lea ecx, [ebp - 0x478]
call fcn.1000585c
xor eax, eax
call fcn.1003b96f
ret
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x584], esp
push dword [ebp - 0x58c]
call fcn.1000f5bb
mov ecx, dword [ebp - 0x57c]
push str.i_dt
mov byte [ebp - 4], 3
call fcn.10010909
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1000f8d5
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x584], esp
push esi
call fcn.1000f5bb
mov ecx, dword [ebp - 0x57c]
push str.client_unique
mov byte [ebp - 4], 4
call fcn.10010909
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1000f8d5
mov ecx, dword [ebp - 0x57c]
mov edi, str.user_name
push edi
call fcn.10010909
cmp byte [eax + 8], bl
jne 0x100194a8
lea esi, [ebp - 0x578]
call fcn.10018efb
mov ebx, esi
mov byte [ebp - 4], 5
call fcn.1001cce3
test eax, eax
je 0x10019422
cmp dword [ebp - 0x564], 0
je 0x10019422
sub esp, 0x18
mov eax, esi
mov ecx, esp
mov dword [ebp - 0x584], esp
push eax
call fcn.1000f672
mov ecx, dword [ebp - 0x57c]
push edi
mov byte [ebp - 4], 6
call fcn.10010909
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.1000f8d5
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x584], esp
push 1
call fcn.1000f559
mov ecx, dword [ebp - 0x57c]
push str.i_user_data
mov byte [ebp - 4], 7
call fcn.10010909
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.1000f8d5
jmp 0x10019497
push 0x10072330
lea ecx, [ebp - 0x45c]
call fcn.10004b06
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x5ac]
push eax
mov byte [ebp - 4], 8
call fcn.1000ab51
sub esp, 0x10
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x584], esp
push eax
call fcn.1000f672
mov ecx, dword [ebp - 0x57c]
push edi
mov byte [ebp - 4], 0xa
call fcn.10010909
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.1000f8d5
push 0
push 1
lea ecx, [ebp - 0x5ac]
call fcn.1000585c
push 0
push 1
lea ecx, [ebp - 0x45c]
call fcn.10005a6e
lea esi, [ebp - 0x578]
mov byte [ebp - 4], 2
call fcn.10019772
xor ebx, ebx
mov ecx, dword [ebp - 0x57c]
mov esi, str.data_time
push esi
call fcn.10010909
cmp byte [eax + 8], bl
jne 0x1001954f
push 7
xor eax, eax
mov byte [ebp - 0x30], bl
pop ecx
lea edi, [ebp - 0x2f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x450]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x444]
push eax
movzx eax, word [ebp - 0x446]
push eax
movzx eax, word [ebp - 0x448]
push eax
movzx eax, word [ebp - 0x44a]
push eax
movzx eax, word [ebp - 0x44e]
push eax
movzx eax, word [ebp - 0x450]
push eax
push str._04d__02d__02d__02d:_02d:_02d
lea eax, [ebp - 0x30]
push 0x20
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfA]
add esp, 0xc
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x584], esp
push eax
call fcn.1000f5bb
mov ecx, dword [ebp - 0x57c]
push esi
mov byte [ebp - 4], 0xb
call fcn.10010909
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1000f8d5
cmp dword [ebp - 0x588], ebx
je 0x1001975c
push dword [ebp - 0x588]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x45c]
call fcn.10004b06
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x5ac]
push eax
mov byte [ebp - 4], 0xc
call fcn.1000ab51
sub esp, 0x10
mov byte [ebp - 4], 0xd
mov ecx, esp
mov dword [ebp - 0x584], esp
push eax
call fcn.1000f672
mov ecx, dword [ebp - 0x57c]
push str.attach_name
mov byte [ebp - 4], 0xe
call fcn.10010909
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.1000f8d5
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x5ac]
call fcn.1000585c
push ebx
push esi
lea ecx, [ebp - 0x45c]
mov byte [ebp - 4], 2
call fcn.10005a6e
cmp dword [ebp + 0x14], ebx
je 0x1001965a
push dword [ebp - 0x588]
lea ecx, [ebp - 0x45c]
call fcn.10004b06
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x5ac]
push eax
mov byte [ebp - 4], 0xf
call fcn.1000ab51
sub esp, 0x10
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x584], esp
push eax
call fcn.1000f672
mov ecx, dword [ebp - 0x57c]
push str.attachment
mov byte [ebp - 4], 0x11
call fcn.10010909
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.1000f8d5
push ebx
push esi
lea ecx, [ebp - 0x5ac]
call fcn.1000585c
push ebx
push esi
lea ecx, [ebp - 0x45c]
jmp 0x10019757
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x238], ax
lea eax, [ebp - 0x236]
push ebx
push eax
call fcn.1003c230
add esp, 0xc
lea ecx, [ebp - 0x238]
call fcn.10018f7a
test eax, eax
jne 0x1001968f
push ebx
push esi
jmp 0x1001930c
lea esi, [ebp - 0x238]
call fcn.10001bba
xor eax, eax
push edi
mov word [ebp - 0x440], ax
lea eax, [ebp - 0x43e]
push ebx
push eax
call fcn.1003c230
add esp, 0xc
push 0x104
lea eax, [ebp - 0x440]
push eax
call fcn.1000262e
lea eax, [ebp - 0x440]
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 0x10019309
mov eax, esi
push eax
lea ecx, [ebp - 0x5ac]
call fcn.10004b06
lea eax, [ebp - 0x5ac]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0x12
call fcn.1000ab51
sub esp, 0x10
mov byte [ebp - 4], 0x13
mov ecx, esp
mov dword [ebp - 0x584], esp
push eax
call fcn.1000f672
mov ecx, dword [ebp - 0x57c]
push str.attachment
mov byte [ebp - 4], 0x14
call fcn.10010909
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.1000f8d5
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.1000585c
push ebx
push 1
lea ecx, [ebp - 0x5ac]
call fcn.10005a6e
push ebx
push 1
lea ecx, [ebp - 0x478]
call fcn.1000585c
xor eax, eax
inc eax
jmp 0x10019319