Function at 0x4324b1
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0xc], ebx
jne 0x4324db
call fcn.00426e0a
mov dword [eax], 0x16
call fcn.00426db8
or eax, 0xffffffff
jmp 0x432549
push esi
mov esi, dword [eax]
push edi
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x432539
push 0x3d
push esi
call fcn.004365c2
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
mov dword [ebp - 0x14], edi
je 0x432539
cmp esi, edi
je 0x432539
xor eax, eax
cmp byte [edi + 1], bl
sete al
mov dword [ebp - 8], eax
mov eax, dword [0x443cdc]
cmp eax, dword [0x443ce0]
jne 0x43251f
call fcn.00432451
mov dword [0x443cdc], eax
cmp eax, ebx
jne 0x432583
cmp dword [ebp + 0xc], ebx
je 0x43254c
cmp dword [0x443ce4], ebx
je 0x43254c
call fcn.004273bf
or eax, eax
je 0x432583
call fcn.00426e0a
mov dword [eax], 0x16
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
jne 0x4326ec
push 4
call fcn.00425bec
pop ecx
mov dword [0x443cdc], eax
cmp eax, ebx
je 0x432544
mov dword [eax], ebx
cmp dword [0x443ce4], ebx
jne 0x432583
push 4
call fcn.00425bec
pop ecx
mov dword [0x443ce4], eax
cmp eax, ebx
je 0x432544
mov dword [eax], ebx
mov esi, dword [0x443cdc]
cmp esi, ebx
mov dword [ebp - 0x10], esi
je 0x432544
sub edi, dword [ebp - 4]
push dword [ebp - 4]
call fcn.004323ff
mov edi, eax
pop ecx
cmp edi, ebx
jl 0x4325f4
cmp dword [esi], ebx
je 0x4325f4
lea esi, [esi + edi*4]
push dword [esi]
call fcn.004214f1
pop ecx
cmp dword [ebp - 8], ebx
jne 0x4325d1
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x432647
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
mov eax, dword [ebp - 0x10]
lea esi, [eax + edi*4]
cmp dword [esi], ebx
jne 0x4325c5
cmp edi, 0x3fffffff
jae 0x432647
push 4
push edi
push dword [0x443cdc]
call fcn.00425ccb
add esp, 0xc
cmp eax, ebx
je 0x432647
jmp 0x432642
cmp dword [ebp - 8], ebx
jne 0x4326de
cmp edi, ebx
jge 0x432603
neg edi
lea eax, [edi + 2]
cmp eax, edi
jl 0x432544
cmp eax, 0x3fffffff
jae 0x432544
push eax
push 4
push dword [0x443cdc]
call fcn.00425ccb
sub esp, 0xfffffff4
cmp eax, ebx
je 0x432544
lea ecx, [eax + edi*4]
mov edx, dword [ebp - 4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x443cdc], eax
cmp dword [ebp + 0xc], ebx
je 0x4326b9
mov edi, dword [ebp - 4]
push 1
push edi
call fcn.00423d80
add eax, 2
pop ecx
push eax
call fcn.00425c31
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x4326b9
push edi
push edi
call fcn.00423d80
pop ecx
add eax, 2
push eax
push esi
call fcn.00427456
sub esp, 0xfffffff4
or eax, eax
jne 0x4326d4
mov ecx, dword [ebp - 8]
mov eax, esi
sub eax, edi
add eax, dword [ebp - 0x14]
neg ecx
mov byte [eax], bl
inc eax
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
or eax, eax
jne 0x4326b2
or dword [ebp - 0xc], 0xffffffff
call fcn.00426e0a
mov dword [eax], 0x2a
push esi
call fcn.004214f1
pop ecx
cmp dword [ebp - 8], ebx
je 0x4326cc
push dword [ebp - 4]
call fcn.004214f1
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
mov eax, dword [ebp - 0xc]
jmp 0x432547
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00426d66
push dword [ebp - 4]
call fcn.004214f1
pop ecx
mov edi, dword [ebp + 8]
mov dword [edi], ebx
xor eax, eax
jmp 0x432547