Function at 0x464000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x104
mov ebp, dword [esp + 0x120]
mov esi, dword [esp + 0x118]
mov eax, dword [0x501034]
xor eax, esp
mov dword [esp + 0x100], eax
call fcn.00439d90
mov dword [esp + 0x14], eax
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 0x10]
xor edi, edi
xor ebx, ebx
mov esi, str.no_header_line_found_in_key_file
nop
push ecx
call fcn.004393f0
add esp, 4
cmp al, 0xa
je 0x4643c9
cmp al, 0xd
je 0x4643c9
mov ecx, dword [esp + 0x118]
mov ecx, dword [ecx + 0x10]
cmp dword [ecx + 0xc], 0
jne 0x4643c9
cmp al, 0x3a
je 0x464086
cmp ebx, 0x27
je 0x4643c9
mov byte [esp + ebx + 0xd8], al
add ebx, 1
jmp 0x464040
push ecx
call fcn.004393f0
add esp, 4
cmp al, 0x20
jne 0x4643c9
mov byte [esp + ebx + 0xd8], 0
lea esi, [esp + 0xd8]
push 0x16
push str.PuTTY_User_Key_File_3
push esi
call fcn.004a084d
add esp, 0xc
xor edi, edi
test eax, eax
je 0x46410a
push 0x16
push str.PuTTY_User_Key_File_2
push esi
call fcn.004a084d
add esp, 0xc
test eax, eax
je 0x464123
push 0x16
push str.PuTTY_User_Key_File_1
push esi
call fcn.004a084d
add esp, 0xc
test eax, eax
je 0x46413e
push 0x14
push str.PuTTY_User_Key_File_
push esi
call fcn.004a084d
add esp, 0xc
test eax, eax
mov eax, str.PuTTY_key_format_too_new
mov esi, str.not_a_PuTTY_SSH_2_private_key
cmove esi, eax
xor edi, edi
jmp 0x4643c9
mov dword [esp + 4], 3
mov dword [esp + 0x10], 0x4d8f60
mov al, 1
mov dword [esp], eax
xor ebx, ebx
jmp 0x46415c
mov dword [esp + 0x10], 0x4d8fd8
mov dword [esp + 4], 2
mov dword [esp], 0
xor ebx, ebx
jmp 0x46415c
mov dword [esp + 0x10], 0x4d8fd8
call fcn.0041f490
mov dword [esp + 4], 1
mov bl, 1
mov dword [esp], 0
mov ecx, dword [esp + 0x118]
call fcn.00464af0
mov esi, str.file_format_error
test eax, eax
je 0x4643c2
mov ebp, eax
mov dword [esp + 0x1c], ebx
push eax
call fcn.004b2d70
add esp, 4
push eax
push ebp
call fcn.00463d30
add esp, 8
mov ebx, eax
push ebp
call fcn.00439860
add esp, 4
mov dword [esp + 0x24], ebx
test ebx, ebx
je 0x4643c2
mov eax, dword [esp + 0x118]
mov ecx, dword [eax + 0x10]
xor edi, edi
xor ebx, ebx
mov ebp, dword [esp + 0x120]
push ecx
call fcn.004393f0
add esp, 4
cmp al, 0xa
je 0x4643c9
cmp al, 0xd
je 0x4643c9
mov ecx, dword [esp + 0x118]
mov ecx, dword [ecx + 0x10]
cmp dword [ecx + 0xc], 0
jne 0x4643c9
cmp al, 0x3a
je 0x464200
cmp ebx, 0x27
je 0x4643c9
mov byte [esp + ebx + 0xd8], al
add ebx, 1
jmp 0x4641ba
push ecx
call fcn.004393f0
add esp, 4
cmp al, 0x20
jne 0x4643c9
mov byte [esp + ebx + 0xd8], 0
push 0xb
push str.Encryption
lea eax, [esp + 0xe0]
push eax
call fcn.004a084d
add esp, 0xc
test eax, eax
jne 0x4643c9
mov ecx, dword [esp + 0x118]
call fcn.00464af0
test eax, eax
je 0x4643c9
mov ebx, eax
push str.aes256_cbc
push eax
call fcn.004b2820
add esp, 8
mov dword [esp + 0x38], eax
test eax, eax
je 0x464280
push str.none
push ebx
call fcn.004b2820
add esp, 8
test eax, eax
jne 0x4642bb
mov dword [esp + 0xc], str.none
jmp 0x464288
mov dword [esp + 0xc], str.aes256_cbc
lea edx, [esp + 0xd8]
mov ecx, dword [esp + 0x118]
call fcn.00464a90
test al, al
je 0x4642bb
mov eax, 0x6d6d6f43
xor eax, dword [esp + 0xd8]
mov ecx, 0x746e65
xor ecx, dword [esp + 0xdc]
or ecx, eax
je 0x4642c9
push ebx
call fcn.00439860
add esp, 4
jmp 0x4643c9
mov ecx, dword [esp + 0x118]
call fcn.00464af0
mov dword [esp + 0x18], eax
test eax, eax
je 0x4642bb
mov dword [esp + 0x20], ebx
mov dword [esp + 0x58], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
lea edi, [esp + 0xd8]
mov ecx, dword [esp + 0x118]
mov edx, edi
call fcn.00464a90
mov esi, str.file_format_error
test al, al
je 0x464357
push 0xd
push str.Public_Lines
push edi
call fcn.004a084d
add esp, 0xc
test eax, eax
je 0x4643f7
xor ebp, ebp
xor edi, edi
mov dword [esp + 8], 0
mov dword [esp], 0
xor ebx, ebx
push dword [esp + 0x18]
call fcn.00439860
add esp, 4
push dword [esp + 0x20]
call fcn.00439860
add esp, 4
test ebp, ebp
je 0x464391
push ebp
call fcn.00439860
add esp, 4
cmp dword [esp + 8], 0
je 0x4643a4
push dword [esp + 8]
call fcn.00439e50
add esp, 4
cmp dword [esp], 0
je 0x4643b5
push dword [esp]
call fcn.00439e50
add esp, 4
test ebx, ebx
je 0x4643c2
push ebx
call fcn.00439e50
add esp, 4
mov ebp, dword [esp + 0x120]
push dword [esp + 0x28]
call fcn.00439e50
add esp, 4
test ebp, ebp
je 0x4643dc
mov dword [ebp], esi
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.0049f6f0
mov eax, edi
add esp, 0x104
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [esp + 0x118]
call fcn.00464af0
test eax, eax
je 0x464357
mov ebp, eax
mov ecx, eax
call fcn.00464b80
mov edi, eax
push ebp
call fcn.00439860
add esp, 4
test edi, edi
js 0x464357
call fcn.00439d90
mov dword [esp + 8], eax
add eax, 0xc
mov ecx, dword [esp + 0x118]
mov edx, edi
push eax
call fcn.00464bd0
add esp, 4
test al, al
je 0x46475a
cmp byte [esp], 0
je 0x46472d
mov eax, dword [esp + 0xc]
cmp dword [eax + 8], 0
je 0x46472d
lea edi, [esp + 0xd8]
mov ecx, dword [esp + 0x118]
mov edx, edi
call fcn.00464a90
test al, al
je 0x46475a
push 0xf
push str.Key_Derivation
push edi
call fcn.004a084d
add esp, 0xc
test eax, eax
jne 0x46475a
mov ecx, dword [esp + 0x118]
call fcn.00464af0
test eax, eax
je 0x46475a
mov edi, eax
push str.Argon2d
push eax
call fcn.004b2820
add esp, 8
mov dword [esp], 0
mov ecx, 0
test eax, eax
je 0x46450c
push str.Argon2i
push edi
call fcn.004b2820
add esp, 8
test eax, eax
je 0x464500
push str.Argon2id
push edi
call fcn.004b2820
add esp, 8
test eax, eax
je 0x464507
push edi
call fcn.00439860
add esp, 4
jmp 0x46475a
mov ecx, 1
jmp 0x46450c
mov ecx, 2
mov dword [esp + 0x40], ecx
push edi
call fcn.00439860
add esp, 4
lea edi, [esp + 0xd8]
mov ecx, dword [esp + 0x118]
mov edx, edi
call fcn.00464a90
test al, al
je 0x46495b
push 0xe
push str.Argon2_Memory
push edi
call fcn.004a084d
add esp, 0xc
test eax, eax
jne 0x46475a
mov ecx, dword [esp + 0x118]
call fcn.00464af0
test eax, eax
je 0x46475a
mov edi, eax
lea edx, [esp + 0x44]
mov ecx, eax
call fcn.00464cb0
mov ebx, eax
push edi
call fcn.00439860
add esp, 4
test bl, bl
je 0x46475a
lea edi, [esp + 0xd8]
mov ecx, dword [esp + 0x118]
mov edx, edi
call fcn.00464a90
test al, al
je 0x46475a
push 0xe
push str.Argon2_Passes
push edi
call fcn.004a084d
add esp, 0xc
test eax, eax
jne 0x46475a
mov ecx, dword [esp + 0x118]
call fcn.00464af0
test eax, eax
je 0x46475a
mov edi, eax
lea edx, [esp + 0x4c]
mov ecx, eax
call fcn.00464cb0
mov ebx, eax
push edi
call fcn.00439860
add esp, 4
test bl, bl
je 0x46475a
lea edi, [esp + 0xd8]
mov ecx, dword [esp + 0x118]
mov edx, edi
call fcn.00464a90
test al, al
je 0x46475a
push 0x13
push str.Argon2_Parallelism
push edi
call fcn.004a084d
add esp, 0xc
test eax, eax
jne 0x46475a
mov ecx, dword [esp + 0x118]
call fcn.00464af0
test eax, eax
je 0x46475a
mov edi, eax
lea edx, [esp + 0x50]
mov ecx, eax
call fcn.00464cb0
mov ebx, eax
push edi
call fcn.00439860
add esp, 4
test bl, bl
je 0x46475a
lea edi, [esp + 0xd8]
mov ecx, dword [esp + 0x118]
mov edx, edi
call fcn.00464a90
test al, al
je 0x46475a
push 0xc
push str.Argon2_Salt
push edi
call fcn.004a084d
add esp, 0xc
test eax, eax
jne 0x46475a
mov ecx, dword [esp + 0x118]
call fcn.00464af0
test eax, eax
je 0x46475a
mov edi, eax
mov al, byte [eax]
mov byte [esp], al
test al, al
je 0x464724
add dword [esp + 0x14], 0xc
mov ebp, edi
add ebp, 2
movzx eax, byte [esp]
push eax
call fcn.004b1970
add esp, 4
test eax, eax
je 0x4644f2
movzx ebx, byte [ebp - 1]
test ebx, ebx
je 0x4644f2
push ebx
call fcn.004b1970
add esp, 4
test eax, eax
je 0x4644f2
movzx eax, byte [esp]
mov byte [esp + 0x77], al
mov byte [esp + 0x78], bl
mov byte [esp + 0x79], 0
push 0x10
push 0
lea eax, [esp + 0x7f]
push eax
call fcn.004b3082
add esp, 0xc
movzx eax, al
push eax
push dword [esp + 0x18]
call fcn.00439010
add esp, 8
movzx eax, byte [ebp]
add ebp, 2
mov byte [esp], al
test al, al
jne 0x4646b2
push edi
call fcn.00439860
add esp, 4
lea edi, [esp + 0xd8]
mov ecx, dword [esp + 0x118]
mov edx, edi
call fcn.00464a90
test al, al
je 0x46475a
push 0xe
push str.Private_Lines
push edi
call fcn.004a084d
add esp, 0xc
test eax, eax
je 0x464763
xor ebp, ebp
xor edi, edi
jmp 0x464363
mov ecx, dword [esp + 0x118]
call fcn.00464af0
test eax, eax
je 0x46475a
mov edi, eax
mov ecx, eax
call fcn.00464b80
mov ebp, eax
push edi
call fcn.00439860
add esp, 4
test ebp, ebp
js 0x46475a
call fcn.00439df0
mov dword [esp], eax
add eax, 0xc
mov ecx, dword [esp + 0x118]
mov edx, ebp
push eax
call fcn.00464bd0
add esp, 4
test al, al
je 0x46495b
lea edi, [esp + 0xd8]
mov ecx, dword [esp + 0x118]
mov edx, edi
call fcn.00464a90
test al, al
je 0x46495b
push 0xc
push str.Private_MAC
push edi
call fcn.004a084d
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x464809
push 0xd
push str.Private_Hash
push edi
call fcn.004a084d
add esp, 0xc
test eax, eax
setne al
mov ecx, dword [esp + 0x1c]
xor cl, 1
or cl, al
jne 0x46495b
mov ecx, dword [esp + 0x118]
call fcn.00464af0
mov ebp, eax
test eax, eax
je 0x46495b
call fcn.00439d90
mov ebx, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
mov dword [esp + 0x34], ecx
mov eax, dword [eax + 8]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x11c]
test eax, eax
mov ecx, 0x4f2727
cmovne ecx, eax
mov dword [esp + 0x2c], ecx
push ecx
call fcn.004b2d70
add esp, 4
lea edi, [esp + 0x3c]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0xc]
push edi
push dword [esp + 0x34]
push dword [esp + 0x3c]
lea edi, [esp + 0x68]
push edi
lea edi, [esp + 0x74]
push edi
lea edi, [esp + 0x80]
push edi
push ebx
push eax
push dword [esp + 0x4c]
call fcn.00464d00
add esp, 0x24
mov eax, dword [esp]
mov eax, dword [eax + 8]
xor edi, edi
mov dword [esp + 4], eax
xor edx, edx
mov ecx, dword [esp + 0xc]
div dword [ecx + 4]
test edx, edx
jne 0x46436c
cmp dword [esp + 0x38], 0
jne 0x4648ca
push dword [esp + 4]
mov eax, dword [esp + 4]
push dword [eax + 4]
push dword [esp + 0x6c]
push dword [esp + 0x78]
call fcn.0048d900
add esp, 0x10
mov eax, dword [esp]
mov dword [esp + 4], eax
cmp byte [esp + 0x1c], 0
jne 0x464933
call fcn.00439df0
mov dword [esp + 4], eax
mov esi, eax
add esi, 0xc
mov eax, dword [esp + 0x24]
push dword [eax + 0x60]
push esi
call fcn.004391a0
add esp, 8
push dword [esp + 0x20]
push esi
call fcn.004391a0
add esp, 8
push dword [esp + 0x18]
push esi
call fcn.004391a0
add esp, 8
mov eax, dword [esp + 8]
push dword [eax + 8]
push dword [eax]
push esi
call fcn.00439150
add esp, 0xc
mov eax, dword [esp]
push dword [eax + 8]
push dword [eax]
push esi
call fcn.00439150
add esp, 0xc
cmp dword [esp + 0x14], 0
je 0x464964
lea eax, [esp + 0xb8]
push eax
mov eax, dword [esp + 8]
push dword [eax + 8]
push dword [eax + 4]
push 0x4d90bc
call fcn.0048d7f0
add esp, 0x10
jmp 0x4649ba
xor ebp, ebp
xor edi, edi
jmp 0x46436a
push 0
mov eax, dword [esp + 0x14]
push eax
call dword [eax]
add esp, 8
mov edi, eax
mov eax, dword [eax]
push dword [esp + 0x60]
push dword [esp + 0x60]
push edi
call dword [eax + 8]
add esp, 0xc
mov eax, dword [edi]
push edi
call dword [eax + 0xc]
add esp, 4
mov eax, dword [esp + 4]
push dword [eax + 8]
push dword [eax]
push dword [edi + 4]
call fcn.00438f90
add esp, 0xc
mov eax, dword [edi]
lea ecx, [esp + 0xb8]
push ecx
push edi
call dword [eax + 0x10]
add esp, 8
mov eax, dword [edi]
push edi
call dword [eax + 4]
add esp, 4
cmp byte [esp + 0x1c], 0
jne 0x4649cd
push dword [esp + 4]
call fcn.00439e50
add esp, 4
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x24], 0
jle 0x464a03
xor esi, esi
lea edi, [esp + 0x77]
movzx eax, byte [esp + esi + 0xb8]
push eax
push 0x4decca
push edi
call fcn.00401000
add esp, 0xc
add esi, 1
add edi, 2
mov eax, dword [esp + 0x10]
cmp esi, dword [eax + 0x24]
jl 0x4649dd
lea eax, [esp + 0x77]
push eax
push ebp
call fcn.004b2820
add esp, 8
test eax, eax
je 0x464a38
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 8]
test eax, eax
mov ecx, str.MAC_failed
mov esi, str.wrong_passphrase
cmove esi, ecx
mov edi, 0x5043c8
cmove edi, eax
jmp 0x46436c
push 0
push 8
push 1
call fcn.004397d0
add esp, 0xc
mov edi, eax
mov eax, dword [esp + 0x18]
mov dword [edi + 4], eax
mov eax, dword [esp]
push dword [eax + 8]
push dword [eax + 4]
mov eax, dword [esp + 0x10]
push dword [eax + 8]
push dword [eax + 4]
mov eax, dword [esp + 0x34]
push eax
call dword [eax + 4]
add esp, 0x14
mov dword [edi], eax
test eax, eax
je 0x464a7a
xor esi, esi
jmp 0x464378
push edi
call fcn.00439860
add esp, 4
xor edi, edi
mov esi, str.createkey_failed
jmp 0x464378