Function at 0x403d20
Capabilities:
Copy file
Create process on windows
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x41ca29
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x154]
mov dword [esp + 0x148], 0
test eax, eax
jne 0x403e80
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.Client_SetupFilesClientAgentSetup.exe
call fcn.00415dfa
push ecx
lea eax, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x154], 1
call fcn.00415b01
lea ecx, [esp + 0x1c]
mov byte [esp + 0x150], 0
push ecx
call fcn.00403990
add esp, 0xc
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov byte [esp + 0x14c], 2
call fcn.00415b01
mov bl, 3
push 0x5c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], bl
call fcn.00414ff3
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
call fcn.00414f7b
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 4
call fcn.00415e79
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], bl
call fcn.00415d8c
mov ecx, dword [esp + 0x14]
push 0x42822c
push ecx
call fcn.0040952e
add esp, 8
test eax, eax
je 0x403e2c
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push 1
push 0
push edx
push eax
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], 2
call fcn.00415d8c
mov byte [esp + 0x148], 0
lea ecx, [esp + 0x14]
call fcn.00415d8c
lea ecx, [esp + 0x150]
mov dword [esp + 0x148], 0xffffffff
call fcn.00415d8c
xor eax, eax
mov ecx, dword [esp + 0x140]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x13c
ret
cmp eax, 1
jne 0x403ea3
push ecx
lea edx, [esp + 0x154]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00415b01
call fcn.00403740
add esp, 4
jmp 0x403e4e
cmp eax, 3
jne 0x4040f5
push str.Config_
lea eax, [esp + 0x18]
push 0x4281d0
push eax
call fcn.00415f6f
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00414b40
mov ecx, dword [0x424ad8]
add esp, 4
mov dword [esp + 0x18], ecx
mov eax, dword [0x42819c]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dl, byte [eax + 0x27799]
test dl, dl
je 0x403fe3
mov dword [esp + 0x1c], ecx
xor edx, edx
mov bl, 7
mov dl, byte [eax + 0x2779a]
lea eax, [esp + 0x1c]
inc edx
mov byte [esp + 0x148], bl
push edx
push str.ETCDBXKeyWords_d.txt
push eax
call fcn.0041539b
add esp, 8
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00415b01
push ecx
lea eax, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x154], 8
call fcn.00415b01
lea ecx, [esp + 0x18]
mov byte [esp + 0x150], bl
push ecx
call fcn.00403990
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 9
call fcn.00415e79
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d8c
mov edx, dword [esp + 0x18]
push 0x42822c
push edx
call fcn.0040952e
add esp, 8
test eax, eax
je 0x403fc0
lea eax, [esp + 0x14]
push str.XKeyWords.txt
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00415f6f
mov eax, dword [eax]
mov edx, dword [esp + 0x18]
push 0
push eax
push edx
call esi
lea ecx, [esp + 0x10]
call fcn.00415d8c
mov eax, dword [esp + 0x18]
push eax
call edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], 6
call fcn.00415d8c
mov eax, dword [0x42819c]
mov ecx, dword [0x424ad8]
mov dl, byte [eax + 0x2779b]
test dl, dl
je 0x4040d3
mov dword [esp + 0x1c], ecx
xor ecx, ecx
lea edx, [esp + 0x1c]
mov cl, byte [eax + 0x2779c]
mov bl, 0xa
inc ecx
mov byte [esp + 0x148], bl
push ecx
push str.ETCDBWorksite_d.txt
push edx
call fcn.0041539b
add esp, 8
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00415b01
push ecx
lea edx, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x154], 0xb
call fcn.00415b01
lea eax, [esp + 0x18]
mov byte [esp + 0x150], bl
push eax
call fcn.00403990
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 0xc
call fcn.00415e79
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d8c
mov ecx, dword [esp + 0x18]
push 0x42822c
push ecx
call fcn.0040952e
add esp, 8
test eax, eax
je 0x4040bb
lea edx, [esp + 0x14]
push str.Worksite.txt
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00415f6f
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
push 0
push eax
push ecx
call esi
lea ecx, [esp + 0x10]
call fcn.00415d8c
mov edx, dword [esp + 0x18]
push edx
call edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], 6
call fcn.00415d8c
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], 5
call fcn.00415d8c
mov byte [esp + 0x148], 0
lea ecx, [esp + 0x14]
jmp 0x403e49
cmp eax, 4
jne 0x403e4e
push str.Config_
lea eax, [esp + 0x1c]
push 0x4281d0
push eax
xor esi, esi
call fcn.00415f6f
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00414b40
mov edx, dword [0x424ad8]
add esp, 4
mov dword [esp + 0x14], edx
lea eax, [esp + 0x18]
push str.email.ign
lea ecx, [esp + 0x14]
mov bl, 0xe
push eax
push ecx
mov byte [esp + 0x154], bl
call fcn.00415f6f
mov eax, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x150], 0xf
call fcn.004169fa
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d8c
mov eax, dword [esp + 0x158]
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [eax + 0xd4]
mov eax, dword [esp + 0x34]
cmp ecx, eax
je 0x40423f
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ETCemail.ign
call fcn.00415dfa
push ecx
lea edx, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x154], 0x10
call fcn.00415b01
lea eax, [esp + 0x18]
mov byte [esp + 0x150], bl
push eax
call fcn.00403990
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0x11
call fcn.00415e79
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d8c
mov ecx, dword [esp + 0x14]
push 0x42822c
push ecx
call fcn.0040952e
add esp, 8
test eax, eax
je 0x40423f
lea edx, [esp + 0x18]
push str.email.ign
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00415f6f
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push esi
push eax
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.00415d8c
mov edx, dword [esp + 0x14]
push edx
call ebp
mov esi, 1
lea eax, [esp + 0x18]
push str.BADNESS.db
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00415f6f
mov eax, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x150], 0x12
call fcn.004169fa
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d8c
mov eax, dword [esp + 0x158]
mov ecx, dword [eax + 0xd8]
mov eax, dword [esp + 0x34]
cmp ecx, eax
je 0x40433f
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ETCDBBADNESS.db
call fcn.00415dfa
push ecx
lea edx, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x154], 0x13
call fcn.00415b01
lea eax, [esp + 0x18]
mov byte [esp + 0x150], bl
push eax
call fcn.00403990
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0x14
call fcn.00415e79
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d8c
mov ecx, dword [esp + 0x14]
push 0x42822c
push ecx
call fcn.0040952e
add esp, 8
test eax, eax
je 0x40433f
lea edx, [esp + 0x18]
push str.BADNESS.db
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00415f6f
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.00415d8c
mov edx, dword [esp + 0x14]
push edx
call ebp
mov esi, 1
lea eax, [esp + 0x18]
push str.BBS.db
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00415f6f
mov eax, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x150], 0x15
call fcn.004169fa
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d8c
mov eax, dword [esp + 0x158]
mov ecx, dword [eax + 0xdc]
mov eax, dword [esp + 0x34]
cmp ecx, eax
je 0x40443f
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ETCDBBBS.db
call fcn.00415dfa
push ecx
lea edx, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x154], 0x16
call fcn.00415b01
lea eax, [esp + 0x18]
mov byte [esp + 0x150], bl
push eax
call fcn.00403990
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0x17
call fcn.00415e79
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d8c
mov ecx, dword [esp + 0x14]
push 0x42822c
push ecx
call fcn.0040952e
add esp, 8
test eax, eax
je 0x40443f
lea edx, [esp + 0x18]
push str.BBS.db
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00415f6f
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.00415d8c
mov edx, dword [esp + 0x14]
push edx
call ebp
mov esi, 1
lea eax, [esp + 0x18]
push str.STOCK.db
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00415f6f
mov eax, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x150], 0x18
call fcn.004169fa
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d8c
mov eax, dword [esp + 0x158]
mov ecx, dword [eax + 0xe0]
mov eax, dword [esp + 0x34]
cmp ecx, eax
je 0x40453f
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ETCDBSTOCK.db
call fcn.00415dfa
push ecx
lea edx, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x154], 0x19
call fcn.00415b01
lea eax, [esp + 0x18]
mov byte [esp + 0x150], bl
push eax
call fcn.00403990
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0x1a
call fcn.00415e79
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d8c
mov ecx, dword [esp + 0x14]
push 0x42822c
push ecx
call fcn.0040952e
add esp, 8
test eax, eax
je 0x40453f
lea edx, [esp + 0x18]
push str.STOCK.db
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00415f6f
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.00415d8c
mov edx, dword [esp + 0x14]
push edx
call ebp
mov esi, 1
lea eax, [esp + 0x18]
push str.GAME.db
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00415f6f
mov eax, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x150], 0x1b
call fcn.004169fa
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d8c
mov eax, dword [esp + 0x158]
mov ecx, dword [eax + 0xe4]
mov eax, dword [esp + 0x34]
cmp ecx, eax
je 0x40463f
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ETCDBGAME.db
call fcn.00415dfa
push ecx
lea edx, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x154], 0x1c
call fcn.00415b01
lea eax, [esp + 0x18]
mov byte [esp + 0x150], bl
push eax
call fcn.00403990
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0x1d
call fcn.00415e79
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d8c
mov ecx, dword [esp + 0x14]
push 0x42822c
push ecx
call fcn.0040952e
add esp, 8
test eax, eax
je 0x40463f
lea edx, [esp + 0x18]
push str.GAME.db
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00415f6f
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.00415d8c
mov edx, dword [esp + 0x14]
push edx
call ebp
mov esi, 1
lea eax, [esp + 0x18]
push str.postflt.db
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00415f6f
mov eax, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x150], 0x1e
call fcn.004169fa
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d8c
mov eax, dword [esp + 0x158]
mov ecx, dword [eax + 0xe8]
mov eax, dword [esp + 0x34]
cmp ecx, eax
je 0x40473f
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ETCDBpostflt.db
call fcn.00415dfa
push ecx
lea edx, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x154], 0x1f
call fcn.00415b01
lea eax, [esp + 0x18]
mov byte [esp + 0x150], bl
push eax
call fcn.00403990
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0x20
call fcn.00415e79
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d8c
mov ecx, dword [esp + 0x14]
push 0x42822c
push ecx
call fcn.0040952e
add esp, 8
test eax, eax
je 0x40473f
lea edx, [esp + 0x18]
push str.postflt.db
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00415f6f
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.00415d8c
mov edx, dword [esp + 0x14]
push edx
call ebp
mov esi, 1
lea eax, [esp + 0x18]
push str.getflt.db
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00415f6f
mov eax, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x150], 0x21
call fcn.004169fa
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d8c
mov eax, dword [esp + 0x158]
mov ecx, dword [eax + 0xec]
mov eax, dword [esp + 0x34]
cmp ecx, eax
je 0x40483f
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ETCDBgetflt.db
call fcn.00415dfa
push ecx
lea edx, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x154], 0x22
call fcn.00415b01
lea eax, [esp + 0x18]
mov byte [esp + 0x150], bl
push eax
call fcn.00403990
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0x23
call fcn.00415e79
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d8c
mov ecx, dword [esp + 0x14]
push 0x42822c
push ecx
call fcn.0040952e
add esp, 8
test eax, eax
je 0x40483f
lea edx, [esp + 0x18]
push str.getflt.db
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00415f6f
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.00415d8c
mov edx, dword [esp + 0x14]
push edx
call ebp
mov esi, 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 0xd
call fcn.00415d8c
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], 0
call fcn.00415d8c
lea ecx, [esp + 0x150]
mov dword [esp + 0x148], 0xffffffff
call fcn.00415d8c
mov eax, esi
jmp 0x403e67