Function at 0x405720
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x48f600]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x9c]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0xd8], eax
push edi
mov eax, dword [ebx]
mov edi, dword [ebp + 0x10]
push ecx
push dword [ebx + 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0xb4], edi
call eax
mov dword [ebp - 0xbc], eax
lea ecx, [ebp - 0xa0]
mov eax, dword [ebx]
push ecx
push dword [ebx + 4]
mov eax, dword [eax + 0x10]
call eax
mov dword [ebp - 0xb8], eax
add esp, 0x10
mov eax, dword [ebx]
cmp eax, 0x483488
jne 0x4058d5
mov ebx, dword [ebp - 0xbc]
movzx esi, byte [ebx]
movzx eax, byte [ebx + 1]
shl esi, 8
or esi, eax
movzx eax, byte [ebx + 2]
shl esi, 8
or esi, eax
movzx eax, byte [ebx + 3]
shl esi, 8
or esi, eax
lea eax, [ebp - 0xd4]
push eax
mov eax, dword [ebp - 0x9c]
add esi, 4
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
call fcn.00404c40
add esi, eax
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0x9c]
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
call fcn.00404c40
mov ebx, dword [ebp - 0xb8]
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 0xa0]
push ebx
call fcn.00404c40
mov esi, eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xa0]
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
call fcn.00404c40
add esi, eax
lea eax, [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xa0]
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
call fcn.00404c40
add esi, eax
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebp - 0xa0]
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
call fcn.00404c40
mov eax, dword [ebp - 0xd4]
add esp, 0x48
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x1c], eax
mov ebx, 6
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xa4], 0
mov dword [ebp - 8], str.if_modnsignrsa_pkcs1_sha1_encryptrsa_pkcs1v2_oaep
jmp 0x4059fc
cmp eax, 0x47f210
jne 0x405d95
mov ebx, dword [ebp - 0xbc]
movzx esi, byte [ebx]
movzx eax, byte [ebx + 1]
shl esi, 8
or esi, eax
movzx eax, byte [ebx + 2]
shl esi, 8
or esi, eax
movzx eax, byte [ebx + 3]
shl esi, 8
or esi, eax
lea eax, [ebp - 0xd4]
push eax
mov eax, dword [ebp - 0x9c]
add esi, 4
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
call fcn.00404c40
add esi, eax
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0x9c]
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
call fcn.00404c40
add esi, eax
lea eax, [ebp - 0xcc]
push eax
mov eax, dword [ebp - 0x9c]
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
call fcn.00404c40
add esi, eax
lea eax, [ebp - 0xb0]
push eax
mov eax, dword [ebp - 0x9c]
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
call fcn.00404c40
lea eax, [ebp - 0xa8]
push eax
push dword [ebp - 0xa0]
push dword [ebp - 0xb8]
call fcn.00404c40
mov eax, dword [ebp - 0xd4]
add esp, 0x3c
mov ecx, dword [ebp - 0xd0]
mov ebx, 5
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0xc0]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xa4], 1
mov dword [ebp - 8], str.dl_modpsigndsa_nist_sha1_dhplain
mov dword [ebp - 0xac], ebx
mov edx, 0x200
xor ecx, ecx
nop dword [eax]
add edx, 4
add edx, dword [ebp + ecx*8 - 0x38]
inc ecx
cmp ecx, ebx
jl 0x405a10
push 1
push edx
mov dword [ebp - 0xd0], edx
call fcn.00406b10
mov edx, dword [ebp - 8]
mov esi, eax
mov ecx, edx
mov dword [ebp - 0xc8], esi
add esp, 8
mov dword [esi], 0xebf96f3f
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405a43
sub ecx, ebx
lea eax, [esi + 8]
push ecx
push edx
push eax
call fcn.00404b70
add esp, 0xc
mov edx, str.3des_cbc
test edi, edi
lea ebx, [eax + 8]
mov eax, str.none
cmove edx, eax
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405a71
sub ecx, edi
lea eax, [ebx + esi]
push ecx
push edx
push eax
call fcn.00404b70
add ebx, eax
add esp, 0xc
mov dword [ebp - 8], ebx
add ebx, 8
cmp dword [ebp - 0xa4], 0
je 0x405aa3
mov dword [ebx + esi], 0
add ebx, 4
xor edi, edi
lea eax, [ebp - 0x38]
nop dword [eax + eax]
push dword [eax + edi*8]
lea eax, [ebx + esi]
push dword [ebp + edi*8 - 0x3c]
push eax
call fcn.00404e10
add ebx, eax
inc edi
add esp, 0xc
lea eax, [ebp - 0x38]
cmp edi, dword [ebp - 0xac]
jl 0x405ab0
mov edx, dword [ebp - 8]
mov ecx, ebx
sub ecx, edx
mov dword [ebp - 0xac], ebx
sub ecx, 8
mov eax, ecx
sar eax, 0x18
lea edi, [edx + 4]
add edi, esi
mov dword [ebp - 0xc0], edi
mov byte [edi], al
mov eax, ecx
mov edi, dword [ebp - 0xb4]
sar eax, 0x10
mov byte [edx + esi + 5], al
mov al, bl
sub al, dl
sar ecx, 8
sub al, 8
mov byte [edx + esi + 6], cl
mov byte [edx + esi + 7], al
test edi, edi
je 0x405b40
mov edi, edx
sub edi, ebx
sub edi, 4
and edi, 7
je 0x405b3a
call fcn.00419a20
mov byte [ebx + esi], al
inc ebx
sub edi, 1
jne 0x405b23
mov edx, dword [ebp - 8]
mov dword [ebp - 0xac], ebx
mov edi, dword [ebp - 0xb4]
mov ecx, ebx
sub ecx, edx
sub ecx, 4
mov eax, ecx
mov byte [edx + esi + 3], cl
sar eax, 0x18
mov byte [edx + esi], al
mov eax, ecx
sar eax, 0x10
mov byte [edx + esi + 1], al
mov eax, ecx
sar eax, 8
mov byte [edx + esi + 2], al
mov eax, ebx
sar eax, 0x18
mov byte [esi + 4], al
mov eax, ebx
sar eax, 0x10
mov byte [esi + 5], al
mov eax, ebx
sar eax, 8
mov dword [ebp - 0xa4], ecx
mov byte [esi + 6], al
mov byte [esi + 7], bl
test edi, edi
je 0x405c56
lea eax, [ebp - 0x98]
push eax
call fcn.00414c50
mov ecx, edi
add esp, 4
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405ba2
sub ecx, edx
lea eax, [ebp - 0x98]
push ecx
push edi
push eax
call fcn.00414ce0
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00414b20
lea eax, [ebp - 0x98]
push eax
call fcn.00414c50
mov ecx, edi
add esp, 0x18
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405be0
sub ecx, edx
lea eax, [ebp - 0x98]
push ecx
push edi
push eax
call fcn.00414ce0
push 0x10
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00414ce0
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00414b20
push dword [ebp - 0xa4]
lea eax, [ebp - 0xc]
xorps xmm0, xmm0
push dword [ebp - 0xc0]
movlpd qword [ebp - 0xc], xmm0
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040da30
lea eax, [ebp - 0x98]
push 0x5c
push eax
call fcn.004248d0
lea eax, [ebp - 0x2c]
push 0x20
push eax
call fcn.004248d0
add esp, 0x40
mov eax, dword [ebp - 0xd8]
push 0x47a778
push dword [eax]
call fcn.00433fed
mov edi, eax
add esp, 8
mov dword [ebp - 0xa4], edi
test edi, edi
je 0x405d31
push edi
push str._____BEGIN_SSH2_ENCRYPTED_PRIVATE_KEY______n
call fcn.00434196
push str.Comment:__
push edi
call fcn.00401dd0
mov edi, dword [ebp - 0xdc]
add esp, 0x10
mov edi, dword [edi + 8]
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405ca2
sub ecx, edx
cmp ecx, 0x3c
jle 0x405cfa
mov ebx, dword [ebp - 0xa4]
mov esi, 0x3c
nop dword [eax + eax]
push edi
push esi
push str._.s_n
push ebx
call fcn.00401dd0
add esp, 0x10
add edi, esi
mov eax, edi
mov esi, 0x46
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405ce0
sub eax, edx
cmp eax, 0x46
jg 0x405cc0
mov ebx, dword [ebp - 0xac]
mov esi, dword [ebp - 0xc8]
push edi
mov edi, dword [ebp - 0xa4]
push str._s__n
push edi
call fcn.00401dd0
push 0x46
push ebx
push esi
push edi
call fcn.004161e0
push edi
push str._____END_SSH2_ENCRYPTED_PRIVATE_KEY______n
call fcn.00434196
push edi
call fcn.00433cab
add esp, 0x28
mov edi, 1
jmp 0x405d33
xor edi, edi
push dword [ebp - 0xd0]
push esi
call fcn.004248d0
push esi
call fcn.00406af0
mov ebx, dword [ebp - 0xb8]
add esp, 0xc
test ebx, ebx
je 0x405d67
push dword [ebp - 0xa0]
push ebx
call fcn.004248d0
push ebx
call fcn.00406af0
add esp, 0xc
push dword [ebp - 0x9c]
mov esi, dword [ebp - 0xbc]
push esi
call fcn.004248d0
push esi
call fcn.00406af0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, edi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00427f9e
mov esp, ebp
pop ebp
ret
push 1
call fcn.00452ce6
int3