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

Disassembly:
push 0x5bc
mov eax, 0x10055b07
call fcn.1003b89c
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 0x1001920d
xor eax, eax
push 0xfe
mov word [ebp - 0x578], ax
lea eax, [ebp - 0x576]
push ebx
push eax
call fcn.1003c1e0
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 0x1001920d
push str.system
lea eax, [ebp - 0x578]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100191fa
push str.agentUser
push str.Softwareprojonepodlp_smpcache_
lea eax, [ebp - 0x45c]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
call fcn.100043df
add esp, 0x10
cmp dword [ebp - 0x448], ebx
jne 0x100191c8
lea eax, [ebp - 0x578]
jmp 0x100191dd
cmp dword [ebp - 0x444], 8
mov eax, dword [ebp - 0x458]
jae 0x100191dd
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.10005a26
jmp 0x1001920d
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 0x1001924c
lea eax, [ebp - 0x5c8]
push eax
call fcn.1001c667
cmp dword [eax + 0x18], 0x10
pop ecx
jb 0x10019232
mov eax, dword [eax + 4]
jmp 0x10019235
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.10005814
cmp word [0x10072330], bx
je 0x1001937a
cmp byte [0x10072430], bl
je 0x1001937a
cmp dword [ebp - 0x58c], ebx
je 0x1001937a
mov edi, dword [ebp - 0x57c]
cmp byte [edi + 8], 7
jne 0x1001937a
push str.i_action
lea ecx, [ebp - 0x5c8]
call fcn.10004a5f
sub esp, 0x1c
mov dword [ebp - 4], ebx
mov ecx, esp
mov dword [ebp - 0x584], esp
push 0x1005d1eb
call fcn.10004a5f
lea eax, [ebp - 0x5c8]
push eax
lea eax, [ebp - 0x478]
push edi
push eax
call fcn.10018efa
add esp, 0x28
push ebx
push 1
lea ecx, [ebp - 0x5c8]
mov byte [ebp - 4], 2
call fcn.10005814
push str.replace
lea ecx, [ebp - 0x478]
call fcn.1000b06a
test eax, eax
je 0x100192fe
push str.delete
lea ecx, [ebp - 0x478]
call fcn.1000b06a
test eax, eax
jne 0x10019382
mov ecx, dword [ebp - 0x57c]
mov edi, str.i_key_columns
push edi
call fcn.100109ab
cmp byte [eax + 8], 4
jne 0x10019346
lea eax, [ebp - 0x5ac]
push eax
push ecx
mov ecx, dword [ebp - 0x57c]
push edi
call fcn.100109ab
pop ecx
mov ecx, eax
call fcn.1000fae4
mov dword [ebp - 0x590], 1
mov byte [ebp - 0x57d], bl
cmp dword [eax + 0x14], ebx
jne 0x1001934d
mov byte [ebp - 0x57d], 1
test byte [ebp - 0x590], 1
je 0x10019364
push ebx
push 1
lea ecx, [ebp - 0x5ac]
call fcn.10005814
cmp byte [ebp - 0x57d], bl
je 0x10019382
push ebx
push 1
lea ecx, [ebp - 0x478]
call fcn.10005814
xor eax, eax
call fcn.1003b91f
ret
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x584], esp
push dword [ebp - 0x58c]
call fcn.1000f65d
mov ecx, dword [ebp - 0x57c]
push str.i_dt
mov byte [ebp - 4], 3
call fcn.100109ab
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1000f977
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x584], esp
push esi
call fcn.1000f65d
mov ecx, dword [ebp - 0x57c]
push str.client_unique
mov byte [ebp - 4], 4
call fcn.100109ab
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1000f977
mov ecx, dword [ebp - 0x57c]
mov edi, str.user_name
push edi
call fcn.100109ab
cmp byte [eax + 8], bl
jne 0x1001950b
lea esi, [ebp - 0x578]
call fcn.10018f5e
mov ebx, esi
mov byte [ebp - 4], 5
call fcn.1001cd78
test eax, eax
je 0x10019485
cmp dword [ebp - 0x564], 0
je 0x10019485
sub esp, 0x18
mov eax, esi
mov ecx, esp
mov dword [ebp - 0x584], esp
push eax
call fcn.1000f714
mov ecx, dword [ebp - 0x57c]
push edi
mov byte [ebp - 4], 6
call fcn.100109ab
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.1000f977
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x584], esp
push 1
call fcn.1000f5fb
mov ecx, dword [ebp - 0x57c]
push str.i_user_data
mov byte [ebp - 4], 7
call fcn.100109ab
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.1000f977
jmp 0x100194fa
push 0x10072330
lea ecx, [ebp - 0x45c]
call fcn.10004aec
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x5ac]
push eax
mov byte [ebp - 4], 8
call fcn.1000abb8
sub esp, 0x10
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x584], esp
push eax
call fcn.1000f714
mov ecx, dword [ebp - 0x57c]
push edi
mov byte [ebp - 4], 0xa
call fcn.100109ab
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.1000f977
push 0
push 1
lea ecx, [ebp - 0x5ac]
call fcn.10005814
push 0
push 1
lea ecx, [ebp - 0x45c]
call fcn.10005a26
lea esi, [ebp - 0x578]
mov byte [ebp - 4], 2
call fcn.100197d5
xor ebx, ebx
mov ecx, dword [ebp - 0x57c]
mov esi, str.data_time
push esi
call fcn.100109ab
cmp byte [eax + 8], bl
jne 0x100195b2
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.1000f65d
mov ecx, dword [ebp - 0x57c]
push esi
mov byte [ebp - 4], 0xb
call fcn.100109ab
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1000f977
cmp dword [ebp - 0x588], ebx
je 0x100197bf
push dword [ebp - 0x588]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x45c]
call fcn.10004aec
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x5ac]
push eax
mov byte [ebp - 4], 0xc
call fcn.1000abb8
sub esp, 0x10
mov byte [ebp - 4], 0xd
mov ecx, esp
mov dword [ebp - 0x584], esp
push eax
call fcn.1000f714
mov ecx, dword [ebp - 0x57c]
push str.attach_name
mov byte [ebp - 4], 0xe
call fcn.100109ab
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.1000f977
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x5ac]
call fcn.10005814
push ebx
push esi
lea ecx, [ebp - 0x45c]
mov byte [ebp - 4], 2
call fcn.10005a26
cmp dword [ebp + 0x14], ebx
je 0x100196bd
push dword [ebp - 0x588]
lea ecx, [ebp - 0x45c]
call fcn.10004aec
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x5ac]
push eax
mov byte [ebp - 4], 0xf
call fcn.1000abb8
sub esp, 0x10
mov byte [ebp - 4], 0x10
mov ecx, esp
mov dword [ebp - 0x584], esp
push eax
call fcn.1000f714
mov ecx, dword [ebp - 0x57c]
push str.attachment
mov byte [ebp - 4], 0x11
call fcn.100109ab
mov ecx, eax
mov byte [ebp - 4], 0x10
call fcn.1000f977
push ebx
push esi
lea ecx, [ebp - 0x5ac]
call fcn.10005814
push ebx
push esi
lea ecx, [ebp - 0x45c]
jmp 0x100197ba
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x238], ax
lea eax, [ebp - 0x236]
push ebx
push eax
call fcn.1003c1e0
add esp, 0xc
lea ecx, [ebp - 0x238]
call fcn.10018fdd
test eax, eax
jne 0x100196f2
push ebx
push esi
jmp 0x1001936f
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.1003c1e0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x440]
push eax
call fcn.1000260a
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 0x1001936c
mov eax, esi
push eax
lea ecx, [ebp - 0x5ac]
call fcn.10004aec
lea eax, [ebp - 0x5ac]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 0x12
call fcn.1000abb8
sub esp, 0x10
mov byte [ebp - 4], 0x13
mov ecx, esp
mov dword [ebp - 0x584], esp
push eax
call fcn.1000f714
mov ecx, dword [ebp - 0x57c]
push str.attachment
mov byte [ebp - 4], 0x14
call fcn.100109ab
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.1000f977
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.10005814
push ebx
push 1
lea ecx, [ebp - 0x5ac]
call fcn.10005a26
push ebx
push 1
lea ecx, [ebp - 0x478]
call fcn.10005814
xor eax, eax
inc eax
jmp 0x1001937c