Function at 0x43bdd0
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push 0xffffffffffffffff
push 0x452c03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
push 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004151a0
mov ebp, dword [eax]
add esp, 8
mov dword [esp + 0x1c], ebp
mov dword [eax], 0xffffffff
mov edx, dword [ebp]
mov eax, dword [edx + 0x2c]
xor ebx, ebx
mov ecx, ebp
mov dword [esp + 0x30], ebx
call eax
push eax
call fcn.0044f660
push str.PATH
mov edi, eax
call dword [sym.imp.MSVCR80.dll_getenv]
push eax
call fcn.0041ccc0
add esp, 0xc
cmp dword [edi], ebx
mov dword [esp + 0x14], eax
mov byte [esp + 0x13], bl
mov dword [esp + 0x18], ebx
jbe 0x43beec
xor ebp, ebp
jmp 0x43be60
mov eax, dword [edi + 0xc]
lea ecx, [esp + 0x14]
push ecx
sub esp, 0x3c
mov esi, esp
mov dword [esp + 0x64], esp
add eax, ebp
mov dword [esp + 0x64], esi
mov dword [esi], fcn.0041e9f0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], 0x40
push 0xffffffffffffffff
push eax
mov ecx, esi
mov byte [esp + 0x78], 1
mov dword [esi], 0x45569c
mov dword [esi + 0x38], ebx
call fcn.0041ec70
mov byte [esp + 0x70], bl
mov dword [esi], 0x455778
call fcn.004398e0
add esp, 0x40
cmp al, bl
je 0x43bec0
mov byte [esp + 0x13], 1
mov eax, dword [esp + 0x18]
add eax, 1
add ebp, 0x7c
cmp eax, dword [edi]
mov dword [esp + 0x18], eax
jb 0x43be60
cmp byte [esp + 0x13], bl
je 0x43bee8
mov edx, dword [esp + 0x14]
push edx
push str.PATH
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov ecx, edi
call fcn.00428780
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
push 0x88
call fcn.00407a16
add esp, 8
mov dword [esp + 0x24], eax
cmp eax, ebx
mov byte [esp + 0x30], 2
je 0x43bf32
mov ecx, dword [esp + 0x38]
push 1
push ecx
mov ecx, eax
call fcn.0043b3b0
mov esi, eax
jmp 0x43bf34
xor esi, esi
mov dword [esp + 0x24], esi
cmp esi, ebx
mov byte [esp + 0x30], 3
jne 0x43bf45
xor eax, eax
jmp 0x43bf4f
mov edx, dword [esi + 4]
mov eax, dword [edx + 4]
lea eax, [eax + esi + 4]
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
push str.iWin32Assistant
push eax
mov eax, dword [edx + 4]
call eax
cmp al, bl
mov byte [esp + 0x38], al
je 0x43bf7d
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x471028
mov dword [esp + 0x1c], esi
call fcn.0043aea0
jmp 0x43bfbb
push ebx
push ebx
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
push str.Failed_to_register_iWin32Assistant_
push str.FATAL:__s_n
call fcn.00422810
push str.Failed_to_register_iWin32Assistant_
call fcn.0041cdc0
add esp, 0xc
push 0x10
push str.Fatal_Error
mov edi, eax
push edi
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
cmp esi, ebx
mov byte [esp + 0x30], bl
je 0x43bfd6
mov edx, dword [esi + 0x18]
mov eax, dword [edx + 4]
mov edx, dword [eax + esi + 0x18]
lea ecx, [eax + esi + 0x18]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp + 4]
mov edx, dword [ecx + 4]
mov eax, dword [edx + ebp + 4]
lea ecx, [edx + ebp + 4]
mov edx, dword [eax + 8]
mov dword [esp + 0x30], 0xffffffff
call edx
mov ecx, dword [esp + 0x28]
mov al, byte [esp + 0x38]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret