Function at 0x404bf1
Capabilities:
Create process on windows
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
mov eax, 0x25a0
call fcn.0040ea6c
sub esp, eax
mov eax, dword [ebp + 8]
mov dword [0x41b704], eax
lea eax, [ebp - 0x220c]
mov dword [esp + 4], eax
mov dword [esp], 0x101
call sub.WS2_32.dll_WSAStartup
sub esp, 8
call sub.COMCTL32.DLL_InitCommonControls
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov byte [ebp - 0x11], 0
mov dword [esp + 4], 0x416384
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sub.msvcrt.dll_strtok
mov dword [ebp - 0x18], eax
jmp 0x404e2e
mov dword [esp + 4], 0x416387
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x404c75
mov byte [ebp - 0x11], 1
jmp 0x404e17
mov dword [esp + 4], str.__help
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x404cba
mov dword [esp + 4], 0x416391
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x404cba
mov dword [esp + 4], 0x416394
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x404cd2
mov dword [esp], str.usage:_winbox___connect_to____login____password____
call sub.msvcrt.dll_puts
mov dword [esp], 0
call sub.msvcrt.dll_exit
movzx eax, byte [ebp - 0x11]
xor eax, 1
test al, al
je 0x404d37
mov eax, 0xa
sub eax, 1
cmp eax, dword [ebp - 0xc]
jne 0x404cef
jmp 0x404e17
mov dword [esp + 4], 0x4163cc
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x404d1e
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x2580], edx
jmp 0x404e17
mov eax, dword [ebp - 0xc]
lea edx, [eax + 1]
mov dword [ebp - 0xc], edx
mov dword [ebp + eax*4 - 0x2580], 0x41602c
jmp 0x404e17
mov eax, dword [ebp - 0x18]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.._s
mov dword [esp + 4], 0x50
lea eax, [ebp - 0x207c]
mov dword [esp], eax
call sub.msvcrt.dll__snprintf
lea eax, [ebp - 0x207c]
mov dword [esp + 4], eax
mov dword [esp], str.linking__s_n
call sub.msvcrt.dll_printf
mov dword [esp + 8], 8
mov dword [esp + 4], 0
lea eax, [ebp - 0x207c]
mov dword [esp], eax
call sub.KERNEL32.dll_LoadLibraryExA
sub esp, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x404df8
lea eax, [ebp - 0x207c]
mov dword [esp + 4], eax
mov dword [esp], str.lib__s_loaded_n
call sub.msvcrt.dll_printf
mov dword [esp + 4], str.runEx
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call sub.KERNEL32.dll_GetProcAddress
sub esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x404dea
mov dword [esp + 4], 0x41632b
mov eax, dword [ebp - 0x34]
mov dword [esp], eax
call sub.KERNEL32.dll_GetProcAddress
sub esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x404df6
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
jmp 0x404e17
call sub.KERNEL32.dll_GetLastError
mov dword [esp + 8], eax
lea eax, [ebp - 0x207c]
mov dword [esp + 4], eax
mov dword [esp], str.lib__s_not_loaded_error_ld_n
call sub.msvcrt.dll_printf
mov dword [esp + 4], 0x416384
mov dword [esp], 0
call sub.msvcrt.dll_strtok
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x404c55
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x2580], 0
lea ebx, [ebp - 0x250c]
mov eax, 0
mov edx, 0x20
mov edi, ebx
mov ecx, edx
rep stosd dword es:[edi], eax
lea ebx, [ebp - 0x248c]
mov eax, 0
mov edx, 0x20
mov edi, ebx
mov ecx, edx
rep stosd dword es:[edi], eax
lea ebx, [ebp - 0x240c]
mov eax, 0
mov edx, 0x20
mov edi, ebx
mov ecx, edx
rep stosd dword es:[edi], eax
lea ebx, [ebp - 0x238c]
mov eax, 0
mov edx, 0x20
mov edi, ebx
mov ecx, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0xc], 0
je 0x404ed8
mov eax, dword [ebp - 0x2580]
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], eax
lea eax, [ebp - 0x250c]
mov dword [esp], eax
call sub.msvcrt.dll_strncpy
mov eax, 0x7f
mov byte [ebp + eax - 0x250c], 0
cmp dword [ebp - 0xc], 1
jbe 0x404f0b
mov eax, dword [ebp - 0x257c]
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], eax
lea eax, [ebp - 0x240c]
mov dword [esp], eax
call sub.msvcrt.dll_strncpy
mov eax, 0x7f
mov byte [ebp + eax - 0x240c], 0
cmp dword [ebp - 0xc], 2
jbe 0x404f3e
mov eax, dword [ebp - 0x2578]
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], eax
lea eax, [ebp - 0x238c]
mov dword [esp], eax
call sub.msvcrt.dll_strncpy
mov eax, 0x7f
mov byte [ebp + eax - 0x238c], 0
mov byte [ebp - 0x21], 0
jmp 0x404f45
nop
lea eax, [ebp - 0x2558]
mov ecx, eax
call fcn.00403cce
cmp dword [ebp - 0xc], 2
jbe 0x404f60
lea ecx, [ebp - 0x238c]
jmp 0x404f65
mov ecx, 0
cmp dword [ebp - 0xc], 1
jbe 0x404f73
lea edx, [ebp - 0x240c]
jmp 0x404f78
mov edx, 0
cmp dword [ebp - 0xc], 0
je 0x404f86
lea eax, [ebp - 0x250c]
jmp 0x404f8b
mov eax, 0
lea ebx, [ebp - 0x2558]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
mov ecx, ebx
call fcn.00403ef8
sub esp, 0xc
xor eax, 1
test al, al
je 0x404fb1
mov byte [ebp - 0x21], 1
cmp byte [ebp - 0x21], 0
je 0x404fda
lea eax, [ebp - 0x2558]
mov ecx, eax
call fcn.00409592
cmp eax, 2
sete al
test al, al
je 0x404fde
mov dword [esp], 0
call sub.msvcrt.dll_exit
mov byte [ebp - 0x21], 1
lea eax, [ebp - 0x2558]
mov ecx, eax
call fcn.00413bfc
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], eax
lea eax, [ebp - 0x250c]
mov dword [esp], eax
call sub.msvcrt.dll_strncpy
mov eax, 0x7f
mov byte [ebp + eax - 0x250c], 0
lea eax, [ebp - 0x2558]
mov ecx, eax
call fcn.00413b50
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], eax
lea eax, [ebp - 0x240c]
mov dword [esp], eax
call sub.msvcrt.dll_strncpy
mov eax, 0x7f
mov byte [ebp + eax - 0x240c], 0
lea eax, [ebp - 0x2558]
mov ecx, eax
call fcn.00413ad4
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], eax
lea eax, [ebp - 0x238c]
mov dword [esp], eax
call sub.msvcrt.dll_strncpy
mov eax, 0x7f
mov byte [ebp + eax - 0x238c], 0
mov dword [esp + 8], pe_nt_image_headers32
lea eax, [ebp - 0x250c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x248c]
mov dword [esp], eax
call sub.msvcrt.dll_strncpy
mov eax, 0x7f
mov byte [ebp + eax - 0x248c], 0
mov dword [ebp - 0x3d], 0
mov word [ebp - 0x39], 0
lea eax, [ebp - 0x3d]
mov dword [esp + 4], eax
lea eax, [ebp - 0x250c]
mov dword [esp], eax
call fcn.00408bfc
mov byte [ebp - 0x35], al
mov dword [ebp - 0x20], 0
movzx eax, byte [ebp - 0x35]
xor eax, 1
test al, al
je 0x4052d9
mov dword [esp + 8], 7
mov dword [esp + 4], str.http:__
lea eax, [ebp - 0x248c]
mov dword [esp], eax
call sub.msvcrt.dll_strncmp
test eax, eax
jne 0x405160
mov dword [esp + 4], 6
mov dword [esp], 0
call sub.OLE32.dll_CoInitializeEx
sub esp, 8
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
lea eax, [ebp - 0x248c]
mov dword [esp + 8], eax
mov dword [esp + 4], str.open
mov dword [esp], 0
call sub.SHELL32.DLL_ShellExecuteA
sub esp, 0x18
mov dword [esp], 0
call sub.msvcrt.dll_exit
lea eax, [ebp - 0x248c]
mov dword [ebp - 0x28], eax
movzx eax, byte [ebp - 0x248c]
cmp al, 0x5b
jne 0x405226
mov dword [esp + 4], 0x5d
lea eax, [ebp - 0x248c]
mov dword [esp], eax
call sub.msvcrt.dll_strchr
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4051eb
lea eax, [ebp - 0x248c]
mov dword [esp + 8], eax
mov dword [esp + 4], str.Invalid_address____s
lea eax, [ebp - 0x207c]
mov dword [esp], eax
call sub.msvcrt.dll_sprintf
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], 0x41634c
lea eax, [ebp - 0x207c]
mov dword [esp + 4], eax
mov dword [esp], 0
call sub.USER32.dll_MessageBoxA
sub esp, 0x10
nop
mov ebx, 0
jmp 0x405782
mov eax, dword [ebp - 0x28]
lea edx, [eax + 1]
mov dword [ebp - 0x28], edx
mov byte [eax], 0
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x248c]
sub edx, eax
mov eax, edx
sub eax, 1
mov dword [esp + 8], eax
lea eax, [ebp - 0x248c]
add eax, 1
mov dword [esp + 4], eax
lea eax, [ebp - 0x248c]
mov dword [esp], eax
call sub.msvcrt.dll_memmove
mov dword [esp + 4], 0x3a
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sub.msvcrt.dll_strchr
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4052d9
mov eax, dword [ebp - 0x28]
lea edx, [eax + 1]
mov dword [esp + 8], 0xa
lea eax, [ebp - 0x60]
mov dword [esp + 4], eax
mov dword [esp], edx
call sub.msvcrt.dll_strtoul
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test al, al
jne 0x40527f
cmp dword [ebp - 0x20], 0
je 0x40527f
cmp dword [ebp - 0x20], 0xffff
jbe 0x4052d3
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [esp + 8], eax
mov dword [esp + 4], str.Invalid_port____s
lea eax, [ebp - 0x207c]
mov dword [esp], eax
call sub.msvcrt.dll_sprintf
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], 0x41634c
lea eax, [ebp - 0x207c]
mov dword [esp + 4], eax
mov dword [esp], 0
call sub.USER32.dll_MessageBoxA
sub esp, 0x10
nop
mov ebx, 0
jmp 0x405782
mov eax, dword [ebp - 0x28]
mov byte [eax], 0
lea eax, [ebp - 0x2558]
mov ecx, eax
call fcn.00413b78
mov byte [ebp - 0x36], al
lea eax, [ebp - 0x2558]
mov ecx, eax
call fcn.00413be4
mov byte [ebp - 0x37], al
lea eax, [ebp - 0x5c]
mov ecx, eax
call fcn.00409bf8
lea eax, [ebp - 0x5c]
mov ecx, eax
call fcn.004094b0
lea eax, [ebp - 0x207c]
lea edx, [ebp - 0x5c]
add edx, 8
mov dword [esp], edx
mov ecx, eax
call fcn.00414460
sub esp, 4
mov dword [ebp - 0x2c], 0
movzx eax, byte [ebp - 0x35]
xor eax, 1
test al, al
je 0x4054e0
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x248c]
mov dword [esp], edx
mov ecx, eax
call fcn.00409c56
sub esp, 4
cmp dword [ebp - 0x20], 0
je 0x40535d
mov eax, dword [ebp - 0x20]
jmp 0x405362
mov eax, 0x2063
lea edx, [ebp - 0x207c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x248c]
mov dword [esp], eax
mov ecx, edx
call fcn.004065ee
sub esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x4053c9
lea eax, [ebp - 0x248c]
mov dword [esp + 8], eax
mov dword [esp + 4], str.Invalid_address____s
lea eax, [ebp - 0x230c]
mov dword [esp], eax
call sub.msvcrt.dll_sprintf
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x230c]
mov dword [esp], edx
mov ecx, eax
call fcn.0040a276
sub esp, 4
nop
mov ebx, 0
jmp 0x40574b
cmp dword [ebp - 0x20], 0
je 0x4053d4
mov eax, dword [ebp - 0x20]
jmp 0x4053d9
mov eax, 0x2063
lea edx, [ebp - 0x5c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x248c]
mov dword [esp], eax
mov ecx, edx
call fcn.00409cb2
sub esp, 8
mov dword [esp], 0xc
call fcn.004145e4
mov ebx, eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov ecx, ebx
call fcn.00413c74
sub esp, 4
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x2c]
mov ecx, eax
call fcn.004075c6
xor eax, 1
test al, al
je 0x4054db
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 0x20]
mov dword [esp + 4], edx
lea edx, [ebp - 0x248c]
mov dword [esp], edx
mov ecx, eax
call fcn.00409cb2
sub esp, 8
cmp dword [ebp - 0x20], 0
jne 0x40547e
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sub.WS2_32.dll_freeaddrinfo
sub esp, 4
lea eax, [ebp - 0x207c]
mov dword [esp + 4], 0x50
lea edx, [ebp - 0x248c]
mov dword [esp], edx
mov ecx, eax
call fcn.004065ee
sub esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x2c], 0
je 0x405495
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
add eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 0x2c]
mov ecx, edx
call eax
mov dword [esp], 8
call fcn.004145e4
mov ebx, eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov ecx, ebx
call fcn.00413a44
sub esp, 4
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.0040133b
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], eax
lea eax, [ebp - 0x248c]
mov dword [esp], eax
call sub.msvcrt.dll_strncpy
jmp 0x405571
lea eax, [ebp - 0x3d]
mov dword [esp], eax
call fcn.00408d69
mov dword [esp + 4], eax
mov dword [esp], str.connecting_to__s_n
call sub.msvcrt.dll_printf
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x20
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov dword [esp], 0x50
call fcn.004145e4
mov ebx, eax
lea eax, [ebp - 0x3d]
mov dword [esp], eax
mov ecx, ebx
call fcn.00407f0e
sub esp, 4
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x5c]
mov dword [esp + 4], 0x5051
lea edx, [ebp - 0x248c]
mov dword [esp], edx
mov ecx, eax
call fcn.00409cb2
sub esp, 8
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x207c]
mov dword [esp], edx
mov ecx, eax
call fcn.004081a4
sub esp, 4
xor eax, 1
test al, al
je 0x405571
mov ebx, 0
jmp 0x40574b
cmp dword [ebp - 0x10], 0
jne 0x405636
lea eax, [ebp - 0x207c]
mov edx, dword [ebp - 0x2c]
mov dword [esp], edx
mov ecx, eax
call fcn.00404782
sub esp, 4
xor eax, 1
test al, al
je 0x4055a2
mov ebx, 0
jmp 0x40574b
lea eax, [ebp - 0x5c]
mov ecx, eax
call fcn.00409d16
lea eax, [ebp - 0x207c]
mov ecx, eax
call fcn.0040491e
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x248c]
mov dword [esp], edx
mov ecx, eax
call fcn.00409d48
sub esp, 4
lea eax, [ebp - 0x207c]
mov ecx, eax
call fcn.004048d4
lea edx, [ebp - 0x5c]
mov dword [esp], eax
mov ecx, edx
call fcn.004139c0
sub esp, 4
lea eax, [ebp - 0x207c]
mov edx, dword [ebp - 0x2c]
mov dword [esp], edx
mov ecx, eax
call fcn.00404992
sub esp, 4
xor eax, 1
test al, al
je 0x405613
mov ebx, 0
jmp 0x40574b
lea eax, [ebp - 0x5c]
mov ecx, eax
call fcn.00409e04
lea eax, [ebp - 0x207c]
mov ecx, eax
call fcn.00404a2c
mov dword [esp], 0
call fcn.0040151d
lea eax, [ebp - 0x5c]
mov ecx, eax
call fcn.00409546
lea ebx, [ebp - 0x230c]
mov eax, 0
mov edx, 0xa
mov edi, ebx
mov ecx, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x230c], str.secure
cmp byte [ebp - 0x36], 0
je 0x40566d
mov eax, 0x41641c
jmp 0x405672
mov eax, 0x41641e
mov dword [ebp - 0x2308], eax
mov dword [ebp - 0x2304], str.persist
cmp byte [ebp - 0x37], 0
je 0x40568f
mov eax, 0x41641c
jmp 0x405694
mov eax, 0x41641e
mov dword [ebp - 0x2300], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
add eax, 0xc
mov edx, dword [eax]
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x230c]
add ecx, 0x10
mov dword [esp], ecx
mov ecx, eax
call edx
sub esp, 4
cmp dword [ebp - 0x10], 0
jne 0x4056f9
lea eax, [ebp - 0x207c]
lea edx, [ebp - 0x230c]
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x238c]
mov dword [esp + 8], edx
lea edx, [ebp - 0x240c]
mov dword [esp + 4], edx
lea edx, [ebp - 0x248c]
mov dword [esp], edx
mov ecx, eax
call fcn.00404b74
sub esp, 0x10
jmp 0x40572e
mov eax, dword [0x41b704]
lea edx, [ebp - 0x230c]
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x238c]
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x240c]
mov dword [esp + 8], edx
lea edx, [ebp - 0x248c]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [ebp - 0x10]
call eax
cmp dword [ebp - 0x2c], 0
je 0x405745
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
add eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 0x2c]
mov ecx, edx
call eax
mov ebx, 1
nop
lea eax, [ebp - 0x207c]
mov ecx, eax
call fcn.004046ee
test ebx, ebx
jne 0x405763
mov ebx, 0
jmp 0x405768
mov ebx, 1
lea eax, [ebp - 0x5c]
mov ecx, eax
call fcn.004139f8
test ebx, ebx
jne 0x40577d
mov ebx, 0
jmp 0x405782
mov ebx, 1
lea eax, [ebp - 0x2558]
mov ecx, eax
call fcn.00403e2c
test ebx, ebx
je 0x404f44
mov eax, 0
lea esp, [ebp - 8]
pop ebx
pop edi
pop ebp
ret 0x10