Function at 0x4d5830
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f5b6d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x51300c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov esi, 1
cmp ecx, esi
jle 0x4d5bc5
lea ebx, [ecx - 1]
mov edi, dword [eax + esi*4]
mov ecx, str._port
mov eax, edi
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4d58a0
test dl, dl
je 0x4d589c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4d58a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4d5880
xor eax, eax
jmp 0x4d58a5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4d58c7
cmp esi, ebx
je 0x4d58c7
mov edx, dword [ebp - 0x2c]
inc esi
push dword [edx + esi*4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov dword [0x515e70], eax
jmp 0x4d5b8a
mov ecx, str._uid
mov eax, edi
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4d58f0
test dl, dl
je 0x4d58ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4d58f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4d58d0
xor eax, eax
jmp 0x4d58f5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4d5944
cmp esi, ebx
je 0x4d5944
mov edx, dword [ebp - 0x2c]
inc esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov edx, dword [edx + esi*4]
mov ecx, edx
mov byte [ebp - 0x28], al
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d5920
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00402d80
mov dword [ebp - 4], 0
mov ecx, 0x515e8c
jmp 0x4d5b3f
mov ecx, str._eid
mov eax, edi
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4d5970
test dl, dl
je 0x4d596c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4d5970
add eax, 2
add ecx, 2
test dl, dl
jne 0x4d5950
xor eax, eax
jmp 0x4d5975
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4d59c4
cmp esi, ebx
je 0x4d59c4
mov edx, dword [ebp - 0x2c]
inc esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov edx, dword [edx + esi*4]
mov ecx, edx
mov byte [ebp - 0x28], al
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d59a0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00402d80
mov dword [ebp - 4], 1
mov ecx, 0x515ea4
jmp 0x4d5b3f
mov ecx, str._mode
mov eax, edi
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4d59f0
test dl, dl
je 0x4d59ec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4d59f0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4d59d0
xor eax, eax
jmp 0x4d59f5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4d5a44
cmp esi, ebx
je 0x4d5a44
mov edx, dword [ebp - 0x2c]
inc esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov edx, dword [edx + esi*4]
mov ecx, edx
mov byte [ebp - 0x28], al
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d5a20
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00402d80
mov dword [ebp - 4], 2
mov ecx, 0x515ebc
jmp 0x4d5b3f
mov ecx, str._vdf
mov eax, edi
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4d5a70
test dl, dl
je 0x4d5a6c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4d5a70
add eax, 2
add ecx, 2
test dl, dl
jne 0x4d5a50
xor eax, eax
jmp 0x4d5a75
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4d5ac1
cmp esi, ebx
je 0x4d5ac1
mov edx, dword [ebp - 0x2c]
inc esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov edx, dword [edx + esi*4]
mov ecx, edx
mov byte [ebp - 0x28], al
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d5aa0
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00402d80
mov dword [ebp - 4], 3
mov ecx, 0x515ed4
jmp 0x4d5b3f
mov ecx, str._token
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4d5ae8
test dl, dl
je 0x4d5ae4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4d5ae8
add eax, 2
add ecx, 2
test dl, dl
jne 0x4d5ac8
xor eax, eax
jmp 0x4d5aed
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4d5b9e
cmp esi, ebx
je 0x4d5b9e
mov edx, dword [ebp - 0x2c]
inc esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov edx, dword [edx + esi*4]
mov ecx, edx
mov byte [ebp - 0x28], al
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4d5b20
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00402d80
mov dword [ebp - 4], 4
mov ecx, 0x515eec
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00402d80
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4d5b8a
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4d5b80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4d5b98
push edx
push ecx
call fcn.004f1f95
add esp, 8
inc esi
cmp esi, dword [ebp - 0x30]
jge 0x4d5bc5
mov eax, dword [ebp - 0x2c]
jmp 0x4d5873
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
cmp byte [edi], 0x2d
jne 0x4d5bc5
push edi
push str.Unrecognized_option_or_bad_number_of_args_for:__s_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.0040c6f0
add esp, 0xc
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f1f57
mov esp, ebp
pop ebp
ret