Function at 0x10024dd3
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10024f65
mov dword [ebp - 4], 7
mov dword [ebp - 0x88], 0x25429297
mov dword [ebp - 0x44], 0x493876a4
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x14], 0
jmp 0x10024e17
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10024e2d
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xb8], 0xa32f
jmp 0x10024e10
mov eax, dword [ebp - 4]
add eax, dword [ebp - 4]
cmp dword [ebp - 4], eax
jge 0x10024e44
mov dword [ebp - 0x90], 1
jmp 0x10024e4b
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x94], eax
cmp dword [ebp - 4], 0x26d8d383
jl 0x10024e66
mov dword [ebp - 0x48], 1
jmp 0x10024e6a
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
dec eax
cmp eax, dword [ebp - 4]
jne 0x10024e7c
mov dword [ebp - 0x20], 1
jmp 0x10024e80
and dword [ebp - 0x20], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x20]
mov dword [ebp + eax - 0xb8], ecx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x20]
cmp eax, 0x785b
jg 0x10024ea6
mov dword [ebp - 0x34], 1
jmp 0x10024eaa
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 4]
jg 0x10024ebe
mov eax, 0x238e486a
test eax, eax
jne 0x10024ecd
cmp dword [ebp - 0x88], 0
jne 0x10024ecd
and dword [ebp - 0x4c], 0
jmp 0x10024ed4
mov dword [ebp - 0x4c], 1
mov eax, dword [ebp - 0x4c]
add eax, 0xf9732ac
je 0x10024eee
mov dword [ebp - 0x3c], 0xe6fc2e60
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
jmp 0x10024f2e
mov dword [ebp - 0x5c], 0xb26d5d64
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x5c]
sub eax, dword [ebp - 4]
imul eax, dword [ebp - 0x44]
test eax, eax
je 0x10024f12
mov dword [ebp - 0x54], 1
jmp 0x10024f16
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x64], eax
mov byte [ebp - 9], 0
movzx eax, byte [ebp - 9]
test eax, eax
je 0x10024f2e
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov byte [ebp - 0xa], 0
movzx eax, byte [ebp - 0xa]
test eax, eax
je 0x10024f49
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetMenu]
push 0x1019
push 0x1b58
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp 0x10025143
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x10], 0xfffffffb
mov dword [ebp - 8], 0xfffffff6
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x84], 0xfff8
mov dword [ebp - 0x28], 0xcc013cef
mov dword [ebp - 0x24], 0x4a2c6eb8
mov dword [ebp - 0xa8], 0xfffffff9
mov dword [ebp - 0x18], 0
jmp 0x10024fb2
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10024fc5
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x74], 0xcafa32fd
jmp 0x10024fab
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xfa
jl 0x10025061
xor eax, eax
inc eax
sub eax, dword [ebp - 0x10]
je 0x10024ff2
mov eax, 0xc93cc254
test eax, eax
je 0x10024ff2
mov dword [ebp - 0x38], 1
jmp 0x10024ff6
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp + eax - 0x74], ecx
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x38]
je 0x10025020
mov dword [ebp - 0x40], 1
jmp 0x10025024
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 1
je 0x10025033
mov dword [ebp - 0x2c], 1
jmp 0x10025037
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x84]
cmp dword [ebp - 0x2c], eax
jge 0x1002504b
mov dword [ebp - 0x7c], 1
jmp 0x1002504f
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x10], 0x9387
jge 0x1002506a
mov eax, 0xffff
test eax, eax
je 0x1002507a
xor eax, eax
je 0x1002507a
mov dword [ebp - 0x8c], 1
jmp 0x10025081
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x28], 0x593f6a08
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 8]
cmp dword [ebp - 0x24], eax
je 0x100250b4
mov dword [ebp - 0x50], 1
jmp 0x100250b8
and dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 0xfffffffc
je 0x100250c7
mov dword [ebp - 0x6c], 1
jmp 0x100250cb
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 8]
add eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x28]
jg 0x100250ec
mov dword [ebp - 0x78], 1
jmp 0x100250f0
and dword [ebp - 0x78], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x74]
mov dword [ebp - 0x80], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x80]
mov dword [ebp + eax - 0x74], ecx
mov eax, dword [ebp - 8]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0x10], 0
je 0x10025128
cmp dword [ebp - 0x10], 0
je 0x10025128
mov dword [ebp - 0x58], 1
jmp 0x1002512c
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x60]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret