Function at 0x4ab560
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x50dc94]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x543acc
push 0x4aa120
push 0x543ac8
call fcn.004b07d6
add esp, 0xc
test eax, eax
jne 0x4ab594
call dword [0x4c59e8]
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004aa960
add esp, 8
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4ab5b2
mov eax, dword [eax]
push esi
lea edx, [ebp - 0x7d]
push edx
push ecx
push eax
call fcn.004b0ea1
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004aa000
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea eax, [ebp - 0x1c]
add esp, 0x14
cmp dword [ebp - 8], 0x10
cmovae eax, dword [ebp - 0x1c]
push eax
push str.OPENSSL_MODULES
call esi
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x4ab61a
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ab610
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4ab610
call dword [0x4c59b0]
push edx
push ecx
call fcn.004aebf7
add esp, 8
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
call fcn.00413170
mov byte [ebp - 0x84], 0
lea eax, [ebp - 0x4c]
push dword [ebp - 0x84]
push 0x13
push str.libcrypto_3_x64.dll
push eax
call fcn.004a9ec0
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.004aa960
add esp, 0x18
lea ecx, [ebp - 0x64]
push eax
call fcn.00410760
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x64]
call fcn.004aa4d0
push eax
lea ecx, [ebp - 0x34]
call fcn.00410760
lea ecx, [ebp - 0x64]
call fcn.00413170
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x7d]
push ecx
push dword [ebp - 0x24]
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call fcn.004b0ea1
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004aa000
add esp, 0x14
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 0x10
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x4ab6f7
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ab6ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4ab6ed
call dword [0x4c59b0]
push edx
push ecx
call fcn.004aebf7
add esp, 8
lea ecx, [ebp - 0x34]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
call fcn.00413170
lea ecx, [ebp - 0x7c]
call fcn.00413170
lea ecx, [ebp - 0x4c]
call fcn.00413170
call fcn.004ae6e0
test eax, eax
je 0x4abc00
mov byte [ebp - 0x84], 0
lea eax, [ebp - 0x64]
push dword [ebp - 0x84]
push 0xe
push str.fipsmodule.cnf
push eax
call fcn.004a9ec0
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.004aa960
add esp, 0x18
lea ecx, [ebp - 0x4c]
push eax
call fcn.00410760
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004aa4d0
push eax
lea ecx, [ebp - 0x34]
call fcn.00410760
lea ecx, [ebp - 0x4c]
call fcn.00413170
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x7d]
push ecx
push dword [ebp - 0x24]
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call fcn.004b0ea1
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004aa000
add esp, 0x14
lea eax, [ebp - 0x1c]
cmp dword [ebp - 8], 0x10
cmovae eax, dword [ebp - 0x1c]
push eax
push str.OPENSSL_CONF
call esi
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x4ab7f2
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ab7e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4ab7e8
call dword [0x4c59b0]
push edx
push ecx
call fcn.004aebf7
add esp, 8
lea ecx, [ebp - 0x34]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
call fcn.00413170
lea ecx, [ebp - 0x7c]
call fcn.00413170
lea ecx, [ebp - 0x64]
call fcn.00413170
call fcn.004ae5f1
mov dword [0x543aac], eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.004aa960
add esp, 8
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4ab844
mov eax, dword [eax]
lea edx, [ebp - 0x7d]
push edx
push ecx
push eax
call fcn.004b0ea1
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004aa000
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push dword [0x543aac]
call fcn.004ae65d
mov edx, dword [ebp - 8]
add esp, 0x1c
cmp edx, 0x10
jb 0x4ab8a9
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ab89f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4ab89f
call dword [0x4c59b0]
push edx
push ecx
call fcn.004aebf7
add esp, 8
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
call fcn.00413170
mov byte [ebp - 0x84], 0
lea eax, [ebp - 0x64]
push dword [ebp - 0x84]
push 0xe
push str.fipsmodule.cnf
push eax
call fcn.004a9ec0
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.004aa960
add esp, 0x18
lea ecx, [ebp - 0x4c]
push eax
call fcn.00410760
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004aa4d0
push eax
lea ecx, [ebp - 0x34]
call fcn.00410760
lea ecx, [ebp - 0x4c]
call fcn.00413170
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x7d]
push ecx
push dword [ebp - 0x24]
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call fcn.004b0ea1
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004aa000
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push dword [0x543aac]
call fcn.004ae5f7
mov edx, dword [ebp - 8]
add esp, 0x1c
cmp edx, 0x10
jb 0x4ab98b
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4ab981
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4ab981
call dword [0x4c59b0]
push edx
push ecx
call fcn.004aebf7
add esp, 8
lea ecx, [ebp - 0x34]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
call fcn.00413170
lea ecx, [ebp - 0x7c]
call fcn.00413170
lea ecx, [ebp - 0x64]
call fcn.00413170
mov byte [ebp - 0x84], 0
lea eax, [ebp - 0x64]
push dword [ebp - 0x84]
push 4
push str.fips
push eax
call fcn.004a9ec0
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.004aa960
add esp, 0x18
lea ecx, [ebp - 0x4c]
push eax
call fcn.00410760
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004aa4d0
push eax
lea ecx, [ebp - 0x34]
call fcn.00410760
lea ecx, [ebp - 0x4c]
call fcn.00413170
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x7d]
push ecx
push dword [ebp - 0x24]
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call fcn.004b0ea1
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004aa000
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push dword [0x543aac]
call fcn.004ae663
mov edx, dword [ebp - 8]
add esp, 0x1c
mov dword [0x543ab0], eax
cmp edx, 0x10
jb 0x4aba82
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4aba78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4aba78
call dword [0x4c59b0]
push edx
push ecx
call fcn.004aebf7
add esp, 8
lea ecx, [ebp - 0x34]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
call fcn.00413170
lea ecx, [ebp - 0x7c]
call fcn.00413170
lea ecx, [ebp - 0x64]
call fcn.00413170
cmp dword [0x543ab0], 0
jne 0x4abb43
call fcn.004ae615
push eax
call fcn.004ae603
mov esi, eax
push esi
call fcn.004ae639
lea eax, [ebp - 0x84]
push eax
push 0
push 3
push esi
call fcn.004ae60f
add esp, 0x18
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
push eax
push dword [ebp - 0x84]
call fcn.00413c50
push esi
call fcn.004ae609
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push 0x4ee6a0
call fcn.0041f7e0
push str.Failed_to_load_FIPS_provider_n
call fcn.0041f7e0
add esp, 0x10
lea ecx, [ebp - 0x1c]
call fcn.00411130
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ae9c0
mov esp, ebp
pop ebp
ret
push str.base
push 0
call fcn.004ae663
add esp, 8
mov dword [0x543ab4], eax
test eax, eax
jne 0x4abb84
push dword [0x543ab0]
call fcn.004ae66f
push str.Failed_to_load_base_provider_n
call fcn.0041f7e0
add esp, 8
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ae9c0
mov esp, ebp
pop ebp
ret
cmp dword [0x543aa4], 0
jne 0x4abd5b
call fcn.004ae63f
mov esi, eax
test esi, esi
je 0x4abbd3
push str.FCT_FIPS_RNG_ENGINE
push esi
call fcn.004ae64b
push str.FCT_FIPS_RNG_ENGINE
push esi
call fcn.004ae651
push 0x50dc48
push esi
call fcn.004ae657
push esi
call fcn.004ae62d
add esp, 0x1c
test eax, eax
jne 0x4abbe5
push esi
call fcn.004ae645
add esp, 4
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ae9c0
mov esp, ebp
pop ebp
ret
mov dword [0x543aa4], 1
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ae9c0
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.004aa960
add esp, 8
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4abc1e
mov eax, dword [eax]
push ebx
lea edx, [ebp - 0x7d]
push edx
push ecx
push eax
call fcn.004b0ea1
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004aa000
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push 0
call fcn.004ae65d
mov edx, dword [ebp - 8]
add esp, 0x1c
test eax, eax
sete bl
cmp edx, 0x10
jb 0x4abc85
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4abc7b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4abc7b
call dword [0x4c59b0]
push edx
push ecx
call fcn.004aebf7
add esp, 8
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
call fcn.00413170
test bl, bl
pop ebx
jne 0x4abbd3
mov byte [ebp - 0x84], 0
lea eax, [ebp - 0x64]
push dword [ebp - 0x84]
push 6
push str.legacy
push eax
call fcn.004a9ec0
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.004aa960
add esp, 0x18
lea ecx, [ebp - 0x4c]
push eax
call fcn.00410760
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004aa4d0
push eax
lea ecx, [ebp - 0x34]
call fcn.00410760
lea ecx, [ebp - 0x4c]
call fcn.00413170
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x7d]
push ecx
push dword [ebp - 0x24]
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call fcn.004b0ea1
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004aa000
cmp dword [ebp - 8], 0x10
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
push 0
call fcn.004ae663
add esp, 0x1c
mov dword [0x543ab8], eax
lea ecx, [ebp - 0x1c]
call fcn.00411130
lea ecx, [ebp - 0x34]
call fcn.00413170
lea ecx, [ebp - 0x7c]
call fcn.00413170
lea ecx, [ebp - 0x64]
call fcn.00413170
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004ae9c0
mov esp, ebp
pop ebp
ret