Function at 0x100234e7
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10059423
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x98
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x1002376e
lea eax, [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
movzx eax, byte [eax]
test eax, eax
je 0x10023659
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov eax, dword [0x100e9954]
and eax, 1
jne 0x1002357e
mov eax, dword [0x100e9954]
or eax, 1
mov dword [0x100e9954], eax
and dword [ebp - 4], 0
mov ecx, 0x100e9934
call fcn.100141a0
push 0x10059ea7
call fcn.100403f5
pop ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x8c]
push eax
mov ecx, 0x100e9934
call fcn.10014257
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x90]
push eax
mov ecx, 0x100e9934
call fcn.1001426e
mov ecx, eax
call fcn.100140f9
movzx eax, al
test eax, eax
je 0x100235e5
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
mov ecx, 0x100e9934
call fcn.10023b89
mov ecx, dword [ebp - 0x28]
mov ax, word [eax]
mov word [ecx], ax
jmp 0x100237e5
mov eax, dword [ebp - 0x24]
push dword [eax]
lea eax, [ebp - 0xa8]
push eax
call fcn.100203ba
pop ecx
pop ecx
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x4c]
call fcn.10014062
mov ax, word [eax]
mov word [ebp - 0x14], ax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.10014026
push 0x354b
push 1
push 1
push dword [ebp - 0x24]
push 0x100e9934
lea eax, [ebp - 0x14]
push eax
push 1
call fcn.100225a0
add esp, 0x1c
mov eax, dword [ebp - 0x28]
mov cx, word [ebp - 0x14]
mov word [eax], cx
jmp 0x100237e5
mov dword [ebp - 0x2c], 0x5f38
mov dword [ebp - 0x30], str.vqq_fchunogjn_vemue
cmp dword [ebp - 0x2c], 0x60b6
jle 0x10023709
push 0
call dword [sym.imp.GDI32.dll_CreateBitmapIndirect]
and dword [ebp - 0x20], 0
jmp 0x10023689
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3338
jge 0x100236f0
and dword [ebp - 0x18], 0
jmp 0x1002369f
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x6aad
jge 0x100236ee
and dword [ebp - 0x1c], 0
jmp 0x100236b5
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4893
jge 0x100236ec
mov eax, dword [ebp - 0x20]
cdq
idiv dword [ebp - 0x18]
mov eax, edx
cdq
idiv dword [ebp - 0x1c]
mov eax, edx
cdq
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], edx
push dword [ebp - 0x80]
push dword [ebp - 0x84]
mov ecx, 0x10072098
call fcn.10013ec4
jmp 0x100236ae
jmp 0x10023698
jmp 0x10023682
push 0
push 0x1e53
push 0x1cc2
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetDlgItemInt]
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x2c], 0x5cd7
jge 0x1002372c
mov edx, dword [ebp - 0x30]
mov ecx, 0x10072098
call fcn.1001684d
jmp 0x10023748
or dword [ebp - 4], 0xffffffff
jmp 0x10023752
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
movzx eax, byte [eax]
test eax, eax
je 0x1002376c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
jmp 0x100237e5
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
test eax, eax
je 0x100237b4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x100237e5
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x100237e5
push 1
push 0x6d04
push 0x4087
push 0x6f04
push 1
call fcn.1001bcaa
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret