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

Disassembly:
push 0x5c0
mov eax, 0x4b8c42
call fcn.004991ba
mov eax, dword [ebp + 8]
mov dword [ebp - 0x590], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58c], eax
xor eax, eax
mov esi, ecx
mov dword [ebp - 0x580], esi
mov dword [ebp - 0x594], eax
mov edi, 0x80
cmp word [0x4f3f80], ax
jne 0x44d68c
push 0xfe
push eax
lea eax, [ebp - 0x57a]
xor ecx, ecx
push eax
mov word [ebp - 0x57c], cx
call fcn.00499dd0
add esp, 0xc
lea eax, [ebp - 0x588]
push eax
lea eax, [ebp - 0x57c]
push eax
mov dword [ebp - 0x588], edi
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x44d68c
push str.system
lea eax, [ebp - 0x57c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x44d679
push str.agentUser
push str.Softwareprojonepodlp_smpcache_
push reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebp - 0x460]
call fcn.0042fb96
add esp, 0xc
cmp dword [ebp - 0x44c], 0
jne 0x44d640
lea eax, [ebp - 0x57c]
jmp 0x44d655
cmp dword [ebp - 0x448], 8
mov eax, dword [ebp - 0x45c]
jae 0x44d655
lea eax, [ebp - 0x45c]
push edi
push eax
push 0x4f3f80
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0
push 1
lea esi, [ebp - 0x460]
call fcn.00403ead
mov esi, dword [ebp - 0x580]
jmp 0x44d68c
push edi
lea eax, [ebp - 0x57c]
push eax
push 0x4f3f80
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
cmp byte [0x4f4080], 0
mov ebx, 0x4f4080
jne 0x44d6cd
lea eax, [ebp - 0x5cc]
push eax
call fcn.004446d6
cmp dword [eax + 0x18], 0x10
pop ecx
jb 0x44d6b2
mov eax, dword [eax + 4]
jmp 0x44d6b5
add eax, 4
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0
push 1
lea ecx, [ebp - 0x5cc]
call fcn.00403db0
xor edi, edi
cmp word [0x4f3f80], di
je 0x44d80a
cmp byte [0x4f4080], 0
je 0x44d80a
cmp dword [ebp - 0x590], edi
je 0x44d80a
cmp byte [esi + 8], 7
jne 0x44d80a
push str.i_action
lea ecx, [ebp - 0x5cc]
call fcn.00403461
sub esp, 0x1c
mov dword [ebp - 4], edi
mov ecx, esp
mov dword [ebp - 0x588], esp
push 0x4c102f
call fcn.00403461
lea eax, [ebp - 0x5cc]
push eax
lea eax, [ebp - 0x47c]
push eax
call fcn.0040694a
add esp, 0x24
push edi
push 1
lea ecx, [ebp - 0x5cc]
mov byte [ebp - 4], 2
call fcn.00403db0
mov edx, dword [ebp - 0x468]
push 7
push str.replace
lea eax, [ebp - 0x47c]
call fcn.00403d5f
test eax, eax
je 0x44d78b
mov edx, dword [ebp - 0x468]
push 6
push str.delete
lea eax, [ebp - 0x47c]
call fcn.00403d5f
test eax, eax
jne 0x44d812
push dword [ebp - 0x580]
mov esi, str.i_key_columns
mov edx, esi
call fcn.00437ade
cmp byte [eax + 8], 4
jne 0x44d7d5
lea eax, [ebp - 0x5b0]
push eax
push ecx
push dword [ebp - 0x580]
mov edx, esi
call fcn.00437ade
pop ecx
push eax
call fcn.00436d1d
mov dword [ebp - 0x594], 1
mov byte [ebp - 0x581], 0
cmp dword [eax + 0x14], edi
jne 0x44d7dc
mov byte [ebp - 0x581], 1
test byte [ebp - 0x594], 1
je 0x44d7f3
push edi
push 1
lea ecx, [ebp - 0x5b0]
call fcn.00403db0
cmp byte [ebp - 0x581], 0
je 0x44d812
push edi
push 1
lea ecx, [ebp - 0x47c]
call fcn.00403db0
xor eax, eax
call fcn.0049923d
ret
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x588], esp
push dword [ebp - 0x590]
call fcn.004368a5
push dword [ebp - 0x580]
mov edx, str.i_dt
mov byte [ebp - 4], 3
call fcn.00437ade
mov edi, eax
mov byte [ebp - 4], 2
call fcn.00436bb1
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x588], esp
push ebx
call fcn.004368a5
push dword [ebp - 0x580]
mov edx, str.client_unique
mov byte [ebp - 4], 4
call fcn.00437ade
mov edi, eax
mov byte [ebp - 4], 2
call fcn.00436bb1
push dword [ebp - 0x580]
mov ebx, str.user_name
mov edx, ebx
call fcn.00437ade
cmp byte [eax + 8], 0
jne 0x44d99f
lea edi, [ebp - 0x57c]
call fcn.0044d3c2
mov eax, edi
push eax
mov byte [ebp - 4], 5
call fcn.004452d0
pop ecx
test eax, eax
je 0x44d91b
cmp dword [ebp - 0x568], 0
je 0x44d91b
sub esp, 0x18
mov edx, edi
mov esi, esp
mov dword [ebp - 0x588], esp
call fcn.00436959
push dword [ebp - 0x580]
mov edx, ebx
mov byte [ebp - 4], 6
call fcn.00437ade
mov edi, eax
mov byte [ebp - 4], 5
call fcn.00436bb1
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x588], esp
push 1
call fcn.00436847
push dword [ebp - 0x580]
mov edx, str.i_user_data
mov byte [ebp - 4], 7
call fcn.00437ade
mov edi, eax
mov byte [ebp - 4], 5
call fcn.00436bb1
xor ebx, ebx
jmp 0x44d98e
push 0x4f3f80
lea esi, [ebp - 0x460]
call fcn.004034c9
mov eax, esi
push eax
lea eax, [ebp - 0x5b0]
push eax
mov byte [ebp - 4], 8
call fcn.00401298
sub esp, 0x10
mov byte [ebp - 4], 9
mov edx, eax
mov esi, esp
mov dword [ebp - 0x588], esp
call fcn.00436959
push dword [ebp - 0x580]
mov edx, ebx
mov byte [ebp - 4], 0xa
call fcn.00437ade
mov edi, eax
mov byte [ebp - 4], 9
call fcn.00436bb1
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x5b0]
call fcn.00403db0
push ebx
push 1
lea esi, [ebp - 0x460]
call fcn.00403ead
lea esi, [ebp - 0x57c]
mov byte [ebp - 4], 2
call fcn.0044dc60
jmp 0x44d9a1
xor ebx, ebx
push dword [ebp - 0x580]
mov edx, str.data_time
call fcn.00437ade
cmp byte [eax + 8], 0
jne 0x44da4d
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 - 0x454]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x448]
push eax
movzx eax, word [ebp - 0x44a]
push eax
movzx eax, word [ebp - 0x44c]
push eax
movzx eax, word [ebp - 0x44e]
push eax
movzx eax, word [ebp - 0x452]
push eax
movzx eax, word [ebp - 0x454]
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 - 0x588], esp
push eax
call fcn.004368a5
push dword [ebp - 0x580]
mov edx, str.data_time
mov byte [ebp - 4], 0xb
call fcn.00437ade
mov edi, eax
mov byte [ebp - 4], 2
call fcn.00436bb1
cmp dword [ebp - 0x58c], ebx
je 0x44dc4a
push dword [ebp - 0x58c]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea esi, [ebp - 0x460]
call fcn.004034c9
mov eax, esi
push eax
lea eax, [ebp - 0x5b0]
push eax
mov byte [ebp - 4], 0xc
call fcn.00401298
sub esp, 0x10
mov byte [ebp - 4], 0xd
mov edx, eax
mov esi, esp
mov dword [ebp - 0x588], esp
call fcn.00436959
push dword [ebp - 0x580]
mov edx, str.attach_name
mov byte [ebp - 4], 0xe
call fcn.00437ade
mov edi, eax
mov byte [ebp - 4], 0xd
call fcn.00436bb1
push ebx
push 1
lea ecx, [ebp - 0x5b0]
call fcn.00403db0
push ebx
push 1
lea esi, [ebp - 0x460]
mov byte [ebp - 4], 2
call fcn.00403ead
cmp dword [ebp + 0x10], ebx
je 0x44db50
push dword [ebp - 0x58c]
lea esi, [ebp - 0x460]
call fcn.004034c9
mov eax, esi
push eax
lea eax, [ebp - 0x5b0]
push eax
mov byte [ebp - 4], 0xf
call fcn.00401298
sub esp, 0x10
mov byte [ebp - 4], 0x10
mov edx, eax
mov esi, esp
mov dword [ebp - 0x588], esp
call fcn.00436959
push dword [ebp - 0x580]
mov edx, str.attachment
mov byte [ebp - 4], 0x11
call fcn.00437ade
mov edi, eax
mov byte [ebp - 4], 0x10
call fcn.00436bb1
push ebx
push 1
lea ecx, [ebp - 0x5b0]
call fcn.00403db0
lea esi, [ebp - 0x460]
jmp 0x44dc42
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x23c], ax
lea eax, [ebp - 0x23a]
push ebx
push eax
call fcn.00499dd0
add esp, 0xc
lea ecx, [ebp - 0x23c]
call fcn.0044d459
test eax, eax
jne 0x44db84
push ebx
jmp 0x44d7fd
lea esi, [ebp - 0x23c]
call fcn.0042d2b4
xor eax, eax
push edi
mov word [ebp - 0x444], ax
lea eax, [ebp - 0x442]
push ebx
push eax
call fcn.00499dd0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x444]
push eax
call fcn.0042dc7b
lea eax, [ebp - 0x444]
push eax
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ebx
mov eax, esi
push eax
push dword [ebp - 0x58c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x44db7e
mov eax, esi
push eax
lea esi, [ebp - 0x5b0]
call fcn.004034c9
mov eax, esi
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x12
call fcn.00401298
sub esp, 0x10
mov byte [ebp - 4], 0x13
mov edx, eax
mov esi, esp
mov dword [ebp - 0x588], esp
call fcn.00436959
push dword [ebp - 0x580]
mov edx, str.attachment
mov byte [ebp - 4], 0x14
call fcn.00437ade
mov edi, eax
mov byte [ebp - 4], 0x13
call fcn.00436bb1
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.00403db0
lea esi, [ebp - 0x5b0]
push ebx
push 1
call fcn.00403ead
push ebx
push 1
lea ecx, [ebp - 0x47c]
call fcn.00403db0
xor eax, eax
inc eax
jmp 0x44d80c