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

Disassembly:
push 0xffffffffffffffff
push 0x41c9b9
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 0x403e60
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.Client_SetupFilesClientAgentSetup.exe
call fcn.00415d8a
push ecx
lea eax, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x154], 1
call fcn.00415a91
lea ecx, [esp + 0x1c]
mov byte [esp + 0x150], 0
push ecx
call fcn.00403970
add esp, 0xc
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov byte [esp + 0x14c], 2
call fcn.00415a91
mov bl, 3
push 0x5c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], bl
call fcn.00414f83
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
call fcn.00414f0b
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 4
call fcn.00415e09
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], bl
call fcn.00415d1c
mov ecx, dword [esp + 0x14]
push 0x4281ec
push ecx
call fcn.004094be
add esp, 8
test eax, eax
je 0x403e0c
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.00415d1c
mov byte [esp + 0x148], 0
lea ecx, [esp + 0x14]
call fcn.00415d1c
lea ecx, [esp + 0x150]
mov dword [esp + 0x148], 0xffffffff
call fcn.00415d1c
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 0x403e83
push ecx
lea edx, [esp + 0x154]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00415a91
call fcn.00403720
add esp, 4
jmp 0x403e2e
cmp eax, 3
jne 0x4040d5
push str.Config_
lea eax, [esp + 0x18]
push 0x428190
push eax
call fcn.00415eff
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00414ad0
mov ecx, dword [0x424aa0]
add esp, 4
mov dword [esp + 0x18], ecx
mov eax, dword [0x42815c]
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 0x403fc3
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.0041532b
add esp, 8
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00415a91
push ecx
lea eax, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x154], 8
call fcn.00415a91
lea ecx, [esp + 0x18]
mov byte [esp + 0x150], bl
push ecx
call fcn.00403970
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 9
call fcn.00415e09
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d1c
mov edx, dword [esp + 0x18]
push 0x4281ec
push edx
call fcn.004094be
add esp, 8
test eax, eax
je 0x403fa0
lea eax, [esp + 0x14]
push str.XKeyWords.txt
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00415eff
mov eax, dword [eax]
mov edx, dword [esp + 0x18]
push 0
push eax
push edx
call esi
lea ecx, [esp + 0x10]
call fcn.00415d1c
mov eax, dword [esp + 0x18]
push eax
call edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], 6
call fcn.00415d1c
mov eax, dword [0x42815c]
mov ecx, dword [0x424aa0]
mov dl, byte [eax + 0x2779b]
test dl, dl
je 0x4040b3
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.0041532b
add esp, 8
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00415a91
push ecx
lea edx, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x154], 0xb
call fcn.00415a91
lea eax, [esp + 0x18]
mov byte [esp + 0x150], bl
push eax
call fcn.00403970
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 0xc
call fcn.00415e09
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d1c
mov ecx, dword [esp + 0x18]
push 0x4281ec
push ecx
call fcn.004094be
add esp, 8
test eax, eax
je 0x40409b
lea edx, [esp + 0x14]
push str.Worksite.txt
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00415eff
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
push 0
push eax
push ecx
call esi
lea ecx, [esp + 0x10]
call fcn.00415d1c
mov edx, dword [esp + 0x18]
push edx
call edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], 6
call fcn.00415d1c
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], 5
call fcn.00415d1c
mov byte [esp + 0x148], 0
lea ecx, [esp + 0x14]
jmp 0x403e29
cmp eax, 4
jne 0x403e2e
push str.Config_
lea eax, [esp + 0x1c]
push 0x428190
push eax
xor esi, esi
call fcn.00415eff
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00414ad0
mov edx, dword [0x424aa0]
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.00415eff
mov eax, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x150], 0xf
call fcn.0041698a
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d1c
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 0x40421f
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ETCemail.ign
call fcn.00415d8a
push ecx
lea edx, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x154], 0x10
call fcn.00415a91
lea eax, [esp + 0x18]
mov byte [esp + 0x150], bl
push eax
call fcn.00403970
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0x11
call fcn.00415e09
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d1c
mov ecx, dword [esp + 0x14]
push 0x4281ec
push ecx
call fcn.004094be
add esp, 8
test eax, eax
je 0x40421f
lea edx, [esp + 0x18]
push str.email.ign
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00415eff
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push esi
push eax
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.00415d1c
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.00415eff
mov eax, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x150], 0x12
call fcn.0041698a
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d1c
mov eax, dword [esp + 0x158]
mov ecx, dword [eax + 0xd8]
mov eax, dword [esp + 0x34]
cmp ecx, eax
je 0x40431f
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ETCDBBADNESS.db
call fcn.00415d8a
push ecx
lea edx, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x154], 0x13
call fcn.00415a91
lea eax, [esp + 0x18]
mov byte [esp + 0x150], bl
push eax
call fcn.00403970
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0x14
call fcn.00415e09
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d1c
mov ecx, dword [esp + 0x14]
push 0x4281ec
push ecx
call fcn.004094be
add esp, 8
test eax, eax
je 0x40431f
lea edx, [esp + 0x18]
push str.BADNESS.db
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00415eff
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.00415d1c
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.00415eff
mov eax, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x150], 0x15
call fcn.0041698a
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d1c
mov eax, dword [esp + 0x158]
mov ecx, dword [eax + 0xdc]
mov eax, dword [esp + 0x34]
cmp ecx, eax
je 0x40441f
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ETCDBBBS.db
call fcn.00415d8a
push ecx
lea edx, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x154], 0x16
call fcn.00415a91
lea eax, [esp + 0x18]
mov byte [esp + 0x150], bl
push eax
call fcn.00403970
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0x17
call fcn.00415e09
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d1c
mov ecx, dword [esp + 0x14]
push 0x4281ec
push ecx
call fcn.004094be
add esp, 8
test eax, eax
je 0x40441f
lea edx, [esp + 0x18]
push str.BBS.db
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00415eff
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.00415d1c
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.00415eff
mov eax, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x150], 0x18
call fcn.0041698a
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d1c
mov eax, dword [esp + 0x158]
mov ecx, dword [eax + 0xe0]
mov eax, dword [esp + 0x34]
cmp ecx, eax
je 0x40451f
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ETCDBSTOCK.db
call fcn.00415d8a
push ecx
lea edx, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x154], 0x19
call fcn.00415a91
lea eax, [esp + 0x18]
mov byte [esp + 0x150], bl
push eax
call fcn.00403970
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0x1a
call fcn.00415e09
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d1c
mov ecx, dword [esp + 0x14]
push 0x4281ec
push ecx
call fcn.004094be
add esp, 8
test eax, eax
je 0x40451f
lea edx, [esp + 0x18]
push str.STOCK.db
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00415eff
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.00415d1c
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.00415eff
mov eax, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x150], 0x1b
call fcn.0041698a
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d1c
mov eax, dword [esp + 0x158]
mov ecx, dword [eax + 0xe4]
mov eax, dword [esp + 0x34]
cmp ecx, eax
je 0x40461f
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ETCDBGAME.db
call fcn.00415d8a
push ecx
lea edx, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x154], 0x1c
call fcn.00415a91
lea eax, [esp + 0x18]
mov byte [esp + 0x150], bl
push eax
call fcn.00403970
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0x1d
call fcn.00415e09
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d1c
mov ecx, dword [esp + 0x14]
push 0x4281ec
push ecx
call fcn.004094be
add esp, 8
test eax, eax
je 0x40461f
lea edx, [esp + 0x18]
push str.GAME.db
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00415eff
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.00415d1c
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.00415eff
mov eax, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x150], 0x1e
call fcn.0041698a
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d1c
mov eax, dword [esp + 0x158]
mov ecx, dword [eax + 0xe8]
mov eax, dword [esp + 0x34]
cmp ecx, eax
je 0x40471f
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ETCDBpostflt.db
call fcn.00415d8a
push ecx
lea edx, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x154], 0x1f
call fcn.00415a91
lea eax, [esp + 0x18]
mov byte [esp + 0x150], bl
push eax
call fcn.00403970
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0x20
call fcn.00415e09
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d1c
mov ecx, dword [esp + 0x14]
push 0x4281ec
push ecx
call fcn.004094be
add esp, 8
test eax, eax
je 0x40471f
lea edx, [esp + 0x18]
push str.postflt.db
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00415eff
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.00415d1c
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.00415eff
mov eax, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x150], 0x21
call fcn.0041698a
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d1c
mov eax, dword [esp + 0x158]
mov ecx, dword [eax + 0xec]
mov eax, dword [esp + 0x34]
cmp ecx, eax
je 0x40481f
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ETCDBgetflt.db
call fcn.00415d8a
push ecx
lea edx, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x154], 0x22
call fcn.00415a91
lea eax, [esp + 0x18]
mov byte [esp + 0x150], bl
push eax
call fcn.00403970
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0x23
call fcn.00415e09
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d1c
mov ecx, dword [esp + 0x14]
push 0x4281ec
push ecx
call fcn.004094be
add esp, 8
test eax, eax
je 0x40481f
lea edx, [esp + 0x18]
push str.getflt.db
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00415eff
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.00415d1c
mov edx, dword [esp + 0x14]
push edx
call ebp
mov esi, 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 0xd
call fcn.00415d1c
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], 0
call fcn.00415d1c
lea ecx, [esp + 0x150]
mov dword [esp + 0x148], 0xffffffff
call fcn.00415d1c
mov eax, esi
jmp 0x403e47