Function at 0x10020c2c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005e3a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x118
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x10020d95
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xe4], eax
lea eax, [ebp + 0x3c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax]
test eax, eax
je 0x10020d50
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
cmp dword [eax], 0
je 0x10020cfd
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx]
sub ecx, dword [eax]
je 0x10020cfd
mov dword [ebp - 0x68], 1
jmp 0x10020d01
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x48]
cmp dword [eax], 0
jle 0x10020d15
mov dword [ebp - 0x110], 1
jmp 0x10020d1c
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x50]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
jg 0x10020d3c
mov dword [ebp - 0x60], 1
jmp 0x10020d40
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xa4]
mov dword [ecx], eax
jmp 0x10020d90
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xec]
mov ecx, dword [ebp - 0xbc]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x10021203
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0x70], 0x3583
mov dword [ebp - 0xf8], str.cgzedomqt_wopkpak_zmxxwma_kiyc_ddr_oyymvdx_njkhpbbh_ojpjj_pevvj_qunriyfh_zxjqyn
cmp dword [ebp - 0x70], 0x3852
jle 0x10020e61
push 0
push 0
call dword [sym.imp.KERNEL32.dll_Beep]
and dword [ebp - 0x2c], 0
jmp 0x10020ddc
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x12a8
jge 0x10020e61
and dword [ebp - 0x3c], 0
jmp 0x10020df2
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x548
jge 0x10020e5c
and dword [ebp - 0x34], 0
jmp 0x10020e08
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x2506
jge 0x10020e5a
and dword [ebp - 0x44], 0
jmp 0x10020e1e
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x6bdf
jge 0x10020e58
mov eax, dword [ebp - 0x2c]
xor eax, dword [ebp - 0x3c]
or eax, dword [ebp - 0x34]
or eax, dword [ebp - 0x44]
cdq
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], edx
push dword [ebp - 0x114]
push dword [ebp - 0x118]
mov ecx, 0x100792f8
call fcn.1000a4ec
jmp 0x10020e17
jmp 0x10020e01
jmp 0x10020deb
jmp 0x10020dd5
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x88], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x70], 0x33eb
jge 0x10020e87
mov edx, dword [ebp - 0xf8]
mov ecx, 0x100792f8
call fcn.1000c8f5
jmp 0x10020ea3
or dword [ebp - 4], 0xffffffff
jmp 0x10020ead
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x84], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xc4]
movzx eax, byte [eax]
test eax, eax
je 0x1002119f
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0x58], 0x3bbb
mov dword [ebp - 0xb0], str.zwu_idzfy_jpyb_kmk_jkkfph_zbve_fhigahvg_bxqajw_fdm_wdarrkea_ziuk
cmp dword [ebp - 0x58], 0x3cf5
jle 0x10021014
push 0
call dword [sym.imp.USER32.dll_DestroyMenu]
and dword [ebp - 0x38], 0
jmp 0x10020f7b
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x3920
jge 0x10021008
and dword [ebp - 0x40], 0
jmp 0x10020f95
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x2c55
jge 0x10021003
and dword [ebp - 0x28], 0
jmp 0x10020fab
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x456
jge 0x10021001
and dword [ebp - 0x30], 0
jmp 0x10020fc1
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x64e2
jge 0x10020fff
mov ecx, dword [ebp - 0x28]
imul ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x38]
imul eax, dword [ebp - 0x40]
sar eax, cl
cdq
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], edx
push dword [ebp - 0xfc]
push dword [ebp - 0x100]
mov ecx, 0x100792f8
call fcn.1000a4ec
jmp 0x10020fba
jmp 0x10020fa4
jmp 0x10020f8e
jmp 0x10020f74
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x58], 0x38fc
jge 0x1002103d
mov edx, dword [ebp - 0xb0]
mov ecx, 0x100792f8
call fcn.1000c8f5
jmp 0x10021059
or dword [ebp - 4], 0xffffffff
jmp 0x10021063
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0xffffffea
jmp 0x10021082
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0x12
jl 0x1002119d
mov dword [ebp - 0x24], 0xfffc
mov dword [ebp - 0x18], 0x7fd1e814
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x24], 0
je 0x100210ee
cmp dword [ebp - 0x1c], 0x2092
jl 0x100210d3
mov dword [ebp - 0x4c], 1
jmp 0x100210d7
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x4c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x24]
dec eax
je 0x100210ee
mov dword [ebp - 0x78], 1
jmp 0x100210f2
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp dword [ebp - 0x78], eax
je 0x10021100
cmp dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [eax]
je 0x1002111b
mov eax, dword [ebp - 0x5c]
cmp dword [eax], 0
je 0x1002111b
mov dword [ebp - 0x54], 1
jmp 0x1002111f
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x54]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x1c], 0xdedc87a9
jne 0x1002114d
mov dword [ebp - 0x64], 1
jmp 0x10021151
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x64]
lea eax, [ecx + eax + 0x688]
cmp eax, dword [ebp - 0x1c]
je 0x1002116c
mov dword [ebp - 0x6c], 1
jmp 0x10021170
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x6c], eax
jl 0x10021189
mov eax, dword [ebp - 0x74]
cmp dword [eax], 0
je 0x10021189
mov dword [ebp - 0x7c], 1
jmp 0x1002118d
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0x7c]
mov dword [eax], ecx
jmp 0x10021077
jmp 0x10021203
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], 1
jmp 0x100211e2
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
jl 0x10021203
mov eax, dword [ebp - 0x20]
push dword [eax]
mov ecx, dword [ebp - 0xf0]
call fcn.1000a7a3
cmp dword [eax], 0
je 0x10021201
jmp 0x10021203
jmp 0x100211d7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret