Function at 0x40182d
Capabilities:
Read file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, 0x1010
call fcn.0046f150
mov eax, dword [0x4b507c]
mov esi, dword [esp + 0x1024]
mov ebp, dword [esp + 0x1030]
mov ebx, dword [esp + 0x102c]
xor eax, esp
mov dword [esp + 0x100c], eax
cmp byte [esi], 0x2d
jne 0x401d2c
mov edi, dword [esp + 0x1028]
push str._load
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x401daa
push str._ssh
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x401de7
push str._telnet
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x401e49
push str._rlogin
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x401f1a
push str._raw
push esi
call fcn.0047e4f0
add esp, 8
xor edi, edi
test eax, eax
je 0x401f67
push str._serial
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x40202c
push 0x49d639
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
jne 0x401918
test ebx, ebx
js 0x402024
or byte [0x4b766c], 1
xor edi, edi
inc edi
push 0x4a216b
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x402090
push 0x49d9ad
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x4020dc
push str._hostkey
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x4021e9
push 0x4a6363
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x402128
push 0x4a5f65
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x402128
push 0x4a6c7e
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x402128
push 0x4a5568
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x402383
push 0x4a1c6c
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x402420
push 0x4a600f
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x402562
push 0x49d427
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x4025b3
push str._agent
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x401a2a
push str._pagent
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x401a2a
push str._pageant
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
jne 0x401a5a
xor edi, edi
inc edi
test ebx, ebx
js 0x402ce9
test byte [0x4b5a14], 2
jne 0x402cd4
test ebx, ebx
jne 0x402219
push 1
push 0x1d
push ebp
call fcn.004035da
add esp, 0xc
xor edi, edi
inc edi
push str._noagent
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x401a90
push str._nopagent
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x401a90
push str._nopageant
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
jne 0x401ac0
xor edi, edi
inc edi
test ebx, ebx
js 0x402ce9
test byte [0x4b5a14], 2
jne 0x402cd4
test ebx, ebx
jne 0x402219
push 0
push 0x1d
push ebp
call fcn.004035da
add esp, 0xc
xor edi, edi
inc edi
push str._share
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x4026cc
push str._noshare
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x402715
push 0x4a70ed
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x402764
push 0x4a5931
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x402799
push 0x4a5af5
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x4027ce
push 0x49d409
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x402806
push 0x49e550
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x40283e
push 0x4a5d46
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x402873
push 0x4a61ff
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x4028a8
push 0x4a6f06
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x4028dd
push 0x4a86a9
push esi
call fcn.0047e4f0
add esp, 8
test eax, eax
je 0x402912
xor edi, edi
test ebx, ebx
js 0x402ce9
mov eax, dword [0x4b5a14]
test al, 4
je 0x401d4c
cmp byte [0x4b5a18], 0
je 0x401e25
test al, 0x40
je 0x402ce9
cmp byte [0x4b5a19], 0
jne 0x402ce9
push esi
call fcn.00455915
add esp, 4
mov esi, eax
push ebp
push 1
push eax
push 0x4a600f
call fcn.0040182d
add esp, 0x10
mov edi, eax
push esi
call fcn.00410bcd
add esp, 4
cmp edi, 2
je 0x40201d
push 0x180
push str..._cmdline.c
push str.retd__2
call fcn.0047b3ef
jmp 0x40201a
test edi, edi
je 0x402ce4
mov eax, edi
mov edi, 2
test ebx, ebx
js 0x402ce9
push ebp
mov esi, eax
push eax
call fcn.0041e3b5
add esp, 8
mov byte [0x4b82f4], 1
push esi
call fcn.00455915
add esp, 4
mov dword [0x4b82f8], eax
jmp 0x402ce9
mov edx, edi
xor edi, edi
inc edi
test ebx, ebx
js 0x402ce9
test byte [0x4b5a14], 3
jne 0x402cd4
test ebx, ebx
jne 0x402220
mov eax, 3
mov dword [0x4b7680], 0x16
mov dword [0x4b767c], eax
push eax
push 2
jmp 0x401f50
test al, 0x20
je 0x401e96
cmp byte [0x4b82f4], 0
je 0x401e96
push ebp
call fcn.00412ca9
add esp, 4
test al, al
je 0x401e96
mov eax, dword [0x4b5a14]
jmp 0x401d4c
mov edx, edi
xor edi, edi
inc edi
test ebx, ebx
js 0x402ce9
test byte [0x4b5a14], 3
jne 0x402cd4
test ebx, ebx
jne 0x402220
xor edi, edi
mov dword [0x4b7680], 0x17
inc edi
mov dword [0x4b767c], edi
push edi
push 2
push ebp
call fcn.004036b2
add esp, 0xc
push dword [0x4b7680]
push edi
jmp 0x401f61
push 7
push str.telnet:
push esi
call fcn.0047e7b0
add esp, 0xc
test eax, eax
je 0x401fa2
mov ebx, dword [0x4b5a14]
xor eax, eax
dec eax
mov dword [esp], eax
invalid