Function at 0x40ddec
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
add eax, 1
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
cmp dword [ebp + 8], 1
jle 0x40e344
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 4], 0
je 0x40deb3
mov edx, 0x4c707c
test edx, edx
je 0x40deb3
push str._vendor
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
call fcn.004aee90
add esp, 8
test eax, eax
jne 0x40deb3
cmp dword [ebp + 8], 2
jle 0x40deb3
mov edx, dword [ebp + 8]
sub edx, 1
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
push 0xa
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
push edx
push 0x4dc700
call fcn.00427f67
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [0x4d4ddc]
push edx
call fcn.0042bd95
add esp, 8
mov eax, dword [ebp + 8]
sub eax, 1
add dword [ecx + 0x4d8b0845], ecx
or al, 0x83
rol dword [ecx + ecx*4], 0x4d
or al, 0xe9
invalid
invalid
invalid
invalid
mov edx, dword [ebp + 0xc]
cmp dword [edx + 4], 0
je 0x40defe
mov eax, 0x4c708c
test eax, eax
je 0x40defe
push str._all
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
push edx
call fcn.004aee90
add esp, 8
test eax, eax
jne 0x40defe
mov eax, dword [ebp + 8]
sub eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov dword [0x4d4dec], 1
jmp 0x40de18
mov edx, dword [ebp + 0xc]
cmp dword [edx + 4], 0
je 0x40df49
mov eax, 0x4c709c
test eax, eax
je 0x40df49
push str._force
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
push edx
call fcn.004aee90
add esp, 8
test eax, eax
jne 0x40df49
mov dword [0x4dc710], 1
mov eax, dword [ebp + 8]
sub eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp + 0xc], ecx
jmp 0x40de18
mov edx, dword [ebp + 0xc]
cmp dword [edx + 4], 0
je 0x40df9d
mov eax, 0x4c70ac
test eax, eax
je 0x40df9d
push str._verbose
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
push edx
call fcn.004aee90
add esp, 8
test eax, eax
jne 0x40df9d
mov eax, dword [ebp + 8]
sub eax, 1
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp + 0xc], ecx
push 1
push 0x44
mov edx, dword [0x4d4ddc]
push edx
call fcn.0041dd70
add esp, 0xc
jmp 0x40de18
mov eax, dword [ebp + 0xc]
cmp dword [eax + 4], 0
je 0x40dff3
mov ecx, 0x4c70c4
test ecx, ecx
je 0x40dff3
push str._pre_v6
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
push eax
call fcn.004aee90
add esp, 8
test eax, eax
jne 0x40dff3
mov ecx, dword [ebp + 8]
sub ecx, 1
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 4
mov dword [ebp + 0xc], edx
push 0x4c70d4
push 0x41
mov eax, dword [0x4d4ddc]
push eax
call fcn.0041dd70
add esp, 0xc
jmp 0x40de18
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 4], 0
je 0x40e047
mov edx, 0x4c70dc
test edx, edx
je 0x40e047
push str._fqdn
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
call fcn.004aee90
add esp, 8
test eax, eax
jne 0x40e047
mov edx, dword [ebp + 8]
sub edx, 1
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
push 1
push 0x6e
mov ecx, dword [0x4d4ddc]
push ecx
call fcn.0041dd70
add esp, 0xc
jmp 0x40de18
mov dword [ebp - 4], 1
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
movsx ecx, byte [eax]
cmp ecx, 0x2d
jne case.0x40e099.8
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
movsx ecx, byte [eax + 2]
test ecx, ecx
jne case.0x40e099.8
mov edx, dword [ebp - 8]
movsx eax, byte [edx]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
sub ecx, 0x63
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x13
ja case.0x40e099.8
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dl, byte [eax + 0x40e36e]
jmp dword [edx*4 + 0x40e34a]
cmp dword [ebp + 8], 2
jle 0x40e0f6
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
movsx eax, byte [edx]
cmp eax, 0x2d
je 0x40e0f6
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 8]
sub edx, 1
mov dword [ebp + 8], edx
push 1
push 2
mov eax, dword [0x4d4ddc]
push eax
call fcn.0041dd70
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
push edx
push 0x2e
mov eax, dword [0x4d4ddc]
push eax
call fcn.0041dd70
add esp, 0xc
mov dword [ebp - 4], 0
jmp case.0x40e099.8
cmp dword [ebp + 8], 2
jle 0x40e1a2
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
movsx eax, byte [edx]
cmp eax, 0x2d
je 0x40e1a2
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 8]
sub edx, 1
mov dword [ebp + 8], edx
push 0x4d2be0
push 0x4c70ec
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [0x4d4ddc]
push edx
call fcn.0044320a
add esp, 0x10
test eax, eax
jne 0x40e1a2
call fcn.004af5a9
mov eax, dword [eax]
cmp eax, dword [0x4d3040]
jl 0x40e16c
mov dword [ebp - 0x10], 0x4c70f0
jmp 0x40e17d
call fcn.004af5a9
mov ecx, dword [eax]
mov edx, dword [ecx*4 + 0x4d2f90]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
push edx
push 0x4c7104
mov eax, dword [0x4dc70c]
push eax
call fcn.004aefac
add esp, 0x10
push 1
call fcn.004afc62
jmp case.0x40e099.8
cmp dword [ebp + 8], 2
jle 0x40e253
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
movsx eax, byte [edx]
cmp eax, 0x2d
je 0x40e253
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 8]
sub edx, 1
mov dword [ebp + 8], edx
push 0x4c7118
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [0x4d4ddc]
push edx
call fcn.00443030
add esp, 0xc
mov dword [0x4dc70c], eax
cmp dword [0x4dc70c], 0
jne 0x40e253
call fcn.004af5a9
mov eax, dword [eax]
cmp eax, dword [0x4d3040]
jl 0x40e21d
mov dword [ebp - 0x14], 0x4c711c
jmp 0x40e22e
call fcn.004af5a9
mov ecx, dword [eax]
mov edx, dword [ecx*4 + 0x4d2f90]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 4]
push edx
push str.Cant_open__s:__s_n
mov eax, dword [0x4dc70c]
push eax
call fcn.004aefac
add esp, 0x10
push 1
call fcn.004afc62
jmp case.0x40e099.8
cmp dword [ebp + 0x18], 4
jne 0x40e26f
mov dword [0x4d4de0], 1
mov dword [ebp - 4], 0
jmp case.0x40e099.8
push 1
push 4
mov ecx, dword [0x4d4ddc]
push ecx
call fcn.0041dd70
add esp, 0xc
mov dword [ebp - 4], 0
jmp case.0x40e099.8
mov dword [0x4c6df0], 0
mov dword [0x4c6dec], 0
mov dword [ebp - 4], 0
jmp case.0x40e099.8
mov dword [0x4d4de4], 0
mov dword [0x4d4dd0], 1
mov dword [ebp - 4], 0
jmp case.0x40e099.8
push 0x4c7144
mov edx, dword [ebp - 8]
push edx
call fcn.004aee90
add esp, 8
test eax, eax
jne 0x40e2eb
mov dword [0x4d4dd4], 0
jmp case.0x40e099.8
mov dword [0x4d4dd4], 1
cmp dword [ebp - 4], 0
je 0x40e32d
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0xf
jle 0x40e30f
call fcn.0040e382
mov eax, 1
jmp 0x40e346
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 4]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
add eax, 1
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
sub edx, 1
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
jmp 0x40de18
xor eax, eax
mov esp, ebp
pop ebp
ret