Function at 0x140059c70
Capabilities:
Set current directory

Disassembly:
push rbx
push rsi
push rdi
push r14
mov eax, pe_nt_image_headers64
call fcn.14002a170
sub rsp, rax
movsxd rsi, ecx
mov rbx, r8
mov ecx, esi
mov rdi, rdx
call fcn.140059ad0
mov r14d, eax
test eax, eax
jle 0x14005a3f4
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0xa8], r12
mov qword [rsp + 0x70], r15
cmp esi, 8
ja case.0x140059cce.3
lea r10, [0x140000000]
mov eax, dword [r10 + rsi*4 + 0x5a400]
add rax, r10
jmp rax
mov r8d, dword [rbx + 8]
test r8d, r8d
jne 0x140059d00
call fcn.140013db0
lea r8, str.default_fixup_args
mov edx, 0x19d
lea rcx, str.cryptoevpctrl_params_translate.c
call fcn.140013ed0
mov edx, 0x8010c
jmp 0x14005a3c4
cmp dword [rdi + 0xc], 0
je 0x140059dc3
mov rdx, qword [rbx]
mov ecx, dword [rdx]
lea eax, [rcx - 0x10]
cmp eax, 0x30
ja 0x140059d27
movabs r9, 0x1000000010001
bt r9, rax
jb 0x140059d37
cmp ecx, 0x80
je 0x140059d37
cmp ecx, 0x100
jne 0x140059d3e
cmp qword [rdx + 0x30], 0
je 0x140059d8b
cmp ecx, 0x800
je 0x140059d53
lea eax, [rcx - 0x200]
test eax, 0xfffffdff
jne 0x140059d5a
cmp qword [rdx + 0x30], 0
je 0x140059d8b
lea eax, [rcx - 0x1000]
test eax, 0xffffefff
jne 0x140059d6e
cmp qword [rdx + 0x30], 0
je 0x140059d8b
lea eax, [rcx - 2]
test eax, 0xfffffffd
jne 0x140059d7f
cmp qword [rdx + 0x28], 0
je 0x140059d8b
cmp ecx, 8
jne 0x140059dc3
cmp qword [rdx + 0x28], 0
jne 0x140059dc3
call fcn.140013db0
lea r8, str.default_fixup_args
mov edx, 0x1b3
lea rcx, str.cryptoevpctrl_params_translate.c
call fcn.140013ed0
xor r8d, r8d
mov edx, 0x93
lea ecx, [r8 + 6]
call fcn.140013fd0
mov eax, 0xfffffffe
jmp 0x14005a3df
mov eax, dword [rdi + 0x30]
dec eax
cmp eax, 6
ja case.0x140059ddc.3
mov ecx, dword [r10 + rax*4 + 0x5a424]
add rcx, r10
jmp rcx
mov rdx, qword [rdi + 0x28]
lea r8, [rbx + 0x1c]
lea rcx, [rsp + 0x40]
call fcn.14000fb90
jmp 0x140059f6a
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140059ef8
cmp r8d, 2
jne 0x140059eca
call fcn.140037d50
add eax, 7
mov r8d, 0x1ce
cdq
and edx, 7
add eax, edx
lea rdx, str.cryptoevpctrl_params_translate.c
sar eax, 3
movsxd rcx, eax
mov qword [rbx + 0x88], rcx
call fcn.14000f160
mov qword [rbx + 0x78], rax
test rax, rax
jne 0x140059e75
call fcn.140013db0
lea r8, str.default_fixup_args
mov edx, 0x1cf
lea rcx, str.cryptoevpctrl_params_translate.c
call fcn.140013ed0
xor r8d, r8d
mov edx, 0xc0100
lea ecx, [r8 + 6]
call fcn.140013fd0
jmp 0x14005a3dd
mov r8d, dword [rbx + 0x88]
mov rdx, rax
mov rcx, qword [rbx + 0x20]
call fcn.1400384a0
mov rcx, qword [rbx + 0x78]
test eax, eax
jns 0x140059ead
mov r8d, 0x1d4
lea rdx, str.cryptoevpctrl_params_translate.c
call fcn.14000f1b0
xor ecx, ecx
mov qword [rbx + 0x78], rcx
jmp 0x14005a3dd
mov r9, qword [rbx + 0x88]
mov r8, rcx
mov rdx, qword [rdi + 0x28]
lea rcx, [rsp + 0x40]
call fcn.14000fd10
jmp 0x140059f6a
call fcn.140013db0
lea r8, str.default_fixup_args
mov edx, 0x1e1
lea rcx, str.cryptoevpctrl_params_translate.c
call fcn.140013ed0
lea r8, str._action:_d__state:_d__trying_to_get_a_BIGNUM_via_ctrl_call
mov edx, 0x8010c
jmp 0x14005a3cb
mov rdx, qword [rdi + 0x28]
lea r8, [rbx + 0x1c]
lea rcx, [rsp + 0x40]
call fcn.14000fbf0
jmp 0x140059f6a
movsxd r9, dword [rbx + 0x1c]
lea rcx, [rsp + 0x40]
mov r8, qword [rbx + 0x20]
mov rdx, qword [rdi + 0x28]
call fcn.14000fd60
jmp 0x140059f6a
movsxd r9, dword [rbx + 0x1c]
lea rcx, [rsp + 0x40]
mov r8, qword [rbx + 0x20]
mov rdx, qword [rdi + 0x28]
call fcn.14000fdd0
jmp 0x140059f6a
movsxd r9, dword [rbx + 0x1c]
lea rcx, [rsp + 0x40]
mov r8, qword [rbx + 0x20]
mov rdx, qword [rdi + 0x28]
call fcn.14000fe20
jmp 0x140059f6a
movsxd r9, dword [rbx + 0x1c]
lea rcx, [rsp + 0x40]
mov r8, qword [rbx + 0x20]
mov rdx, qword [rdi + 0x28]
call fcn.14000fe70
movups xmm0, xmmword [rax]
mov rcx, qword [rbx + 0x30]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movsd xmm0, qword [rax + 0x20]
movsd qword [rcx + 0x20], xmm0
mov eax, r14d
jmp 0x14005a3df
cmp dword [rbx + 8], 1
jne case.0x140059ddc.3
mov ecx, dword [rdi + 0x30]
sub ecx, 4
je 0x140059fab
sub ecx, 1
je 0x140059fab
sub ecx, 1
je 0x140059fab
cmp ecx, 1
jne case.0x140059ddc.3
mov rax, qword [rbx + 0x30]
mov ecx, dword [rax + 0x20]
mov eax, r14d
mov dword [rbx + 0x1c], ecx
jmp 0x14005a3df
mov rbp, qword [rbx + 0x10]
xor ecx, ecx
cmp dword [rbx + 8], 2
mov r15, rbp
mov r12, qword [rbx + 0x20]
mov dword [rsp + 0xb8], ecx
je 0x14005a005
call fcn.140013db0
lea r8, str.default_fixup_args
mov edx, 0x226
lea rcx, str.cryptoevpctrl_params_translate.c
call fcn.140013ed0
lea r8, str._action:_d__state:_d__only_setting_allowed
mov edx, 0x93
jmp 0x14005a3cb
test rdi, rdi
je 0x14005a074
mov rbp, qword [rdi + 0x28]
mov qword [rbx + 0x10], rbp
cmp dword [rbx + 0x18], ecx
je 0x14005a074
mov r8d, gethostbyname
mov dword [rbx + 0x40], 0x786568
mov rdx, rbp
lea rcx, [rbx + 0x40]
call fcn.140020940
cmp rax, 3
ja 0x14005a070
call fcn.140013db0
lea r8, str.default_fixup_args
mov edx, 0x237
lea rcx, str.cryptoevpctrl_params_translate.c
call fcn.140013ed0
xor r8d, r8d
mov edx, 0xc0103
lea ecx, [r8 + 6]
call fcn.140013fd0
mov rax, 0xffffffffffffffff
jmp 0x14005a3df
lea rbp, [rbx + 0x40]
mov rcx, qword [rbx]
call fcn.140028ba0
mov r9, qword [rbx + 0x20]
mov rdx, rax
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [r9 + rax], 0
jne 0x14005a090
lea rcx, [rsp + 0xb8]
mov r8, rbp
mov qword [rsp + 0x28], rcx
mov rcx, qword [rbx + 0x30]
mov qword [rsp + 0x20], rax
call fcn.1400ad490
test eax, eax
jne 0x14005a118
cmp dword [rsp + 0xb8], eax
jne 0x14005a3dd
call fcn.140013db0
lea r8, str.default_fixup_args
mov edx, 0x244
lea rcx, str.cryptoevpctrl_params_translate.c
call fcn.140013ed0
mov r9d, dword [rbx + 8]
lea r8, str._action:_d__state:_d__name_s__value_s
mov qword [rsp + 0x30], r12
mov edx, 0x93
mov qword [rsp + 0x28], r15
mov ecx, 6
mov dword [rsp + 0x20], esi
call fcn.140013fd0
mov eax, 0xfffffffe
jmp 0x14005a3df
mov rcx, qword [rbx + 0x30]
mov rax, qword [rcx + 0x10]
mov qword [rbx + 0x78], rax
mov rax, qword [rcx + 0x18]
mov qword [rbx + 0x88], rax
mov eax, r14d
jmp 0x14005a3df
mov r14d, dword [rbx + 0x1c]
cmp esi, 7
jne 0x14005a271
cmp dword [rbx + 8], 2
jne 0x14005a24a
mov ecx, dword [rdi + 0x30]
sub ecx, 1
je 0x14005a238
sub ecx, 1
je 0x14005a1fd
sub ecx, 2
je 0x14005a1e7
sub ecx, 1
je 0x14005a1cd
cmp ecx, 2
je 0x14005a1b7
call fcn.140013db0
lea r8, str.default_fixup_args
mov edx, 0x285
lea rcx, str.cryptoevpctrl_params_translate.c
call fcn.140013ed0
mov eax, dword [rdi + 0x30]
lea r8, str._action:_d__state:_d__unknown_OSSL_PARAM_data_type__d
mov r9d, dword [rbx + 8]
lea ecx, [rsi - 1]
mov dword [rsp + 0x28], eax
mov edx, 0x8010c
mov dword [rsp + 0x20], esi
call fcn.140013fd0
jmp 0x14005a3dd
mov rdx, qword [rbx + 0x20]
lea r8, [rbx + 0x28]
mov rcx, qword [rbx + 0x30]
call fcn.140011740
jmp 0x14005a3df
mov r8, qword [rbx + 0x28]
lea r9, [rbx + 0x1c]
mov rcx, qword [rbx + 0x30]
lea rdx, [rbx + 0x20]
call fcn.140011500
jmp 0x14005a3df
mov r8, qword [rbx + 0x28]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x30]
call fcn.140011390
jmp 0x14005a3df
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x30]
test rdx, rdx
je 0x14005a221
call fcn.1400110c0
test eax, eax
je 0x14005a3dd
mov eax, 1
jmp 0x14005a3df
lea rdx, [rbx + 0x1c]
call fcn.14000ff00
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
jmp 0x14005a3df
mov rcx, qword [rbx + 0x30]
lea rdx, [rbx + 0x1c]
call fcn.14000fee0
jmp 0x14005a3df
cmp dword [rbx + 8], 1
jne case.0x140059ddc.3
cmp dword [rdi + 0x30], 7
jne case.0x140059ddc.3
lea rax, [rbx + 0x80]
mov qword [rbx + 0x20], rax
mov eax, r14d
jmp 0x14005a3df
test esi, 0xfffffff7
jne case.0x140059ddc.3
cmp dword [rbx + 8], 1
jne case.0x140059ddc.3
movsxd rdx, dword [rbx + 0x1c]
mov eax, dword [rdi + 0x30]
mov r8, rdx
test esi, esi
jne 0x14005a299
mov r8, qword [rbx + 0x28]
test eax, eax
jne 0x14005a2de
cmp qword [rdi + 0x38], 0
jne 0x14005a2d7
call fcn.140013db0
lea r8, str.default_fixup_args
mov edx, 0x297
lea rcx, str.cryptoevpctrl_params_translate.c
call fcn.140013ed0
xor r8d, r8d
mov edx, 0xc0103
lea ecx, [r8 + 6]
call fcn.140013fd0
jmp 0x14005a3dd
mov rax, qword [rbx + 0x30]
mov eax, dword [rax + 8]
sub eax, 1
je 0x14005a397
sub eax, 1
je 0x14005a379
sub eax, 2
je 0x14005a36a
sub eax, 1
je 0x14005a35b
cmp eax, 2
je 0x14005a346
call fcn.140013db0
lea r8, str.default_fixup_args
mov edx, 0x2b3
lea rcx, str.cryptoevpctrl_params_translate.c
call fcn.140013ed0
mov eax, dword [rdi + 0x30]
lea r8, str._action:_d__state:_d__unsupported_OSSL_PARAM_data_type__d
mov r9d, dword [rbx + 8]
mov edx, 0x8010c
mov dword [rsp + 0x28], eax
mov ecx, 6
mov dword [rsp + 0x20], esi
call fcn.140013fd0
jmp 0x14005a3dd
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x30]
mov rdx, qword [rdx]
call fcn.1400117f0
jmp 0x14005a3df
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x30]
call fcn.140011530
jmp 0x14005a3df
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x30]
call fcn.140011450
jmp 0x14005a3df
mov rax, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x30]
test rax, rax
je 0x14005a390
mov rdx, rax
call fcn.140011190
jmp 0x14005a3df
call fcn.140010870
jmp 0x14005a3df
mov rcx, qword [rbx + 0x30]
call fcn.140010850
jmp 0x14005a3df
call fcn.140013db0
lea r8, str.default_fixup_args
mov edx, 0x18c
lea rcx, str.cryptoevpctrl_params_translate.c
call fcn.140013ed0
mov edx, 0xc0101
lea r8, str._action:_d__state:_d_
mov r9d, dword [rbx + 8]
mov ecx, 6
mov dword [rsp + 0x20], esi
call fcn.140013fd0
xor eax, eax
mov r12, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0xa0]
mov r15, qword [rsp + 0x70]
add rsp, 0x78
pop r14
pop rdi
pop rsi
pop rbx
ret