Function at 0x1002443f
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10079e63
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
push esi
push 3
lea ecx, [ebp - 0x98]
call fcn.100159d0
and dword [ebp - 4], 0
mov dword [ebp - 0x58], 0xffff
mov dword [ebp - 0x20], 0
jmp 0x10024486
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 3
jge 0x100244a2
push dword [ebp - 0x20]
lea ecx, [ebp - 0x98]
call fcn.10015a6e
mov dword [eax], 0xae9714a
jmp 0x1002447f
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x100244c1
push 0
push 0
push 0xa4a
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.10015a52
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100244ea
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x100247c4
mov dword [ebp - 0x10], 5
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x28], 0xbaf9eb11
mov dword [ebp - 0x18], 0
jmp 0x1002450f
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jge 0x10024525
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0xac], 0x158f8766
jmp 0x10024508
mov dword [ebp - 0x10], 0xfffffffd
jmp 0x10024535
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffef
jg 0x100247a7
push 1
lea ecx, [ebp - 0x78]
call fcn.100159d0
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], 0xd76d
mov dword [ebp - 0x68], 0x7c4177fd
mov dword [ebp - 0x80], 0x18da91e5
mov dword [ebp - 0x24], 0
jmp 0x10024575
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 1
jge 0x1002458b
push dword [ebp - 0x24]
lea ecx, [ebp - 0x78]
call fcn.10015a6e
and dword [eax], 0
jmp 0x1002456e
cmp dword [ebp - 0x10], 0xa9413e45
ja 0x1002459d
mov dword [ebp - 0x50], 1
jmp 0x100245a1
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x50], eax
jle 0x100245b2
mov dword [ebp - 0x3c], 1
jmp 0x100245b6
and dword [ebp - 0x3c], 0
cmp dword [ebp - 0x3c], 0x1982
je 0x100245d4
push 0
lea ecx, [ebp - 0x78]
call fcn.10015a6e
cmp dword [eax], 0
je 0x100245d4
and dword [ebp - 0x5c], 0
jmp 0x100245db
mov dword [ebp - 0x5c], 1
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x28], eax
jle 0x100245f2
mov dword [ebp - 0x44], 1
jmp 0x100245f6
and dword [ebp - 0x44], 0
cmp dword [ebp - 0x44], 0xffffffff
je 0x10024605
mov dword [ebp - 0x7c], 1
jmp 0x10024609
and dword [ebp - 0x7c], 0
mov eax, 0xa4f2
test eax, eax
je 0x10024621
cmp dword [ebp - 0x28], 0
je 0x10024621
mov dword [ebp - 0x64], 1
jmp 0x10024625
and dword [ebp - 0x64], 0
mov esi, dword [ebp - 0x10]
add esi, dword [ebp - 0x64]
push 0
lea ecx, [ebp - 0x78]
call fcn.10015a6e
cmp esi, dword [eax]
je 0x10024642
mov dword [ebp - 0x4c], 1
jmp 0x10024646
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0x2b83
jne 0x10024658
mov dword [ebp - 0x6c], 1
jmp 0x1002465c
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 0xfffa
jne 0x10024669
cmp dword [ebp - 0x1c], 0
push 0
lea ecx, [ebp - 0x78]
call fcn.10015a6e
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x30], eax
jg 0x10024689
mov dword [ebp - 0x54], 1
jmp 0x1002468d
and dword [ebp - 0x54], 0
push 0
lea ecx, [ebp - 0x78]
call fcn.10015a6e
mov eax, dword [eax]
cmp eax, dword [ebp - 0x54]
jl 0x100246aa
mov dword [ebp - 0x84], 1
jmp 0x100246b1
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x100246d6
push 8
pop eax
test eax, eax
je 0x100246d6
mov dword [ebp - 0x2c], 1
jmp 0x100246da
and dword [ebp - 0x2c], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp + eax - 0xac], ecx
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x2c], eax
je 0x100246fb
mov dword [ebp - 0x60], 1
jmp 0x100246ff
and dword [ebp - 0x60], 0
cmp dword [ebp - 0x60], 0x4d4a788a
jne 0x10024714
mov dword [ebp - 0x88], 1
jmp 0x1002471b
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x8c], eax
mov esi, dword [ebp - 0x1c]
push 0
lea ecx, [ebp - 0x78]
call fcn.10015a6e
imul esi, dword [eax]
cmp esi, dword [ebp - 0x10]
jne 0x10024742
mov dword [ebp - 0x34], 1
jmp 0x10024746
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0x975a1448
ja 0x10024758
mov dword [ebp - 0x38], 1
jmp 0x1002475c
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x38]
test eax, eax
je 0x10024776
cmp dword [ebp - 0x10], 0
je 0x10024776
mov dword [ebp - 0x40], 1
jmp 0x1002477a
and dword [ebp - 0x40], 0
cmp dword [ebp - 0x40], 0x32ca
jne 0x1002478c
mov dword [ebp - 0x48], 1
jmp 0x10024790
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x80], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.10015a52
jmp 0x1002452e
push 0
push 0x15c
push 0x53
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetWindowExtEx]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret