Function at 0x412bf0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x488
mov eax, dword [0x479600]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
movups xmm0, xmmword [str._____BEGIN_SSH2_PUBLIC_KEY]
movzx eax, word [0x46aad0]
mov word [ebp - 0x4c], ax
movzx eax, byte [0x46aad2]
movups xmmword [ebp - 0x64], xmm0
mov byte [ebp - 0x4a], al
movq xmm0, qword [0x46aac8]
mov eax, dword [0x46a6ac]
movq qword [ebp - 0x54], xmm0
movups xmm0, xmmword [str.qwert_User_Key_File_]
mov dword [ebp - 0x38], eax
movzx eax, byte [0x46a6b0]
movups xmmword [ebp - 0x48], xmm0
mov byte [ebp - 0x34], al
movups xmm0, xmmword [str._____BEGIN_SSH2_ENCRYPTED_PRIVAT]
movzx eax, byte [0x46aaf4]
mov byte [ebp - 0x68], al
mov eax, dword [0x46ab10]
movups xmmword [ebp - 0x88], xmm0
movups xmm0, xmmword [0x46aae4]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], eax
movzx eax, word [0x46ab14]
movups xmmword [ebp - 0x78], xmm0
movups xmm0, xmmword [str._____BEGIN_OPENSSH_PRIVATE_KEY]
mov word [ebp - 0x14], ax
movzx eax, byte [0x46ab16]
push esi
movups xmmword [ebp - 0x30], xmm0
mov byte [ebp - 0x12], al
movq xmm0, qword [0x46ab08]
mov eax, dword [0x46ab20]
push 0x3ff
mov dword [ebp - 8], eax
lea eax, [ebp - 0x488]
movq qword [ebp - 0x20], xmm0
movq xmm0, qword [str._____BEGIN]
push 1
push eax
movq qword [ebp - 0x10], xmm0
call fcn.00441a3e
push esi
mov edi, eax
call fcn.00441ec6
add esp, 0x14
test edi, edi
jns 0x412cf4
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fb3e
mov esp, ebp
pop ebp
ret
cmp edi, 0x20
jge 0x412d0e
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fb3e
mov esp, ebp
pop ebp
ret
cmp edi, 0x400
jae 0x412f61
mov byte [ebp + edi - 0x488], 0
lea ecx, [ebp - 0x488]
mov edx, str.SSH_PRIVATE_KEY_FILE_FORMAT_1.1_n
mov esi, 0x1c
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x412d58
add ecx, 4
add edx, 4
sub esi, 4
jae 0x412d32
pop edi
mov eax, 2
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fb3e
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x488]
mov esi, 0x16
lea edx, [ebp - 0x64]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x412d94
add ecx, 4
add edx, 4
sub esi, 4
jae 0x412d66
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x412d94
pop edi
mov eax, 9
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fb3e
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x488]
mov esi, 0x10
lea edx, [ebp - 0x48]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x412dc8
add ecx, 4
add edx, 4
sub esi, 4
jae 0x412da2
pop edi
mov eax, 3
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fb3e
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x488]
mov esi, 0x1a
lea edx, [ebp - 0x30]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x412e04
add ecx, 4
add edx, 4
sub esi, 4
jae 0x412dd6
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x412e04
pop edi
mov eax, 6
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fb3e
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x488]
mov esi, 7
lea edx, [ebp - 0x10]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x412e48
add ecx, 4
add edx, 4
sub esi, 4
jae 0x412e12
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x412e48
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x412e48
pop edi
mov eax, 5
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fb3e
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x488]
mov esi, 0x1c
lea edx, [ebp - 0x88]
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x412e86
add ecx, 4
add edx, 4
sub esi, 4
jae 0x412e60
pop edi
mov eax, 7
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fb3e
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x488]
push str.0123456789
push eax
call fcn.004409a0
lea esi, [ebp - 0x488]
add esp, 8
add esi, eax
cmp byte [esi], 0x20
jne 0x412ef6
lea eax, [esi + 1]
push str.0123456789
push eax
call fcn.004409a0
add esi, eax
add esp, 8
cmp byte [esi + 1], 0x20
jne 0x412ef6
lea eax, [esi + 2]
push str.0123456789
push eax
call fcn.004409a0
add esp, 8
mov al, byte [eax + esi + 2]
cmp al, 0x20
je 0x412ee1
cmp al, 0xa
je 0x412ee1
test al, al
jne 0x412ef6
pop edi
mov eax, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fb3e
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x488]
push 0x46aa10
push eax
call fcn.00440950
lea ecx, [ebp - 0x488]
push ecx
lea esi, [ebp - 0x488]
push eax
add esi, eax
call fcn.00412ac0
add esp, 0x10
test eax, eax
je 0x412cf9
lea eax, [esi + 1]
push str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_
push eax
call fcn.004409a0
add esp, 8
mov al, byte [eax + esi + 1]
cmp al, 0x20
je 0x412f4c
cmp al, 0xa
je 0x412f4c
test al, al
jne 0x412cf9
mov ecx, dword [ebp - 4]
mov eax, 0xa
pop edi
xor ecx, ebp
pop esi
call fcn.0041fb3e
mov esp, ebp
pop ebp
ret
call fcn.0041fc6e
int3