Function at 0x10028b1b
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10069ea8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x7c], 0x7f825e7a
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x10028b61
push 0xa53
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov byte [ebp - 0x18], 0
movzx eax, byte [ebp - 0x18]
test eax, eax
je 0x10028b79
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x10028c56
push 1
lea ecx, [ebp - 0x68]
call fcn.1000f19e
and dword [ebp - 4], 0
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x34], 0
jmp 0x10028bac
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x10028bc2
push dword [ebp - 0x34]
lea ecx, [ebp - 0x68]
call fcn.1000f296
or dword [eax], 0xffffffff
jmp 0x10028ba5
mov dword [ebp - 0x14], 0
jmp 0x10028bd2
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x10028bfc
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x10028bfa
push 0
push 0
push 0x2c3
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10028bcb
mov dword [ebp - 0x14], 0x11
jmp 0x10028c0c
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffe8
je 0x10028c2d
mov byte [ebp - 0x17], 0
movzx eax, byte [ebp - 0x17]
test eax, eax
je 0x10028c2b
push 0xa35
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
jmp 0x10028c05
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.1000f22f
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
push 0
push 0x152d
call dword [sym.imp.GDI32.dll_SetWinMetaFileBits]
mov dword [ebp - 0x20], 0x8d327cb3
mov dword [ebp - 0x4c], 0xc3707822
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x6c], 0xe3edfa83
mov dword [ebp - 0x24], 0x5d36
mov dword [ebp - 0x54], 0x1b76e1ee
mov dword [ebp - 0x28], 0
jmp 0x10028c97
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x10028cad
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x98], 0xfffffffb
jmp 0x10028c90
cmp dword [ebp - 0x20], 0
je 0x10028dc3
push 2
lea ecx, [ebp - 0x88]
call fcn.1000f19e
mov dword [ebp - 4], 1
mov dword [ebp - 0x8c], 0xffffffff
mov dword [ebp - 0x5c], 0xffffffff
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x48], 0xffffffff
mov dword [ebp - 0x50], 0x1cb4e76a
mov dword [ebp - 0x58], 0xde0980db
push 3
lea ecx, [ebp - 0x78]
call fcn.1000f19e
mov byte [ebp - 4], 2
mov dword [ebp - 0x38], 0x41ce3cb5
mov dword [ebp - 0x10], 0
jmp 0x10028d1d
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x10028d39
push dword [ebp - 0x10]
lea ecx, [ebp - 0x88]
call fcn.1000f296
mov dword [eax], 0xe7d214c4
jmp 0x10028d16
mov dword [ebp - 0x10], 0
jmp 0x10028d49
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x10028d62
push dword [ebp - 0x10]
lea ecx, [ebp - 0x78]
call fcn.1000f296
mov dword [eax], 0xfffffffd
jmp 0x10028d42
mov dword [ebp - 0x20], 0
jmp 0x10028d72
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xf
jl 0x10028d9f
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x10028d9d
push 0x1e2b
push 0x786
push 0
push 0x4cd
push 0
call dword [sym.imp.USER32.dll_GetMenuStringW]
jmp 0x10028d6b
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.1000f22f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.1000f22f
jmp 0x10028e42
mov dword [ebp - 0x40], 0x23dd
mov dword [ebp - 0x2c], 0
jmp 0x10028dda
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffeb
jle 0x10028e27
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x30], 0
jmp 0x10028df7
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 6
jle 0x10028e25
mov dword [ebp - 0x24], 0
jmp 0x10028e0d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jge 0x10028e23
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x98], 0x2e26595a
jmp 0x10028e06
jmp 0x10028df0
jmp 0x10028dd3
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x10028e42
push 0x1a74
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret