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

Disassembly:
push 0xffffffffffffffff
push 0x41c9e9
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 0x403e40
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.Client_SetupFilesClientAgentSetup.exe
call fcn.00415daa
push ecx
lea eax, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x154], 1
call fcn.00415ab1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x150], 0
push ecx
call fcn.00403950
add esp, 0xc
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov byte [esp + 0x14c], 2
call fcn.00415ab1
mov bl, 3
push 0x5c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], bl
call fcn.00414fa3
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
call fcn.00414f2b
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 4
call fcn.00415e29
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], bl
call fcn.00415d3c
mov ecx, dword [esp + 0x14]
push 0x42818c
push ecx
call fcn.0040945e
add esp, 8
test eax, eax
je 0x403dec
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.00415d3c
mov byte [esp + 0x148], 0
lea ecx, [esp + 0x14]
call fcn.00415d3c
lea ecx, [esp + 0x150]
mov dword [esp + 0x148], 0xffffffff
call fcn.00415d3c
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 0x403e63
push ecx
lea edx, [esp + 0x154]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00415ab1
call fcn.00403700
add esp, 4
jmp 0x403e0e
cmp eax, 3
jne 0x4040b5
push str.Config_
lea eax, [esp + 0x18]
push 0x428130
push eax
call fcn.00415f1f
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00414af0
mov ecx, dword [0x424a3c]
add esp, 4
mov dword [esp + 0x18], ecx
mov eax, dword [0x4280fc]
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 0x403fa3
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.0041534b
add esp, 8
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00415ab1
push ecx
lea eax, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x154], 8
call fcn.00415ab1
lea ecx, [esp + 0x18]
mov byte [esp + 0x150], bl
push ecx
call fcn.00403950
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 9
call fcn.00415e29
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d3c
mov edx, dword [esp + 0x18]
push 0x42818c
push edx
call fcn.0040945e
add esp, 8
test eax, eax
je 0x403f80
lea eax, [esp + 0x14]
push str.XKeyWords.txt
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00415f1f
mov eax, dword [eax]
mov edx, dword [esp + 0x18]
push 0
push eax
push edx
call esi
lea ecx, [esp + 0x10]
call fcn.00415d3c
mov eax, dword [esp + 0x18]
push eax
call edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], 6
call fcn.00415d3c
mov eax, dword [0x4280fc]
mov ecx, dword [0x424a3c]
mov dl, byte [eax + 0x2779b]
test dl, dl
je 0x404093
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.0041534b
add esp, 8
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00415ab1
push ecx
lea edx, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x154], 0xb
call fcn.00415ab1
lea eax, [esp + 0x18]
mov byte [esp + 0x150], bl
push eax
call fcn.00403950
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 0xc
call fcn.00415e29
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d3c
mov ecx, dword [esp + 0x18]
push 0x42818c
push ecx
call fcn.0040945e
add esp, 8
test eax, eax
je 0x40407b
lea edx, [esp + 0x14]
push str.Worksite.txt
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00415f1f
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
push 0
push eax
push ecx
call esi
lea ecx, [esp + 0x10]
call fcn.00415d3c
mov edx, dword [esp + 0x18]
push edx
call edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], 6
call fcn.00415d3c
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], 5
call fcn.00415d3c
mov byte [esp + 0x148], 0
lea ecx, [esp + 0x14]
jmp 0x403e09
cmp eax, 4
jne 0x403e0e
push str.Config_
lea eax, [esp + 0x1c]
push 0x428130
push eax
xor esi, esi
call fcn.00415f1f
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00414af0
mov edx, dword [0x424a3c]
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.00415f1f
mov eax, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x150], 0xf
call fcn.004169bc
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d3c
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 0x4041ff
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ETCemail.ign
call fcn.00415daa
push ecx
lea edx, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x154], 0x10
call fcn.00415ab1
lea eax, [esp + 0x18]
mov byte [esp + 0x150], bl
push eax
call fcn.00403950
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0x11
call fcn.00415e29
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d3c
mov ecx, dword [esp + 0x14]
push 0x42818c
push ecx
call fcn.0040945e
add esp, 8
test eax, eax
je 0x4041ff
lea edx, [esp + 0x18]
push str.email.ign
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00415f1f
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push esi
push eax
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.00415d3c
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.00415f1f
mov eax, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x150], 0x12
call fcn.004169bc
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d3c
mov eax, dword [esp + 0x158]
mov ecx, dword [eax + 0xd8]
mov eax, dword [esp + 0x34]
cmp ecx, eax
je 0x4042ff
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ETCDBBADNESS.db
call fcn.00415daa
push ecx
lea edx, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x154], 0x13
call fcn.00415ab1
lea eax, [esp + 0x18]
mov byte [esp + 0x150], bl
push eax
call fcn.00403950
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0x14
call fcn.00415e29
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d3c
mov ecx, dword [esp + 0x14]
push 0x42818c
push ecx
call fcn.0040945e
add esp, 8
test eax, eax
je 0x4042ff
lea edx, [esp + 0x18]
push str.BADNESS.db
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00415f1f
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.00415d3c
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.00415f1f
mov eax, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x150], 0x15
call fcn.004169bc
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d3c
mov eax, dword [esp + 0x158]
mov ecx, dword [eax + 0xdc]
mov eax, dword [esp + 0x34]
cmp ecx, eax
je 0x4043ff
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ETCDBBBS.db
call fcn.00415daa
push ecx
lea edx, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x154], 0x16
call fcn.00415ab1
lea eax, [esp + 0x18]
mov byte [esp + 0x150], bl
push eax
call fcn.00403950
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0x17
call fcn.00415e29
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d3c
mov ecx, dword [esp + 0x14]
push 0x42818c
push ecx
call fcn.0040945e
add esp, 8
test eax, eax
je 0x4043ff
lea edx, [esp + 0x18]
push str.BBS.db
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00415f1f
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.00415d3c
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.00415f1f
mov eax, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x150], 0x18
call fcn.004169bc
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d3c
mov eax, dword [esp + 0x158]
mov ecx, dword [eax + 0xe0]
mov eax, dword [esp + 0x34]
cmp ecx, eax
je 0x4044ff
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ETCDBSTOCK.db
call fcn.00415daa
push ecx
lea edx, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x154], 0x19
call fcn.00415ab1
lea eax, [esp + 0x18]
mov byte [esp + 0x150], bl
push eax
call fcn.00403950
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0x1a
call fcn.00415e29
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d3c
mov ecx, dword [esp + 0x14]
push 0x42818c
push ecx
call fcn.0040945e
add esp, 8
test eax, eax
je 0x4044ff
lea edx, [esp + 0x18]
push str.STOCK.db
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00415f1f
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.00415d3c
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.00415f1f
mov eax, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x150], 0x1b
call fcn.004169bc
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d3c
mov eax, dword [esp + 0x158]
mov ecx, dword [eax + 0xe4]
mov eax, dword [esp + 0x34]
cmp ecx, eax
je 0x4045ff
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ETCDBGAME.db
call fcn.00415daa
push ecx
lea edx, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x154], 0x1c
call fcn.00415ab1
lea eax, [esp + 0x18]
mov byte [esp + 0x150], bl
push eax
call fcn.00403950
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0x1d
call fcn.00415e29
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d3c
mov ecx, dword [esp + 0x14]
push 0x42818c
push ecx
call fcn.0040945e
add esp, 8
test eax, eax
je 0x4045ff
lea edx, [esp + 0x18]
push str.GAME.db
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00415f1f
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.00415d3c
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.00415f1f
mov eax, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x150], 0x1e
call fcn.004169bc
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d3c
mov eax, dword [esp + 0x158]
mov ecx, dword [eax + 0xe8]
mov eax, dword [esp + 0x34]
cmp ecx, eax
je 0x4046ff
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ETCDBpostflt.db
call fcn.00415daa
push ecx
lea edx, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x154], 0x1f
call fcn.00415ab1
lea eax, [esp + 0x18]
mov byte [esp + 0x150], bl
push eax
call fcn.00403950
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0x20
call fcn.00415e29
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d3c
mov ecx, dword [esp + 0x14]
push 0x42818c
push ecx
call fcn.0040945e
add esp, 8
test eax, eax
je 0x4046ff
lea edx, [esp + 0x18]
push str.postflt.db
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00415f1f
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.00415d3c
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.00415f1f
mov eax, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov byte [esp + 0x150], 0x21
call fcn.004169bc
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d3c
mov eax, dword [esp + 0x158]
mov ecx, dword [eax + 0xec]
mov eax, dword [esp + 0x34]
cmp ecx, eax
je 0x4047ff
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ETCDBgetflt.db
call fcn.00415daa
push ecx
lea edx, [esp + 0x158]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x154], 0x22
call fcn.00415ab1
lea eax, [esp + 0x18]
mov byte [esp + 0x150], bl
push eax
call fcn.00403950
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x14c], 0x23
call fcn.00415e29
lea ecx, [esp + 0x10]
mov byte [esp + 0x148], bl
call fcn.00415d3c
mov ecx, dword [esp + 0x14]
push 0x42818c
push ecx
call fcn.0040945e
add esp, 8
test eax, eax
je 0x4047ff
lea edx, [esp + 0x18]
push str.getflt.db
lea eax, [esp + 0x14]
push edx
push eax
call fcn.00415f1f
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ecx
call edi
lea ecx, [esp + 0x10]
call fcn.00415d3c
mov edx, dword [esp + 0x14]
push edx
call ebp
mov esi, 1
lea ecx, [esp + 0x14]
mov byte [esp + 0x148], 0xd
call fcn.00415d3c
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], 0
call fcn.00415d3c
lea ecx, [esp + 0x150]
mov dword [esp + 0x148], 0xffffffff
call fcn.00415d3c
mov eax, esi
jmp 0x403e27