Function at 0x100b1b80
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x38
call fcn.101d14f0
mov eax, dword [0x10274398]
xor eax, ebp
mov dword [ebp - 0x28], eax
push 0
push 0
push str.OPENSSL_WIN32_UTF8
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x100b1e1b
mov dword [ebp - 0x20], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 8
call dword [sym.imp.KERNEL32.dll_GetACP]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xc42c
je 0x100b1c38
cmp dword [ebp - 0x18], 0xc42d
je 0x100b1c38
cmp dword [ebp - 0x18], 0xc42e
je 0x100b1c38
cmp dword [ebp - 0x18], 0xc431
je 0x100b1c38
cmp dword [ebp - 0x18], 0xc433
je 0x100b1c38
cmp dword [ebp - 0x18], 0xc435
je 0x100b1c38
cmp dword [ebp - 0x18], 0xdeaa
jb 0x100b1c29
cmp dword [ebp - 0x18], 0xdeb3
jbe 0x100b1c38
cmp dword [ebp - 0x18], 0xfde8
je 0x100b1c38
cmp dword [ebp - 0x18], 0x2a
jne 0x100b1c3f
mov dword [ebp - 0x24], 0
push 0
push 0
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x100b1cbb
mov eax, dword [ebp - 8]
lea ecx, [eax + eax + 8]
cmp ecx, 0x400
ja 0x100b1c94
mov edx, dword [ebp - 8]
lea eax, [edx + edx + 8]
call fcn.101d8550
mov dword [ebp - 0x2c], esp
push 0xcccc
mov eax, dword [ebp - 0x2c]
push eax
call fcn.100b1e50
add esp, 8
mov dword [ebp - 0x30], eax
jmp 0x100b1cb5
push 0xdddd
mov ecx, dword [ebp - 8]
lea edx, [ecx + ecx + 8]
push edx
call fcn.101d2044
add esp, 4
push eax
call fcn.100b1e50
add esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x100b1cf7
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x100b1cf7
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x100b1d58
mov ecx, dword [ebp - 4]
lea edx, [ecx + ecx + 8]
cmp edx, 0x400
ja 0x100b1d31
mov eax, dword [ebp - 4]
lea eax, [eax + eax + 8]
call fcn.101d8550
mov dword [ebp - 0x34], esp
push 0xcccc
mov ecx, dword [ebp - 0x34]
push ecx
call fcn.100b1e50
add esp, 8
mov dword [ebp - 0x38], eax
jmp 0x100b1d52
push 0xdddd
mov edx, dword [ebp - 4]
lea eax, [edx + edx + 8]
push eax
call fcn.101d2044
add esp, 4
push eax
call fcn.100b1e50
add esp, 8
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
je 0x100b1d93
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp eax, dword [ebp - 4]
jae 0x100b1d93
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
mov edx, dword [ebp - 0x14]
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x100b1daf
push 0x46
push str.....Srcopenssl_3.0.12cryptogetenv.c
mov eax, dword [ebp - 0xc]
push eax
call fcn.1005c7b0
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x100b1df2
push 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x20]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x100b1df2
push 0x4c
push str.....Srcopenssl_3.0.12cryptogetenv.c
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.1005c9b0
add esp, 0xc
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x1c], 0
je 0x100b1e04
mov edx, dword [ebp - 0x1c]
push edx
call fcn.100b1e70
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x100b1e16
mov eax, dword [ebp - 0x14]
push eax
call fcn.100b1e70
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x100b1e34
call fcn.100dc440
test eax, eax
je 0x100b1e28
xor eax, eax
jmp 0x100b1e34
mov ecx, dword [ebp + 8]
push ecx
call fcn.101d9021
add esp, 4
lea esp, [ebp - 0x38]
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.101d14d7
mov esp, ebp
pop ebp
ret