Function at 0x43f860
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4935b8
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
call fcn.0043a9f0
xor ebx, ebx
cmp dword [eax + 0x1c], 6
mov edi, 7
jl 0x43f93d
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x12
xor eax, eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.._sourcesmain.cpp
mov word [ecx + 4], ax
call fcn.0040fd40
mov dword [esp + 0x88], ebx
push 0xe9
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push 0xe
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.SetEnvironment
mov word [ecx + 4], dx
call fcn.0040fd40
mov byte [esp + 0xa8], 1
lea eax, [esp + 0x4f]
mov dword [esp + 0x84], eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x84]
lea edx, [esp + 0x5c]
push 6
mov byte [esp + 0x57], bl
mov dword [esp + 0x60], str.Setting_environment_variables
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____30___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov dword [esp + 0x6c], edx
call fcn.0043a9f0
mov dword [esp + 0xb0], 0xffffffff
mov ecx, eax
call fcn.0043a890
xor esi, esi
cmp dword [0x4bcf98], ebx
jbe 0x43faef
jmp 0x43f950
mov ecx, dword [0x4bcf94]
mov eax, dword [ecx + esi*4]
add eax, 0xc
push eax
lea ecx, [esp + 0x58]
call fcn.00456c70
mov dword [esp + 0x6c], 2
lea edx, [esp + 0x54]
push edx
call fcn.004045e0
lea eax, [esp + 0x58]
push 0x4bcf34
push eax
call fcn.00404eb0
lea ecx, [esp + 0x60]
push ecx
call fcn.004045e0
lea edx, [esp + 0x64]
push 0x4bcf58
push edx
call fcn.00404fe0
lea eax, [esp + 0x6c]
push 0x4bcf64
push eax
call fcn.00405110
lea ecx, [esp + 0x74]
push ecx
call fcn.004045e0
add esp, 0x24
call fcn.0043a9f0
cmp dword [eax + 0x1c], 6
jl 0x43fab7
mov edx, dword [esp + 0x54]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
mov dword [esp + 0x30], edx
push 0x12
xor eax, eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.._sourcesmain.cpp
mov word [ecx + 4], ax
call fcn.0040fd40
mov byte [esp + 0x88], 3
push 0xee
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x58], esp
push 0xe
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.SetEnvironment
mov word [ecx + 4], dx
call fcn.0040fd40
mov byte [esp + 0xa8], 4
mov eax, dword [0x4bcf94]
mov eax, dword [eax + esi*4]
lea edx, [esp + 0x88]
mov dword [esp + 0x64], edx
lea ecx, [esp + 0x4f]
lea edx, [esp + 0x50]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x78], edx
lea eax, [esp + 0x60]
lea ecx, [esp + 0x68]
lea edx, [esp + 0x80]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], ecx
push edx
lea eax, [esp + 0x74]
lea ecx, [esp + 0x7c]
push 6
mov byte [esp + 0x57], bl
mov dword [esp + 0x68], str.Setting_environment_variable
mov dword [esp + 0x78], 0x49ae04
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], 0x49a718
mov dword [esp + 0x8c], ecx
call fcn.0043a9f0
mov byte [esp + 0xb0], 2
mov ecx, eax
call fcn.0043a890
mov eax, dword [0x4bcf94]
mov eax, dword [eax + esi*4]
mov ecx, dword [esp + 0x54]
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [esp + 0x6c], 0xffffffff
mov edx, dword [esp + 0x54]
push edx
call fcn.0047247a
inc esi
add esp, 4
cmp esi, dword [0x4bcf98]
jb 0x43f950
call fcn.0043a9f0
cmp dword [eax + 0x1c], 6
jl 0x43fbb7
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x12
xor eax, eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.._sourcesmain.cpp
mov word [ecx + 4], ax
call fcn.0040fd40
mov dword [esp + 0x88], 5
push 0xf1
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x54], esp
push 0xe
xor edx, edx
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push str.SetEnvironment
mov word [ecx + 4], dx
call fcn.0040fd40
mov byte [esp + 0xa8], 6
lea eax, [esp + 0x4f]
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x8c]
lea edx, [esp + 0x84]
push 6
mov byte [esp + 0x57], bl
mov dword [esp + 0x88], str.Done_setting_environment_variables
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x80], vtable.Nvidia::Logging::ChainLoggable_class_Nvidia::Logging::Chain_char_const_____35___class_Nvidia::Logging::Chain_struct_Nvidia::Logging::NullType__struct_Nvidia::Logging::NullType___.0
mov dword [esp + 0x84], edx
call fcn.0043a9f0
mov dword [esp + 0xb0], 0xffffffff
mov ecx, eax
call fcn.0043a890
mov ecx, dword [esp + 0x64]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret