Function at 0x4024d0
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
push ebp
push edi
xor ebp, ebp
push esi
push ebx
sub esp, 0x5c
mov eax, dword [sym.imp.cygwin1.dll_optarg]
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x34], eax
jmp 0x402512
fstp st(0)
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x412020
mov dword [esp + 8], str.p:f:i:D1VJvsc:ub:t:n:k:l:P:Rw:B:M:N46S:L:ZO:F:A:T:C:dI:hX:
mov dword [esp + 4], esi
mov dword [esp], edi
call sub.cygwin1.dll_getopt_long
cmp eax, 0xffffffff
je 0x402bc1
cmp eax, 0x77
ja case.0x402548.0
jmp dword [eax*4 + 0x4132a4]
mov dword [0x41cb64], 0xd
mov eax, 0xffffffff
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp byte [ebx], 0x63
je 0x402e1e
mov eax, dword [ebx + 0x7c]
mov byte [ebx], 0x73
mov dword [ebx + 4], 0
test eax, eax
je 0x402591
mov dword [ebx + 4], 1
mov eax, ebx
call fcn.00401380
jmp 0x402512
mov eax, dword [sym.imp.cygwin1.dll_optarg]
mov ebp, dword [ebx + 0x164]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0040e150
fnstcw word [esp + 0x3e]
movzx eax, word [esp + 0x3e]
mov ah, 0xc
mov word [esp + 0x3c], ax
mov eax, dword [ebx + 0x164]
fldcw word [esp + 0x3c]
fistp dword [ebp + 4]
fldcw word [esp + 0x3e]
cmp dword [eax + 4], 0x20000000
jg 0x402e6e
mov ebp, 1
jmp 0x402512
mov eax, dword [sym.imp.cygwin1.dll_optarg]
mov eax, dword [eax]
mov dword [esp], eax
call sub.cygwin1.dll_strdup
mov dword [ebx + 0x58], eax
jmp 0x402512
mov dword [ebx + 0x90], 1
mov ebp, 1
jmp 0x402512
mov dword [ebx + 0x94], 1
jmp 0x402512
mov eax, dword [sym.imp.cygwin1.dll_optarg]
mov eax, dword [eax]
mov dword [esp], eax
call sub.cygwin1.dll_atoi
mov dword [ebx + 0x28], eax
jmp 0x402512
call fcn.0040d040
mov ebx, eax
call fcn.0040cfc0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], str.iperf_3.1.5
mov dword [esp], str._s_n_s_n_s_n
call sub.cygwin1.dll_printf
mov dword [esp], 0
call sub.cygwin1.dll_exit
mov dword [ebx + 0x98], 1
jmp 0x402512
mov dword [esp], str.Warning:____no_fq_socket_pacing_not_supported_on_this_platform__ignoring
call sub.cygwin1.dll_puts
jmp 0x402512
mov dword [esp], str.Warning:____fq_rate_not_supported_on_this_platform__ignoring
call sub.cygwin1.dll_puts
jmp 0x402512
mov dword [ebx + 0x74], 1
mov dword [esp + 0x24], 1
jmp 0x402512
mov eax, dword [ebx + 0x164]
mov dword [eax], 2
jmp 0x402512
mov eax, dword [ebx + 0x164]
mov dword [eax], 0x17
jmp 0x402512
mov eax, dword [ebx + 0x168]
test eax, eax
jne 0x40270c
jmp 0x402cf0
mov eax, dword [eax + 0x20]
test eax, eax
je 0x402cf0
cmp dword [eax], 2
jne 0x402701
mov dword [ebx + 0xc], eax
mov eax, ebx
mov ebp, 1
call fcn.00401380
jmp 0x402512
mov eax, dword [sym.imp.cygwin1.dll_optarg]
mov eax, dword [eax]
mov dword [esp], eax
call sub.cygwin1.dll_strdup
mov dword [ebx + 0x1c], eax
jmp 0x402512
mov dword [ebx + 0x70], 1
mov dword [esp + 0x24], 1
jmp 0x402512
mov eax, dword [sym.imp.cygwin1.dll_optarg]
mov eax, dword [eax]
mov dword [ebx + 0x38], eax
jmp 0x402512
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
mov dword [esp], eax
call sub.cygwin1.dll_strdup
mov dword [esp + 0x24], 1
mov dword [ebx + 0x54], eax
jmp 0x402512
mov dword [ebx + 0x84], 1
jmp 0x402512
mov eax, dword [sym.imp.cygwin1.dll_optarg]
mov eax, dword [eax]
mov dword [esp], eax
call sub.cygwin1.dll_atoi
cmp eax, 0x15180
mov dword [ebx + 0x34], eax
jg 0x402e5a
mov dword [esp + 0x30], 1
mov ebp, 1
jmp 0x402512
mov eax, dword [sym.imp.cygwin1.dll_optarg]
mov ebp, dword [ebx + 0x164]
mov eax, dword [eax]
mov dword [esp], eax
call sub.cygwin1.dll_atoi
mov dword [ebp + 0x24], eax
mov eax, dword [ebx + 0x164]
cmp dword [eax + 0x24], 0x2400
jle 0x4025e3
mov dword [0x41cb64], 0xa
mov eax, 0xffffffff
jmp 0x40255f
mov dword [ebx + 0x78], 1
mov ebp, 1
jmp 0x402512
mov eax, dword [sym.imp.cygwin1.dll_optarg]
mov eax, dword [eax]
mov dword [esp], eax
call sub.cygwin1.dll_atoi
cmp eax, 0x3c
mov dword [ebx + 0x30], eax
jbe 0x4025e3
mov dword [0x41cb64], 0xc
mov eax, 0xffffffff
jmp 0x40255f
mov eax, dword [sym.imp.cygwin1.dll_optarg]
mov eax, dword [eax]
mov dword [esp], eax
call sub.cygwin1.dll_atoi
mov dword [ebx + 0x120], eax
add eax, 0xffffff80
jle 0x4025e3
mov dword [0x41cb64], 6
mov eax, 0xffffffff
jmp 0x40255f
mov edx, dword [ebx + 4]
xor eax, eax
mov dword [ebx + 0x7c], 1
mov ebp, 1
test edx, edx
sete al
mov dword [ebx + 4], eax
mov eax, ebx
call fcn.00401380
jmp 0x402512
mov ebp, dword [sym.imp.cygwin1.dll_optarg]
lea eax, [esp + 0x4c]
mov edx, dword [ebx + 0x164]
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp]
mov dword [esp + 0x38], edx
mov dword [esp], eax
call sub.cygwin1.dll_strtol
mov edx, dword [esp + 0x38]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp]
cmp dword [esp + 0x4c], eax
je 0x4028ee
mov eax, dword [ebx + 0x164]
cmp dword [eax + 0x2c], 0xff
jbe 0x4025e3
mov dword [0x41cb64], 0x15
mov eax, 0xffffffff
jmp 0x40255f
mov eax, dword [sym.imp.cygwin1.dll_optarg]
mov ebp, 1
mov eax, dword [eax]
mov dword [esp], eax
call sub.cygwin1.dll_strdup
mov dword [ebx + 0x44], eax
jmp 0x402512
mov dword [ebx + 0x80], 1
jmp 0x402512
mov dword [esp + 4], 1
mov dword [esp], 0x10
call sub.cygwin1.dll_calloc
test eax, eax
je 0x402e0a
mov dword [esp + 0x38], eax
mov eax, dword [sym.imp.cygwin1.dll_optarg]
mov eax, dword [eax]
mov dword [esp], eax
call sub.cygwin1.dll_strdup
mov edx, dword [esp + 0x38]
test eax, eax
mov dword [edx], eax
je 0x402e0a
mov eax, dword [ebx + 0x24]
mov dword [edx + 8], 0
mov dword [edx + 0xc], eax
mov dword [eax], edx
add edx, 8
mov dword [ebx + 0x24], edx
jmp 0x402512
call fcn.0040d780
test eax, eax
je 0x402e46
mov dword [ebx + 0x88], 1
mov ebp, 1
jmp 0x402512
mov eax, dword [sym.imp.cygwin1.dll_optarg]
mov edx, dword [eax]
mov dword [esp + 4], 0x2f
mov dword [esp], edx
mov dword [esp + 0x2c], edx
call sub.cygwin1.dll_strchr
test eax, eax
mov edx, dword [esp + 0x2c]
je 0x402de0
mov byte [eax], 0
mov ebp, dword [ebx + 0x164]
add eax, 1
mov dword [esp], eax
call sub.cygwin1.dll_atoi
mov dword [ebp + 0x20], eax
mov ebp, dword [ebx + 0x164]
mov eax, dword [ebp + 0x20]
lea edx, [eax - 1]
cmp edx, 0x3e7
ja 0x402e32
mov eax, dword [sym.imp.cygwin1.dll_optarg]
mov edx, dword [eax]
mov dword [esp], edx
call fcn.0040e200
fld dword [0x414038]
fxch st(1)
fucomi st(1)
jae 0x402d04
fstp st(1)
fnstcw word [esp + 0x3e]
movzx edx, word [esp + 0x3e]
mov dh, 0xc
mov word [esp + 0x3c], dx
fldcw word [esp + 0x3c]
fistp qword [ebp + 0x10]
fldcw word [esp + 0x3e]
mov dword [esp + 0x2c], 1
mov ebp, 1
jmp 0x402512
cmp byte [ebx], 0x73
je 0x402e1e
mov ecx, dword [ebx + 0x7c]
mov byte [ebx], 0x63
mov dword [ebx + 4], 1
test ecx, ecx
je 0x402a76
mov dword [ebx + 4], 0
mov eax, ebx
call fcn.00401380
mov eax, dword [sym.imp.cygwin1.dll_optarg]
mov eax, dword [eax]
mov dword [esp], eax
call sub.cygwin1.dll_strdup
mov dword [ebx + 0x14], eax
jmp 0x402512
mov eax, dword [sym.imp.cygwin1.dll_optarg]
mov ebp, dword [ebx + 0x164]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0040e2b0
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x44], edx
mov ebp, 1
jmp 0x402512
mov eax, dword [sym.imp.cygwin1.dll_optarg]
mov ebp, 1
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0040e2b0
mov dword [esp + 0x28], eax
jmp 0x402512
mov eax, dword [sym.imp.cygwin1.dll_optarg]
mov ebp, dword [ebx + 0x164]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0040e2b0
mov dword [ebp + 0x38], eax
mov dword [ebp + 0x3c], edx
mov ebp, 1
jmp 0x402512
mov eax, dword [sym.imp.cygwin1.dll_optarg]
mov eax, dword [eax]
mov dword [esp], eax
call sub.cygwin1.dll_atoi
mov dword [ebx + 0x2c], eax
jmp 0x402512
mov edx, dword [sym.imp.cygwin1.dll_optarg]
mov eax, dword [ebx + 0x164]
mov edx, dword [edx]
movzx edx, byte [edx]
mov byte [eax + 0x48], dl
jmp 0x402512
mov eax, dword [sym.imp.cygwin1.dll_optarg]
mov eax, dword [eax]
mov dword [esp], eax
call sub.cygwin1.dll_atof
fst qword [ebx + 0xc8]
fst qword [ebx + 0xc0]
fld qword [0x414040]
fucompi st(1)
ja 0x402b77
fld dword [0x414048]
fxch st(1)
fucomi st(1)
fstp st(1)
jbe 0x402510
fldz
fxch st(1)
fucompi st(1)
fstp st(0)
jp 0x402b87
je 0x402512
mov dword [0x41cb64], 9
mov eax, 0xffffffff
jmp 0x40255f
mov dword [ebx + 0x8c], 1
jmp 0x402512
call fcn.00401f30
mov dword [esp], 1
call sub.cygwin1.dll_exit
mov eax, dword [ebx + 0x58]
test eax, eax
je 0x402be3
mov dword [esp + 4], 0x41329f
mov dword [esp], eax
call sub.cygwin1.dll__fopen64
test eax, eax
mov dword [ebx + 0x5c], eax
je 0x402e82
movzx eax, byte [ebx]
cmp al, 0x63
je 0x402db8
cmp al, 0x73
jne 0x402c10
test ebp, ebp
je 0x402c10
mov dword [0x41cb64], 4
mov eax, 0xffffffff
jmp 0x40255f
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x402deb
cmp dword [esp + 0x28], 0
mov esi, dword [ebx + 0xc]
mov eax, dword [esi]
jne 0x402d32
cmp eax, 2
je 0x402cc0
mov ecx, dword [ebx + 0x164]
mov ebp, dword [esp + 0x2c]
cmp eax, 0xc
mov edx, 0x20000
mov eax, 0x10000
cmovne eax, edx
xor edx, edx
mov dword [ecx + 8], eax
xor eax, eax
test ebp, ebp
jne 0x402c5f
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
mov eax, dword [ecx + 0x3c]
or eax, dword [ecx + 0x38]
jne 0x402d70
mov eax, dword [ecx + 0x44]
or eax, dword [ecx + 0x40]
je 0x402c90
mov edx, dword [esp + 0x30]
test edx, edx
jne 0x402d8b
mov dword [ebx + 0x34], 0
lea esi, [esi]
lea edi, [edi]
mov eax, dword [sym.imp.cygwin1.dll_optind]
mov dword [eax], 0
movzx edx, byte [ebx]
xor eax, eax
and edx, 0xffffffef
cmp dl, 0x63
je 0x40255f
mov dword [0x41cb64], 2
mov eax, 0xffffffff
jmp 0x40255f
mov edi, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x164]
mov eax, dword [esp + 0x28]
test edi, edi
mov dword [ecx + 8], eax
jne 0x402c5f
xor eax, eax
xor edx, edx
cmp dword [esi], 2
jne 0x402c59
mov eax, 0x100000
xor edx, edx
jmp 0x402c59
mov dword [0x41cb64], 0x83
mov ebp, 1
jmp 0x402512
fnstcw word [esp + 0x3e]
movzx edx, word [esp + 0x3e]
fsubrp st(1)
mov dh, 0xc
mov word [esp + 0x3c], dx
fldcw word [esp + 0x3c]
fistp qword [ebp + 0x10]
fldcw word [esp + 0x3e]
mov eax, dword [ebp + 0x14]
lea edx, [eax - 0x80000000]
mov dword [ebp + 0x14], edx
jmp 0x402a43
jle 0x402d9f
mov ecx, dword [esp + 0x28]
cmp ecx, 0x100000
jg 0x402da4
cmp eax, 2
jne 0x402cc0
cmp ecx, 0xffe3
jle 0x402cc0
mov dword [0x41cb64], 0x14
mov eax, 0xffffffff
jmp 0x40255f
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x402d8b
mov eax, dword [ecx + 0x44]
or eax, dword [ecx + 0x40]
mov dword [ebx + 0x34], 0
je 0x402c90
mov dword [0x41cb64], 0x10
mov eax, 0xffffffff
jmp 0x40255f
cmp eax, 2
je 0x402d34
mov dword [0x41cb64], 7
mov eax, 0xffffffff
jmp 0x40255f
mov eax, dword [esp + 0x24]
test eax, eax
je 0x402c10
mov dword [0x41cb64], 3
mov eax, 0xffffffff
jmp 0x40255f
mov ebp, dword [ebx + 0x164]
jmp 0x402a0e
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x402c1b
mov dword [0x41cb64], 0x13
mov eax, 0xffffffff
jmp 0x40255f
mov dword [0x41cb64], 0x8b
mov eax, 0xffffffff
jmp 0x40255f
mov dword [0x41cb64], 1
mov eax, 0xffffffff
jmp 0x40255f
mov dword [0x41cb64], 0xf
mov eax, 0xffffffff
jmp 0x40255f
mov dword [0x41cb64], 0xb
mov eax, 0xffffffff
jmp 0x40255f
mov dword [0x41cb64], 5
mov eax, 0xffffffff
jmp 0x40255f
mov dword [0x41cb64], 8
mov eax, 0xffffffff
jmp 0x40255f
mov dword [0x41cb64], 0x11
mov eax, 0xffffffff
jmp 0x40255f