Function at 0x1002be96
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005ea48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xc0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1002c271
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x84], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x64], 0x6aa1
mov dword [ebp - 0xb0], str.hbleocfh_ytzp_yjc_vkya_apmsibudp_tpmkkahg_ahduso_cdab_wixrxmfn_rqjxhb
cmp dword [ebp - 0x64], 0x6d40
jle 0x1002bf85
and dword [ebp - 0x24], 0
jmp 0x1002bf39
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x2f43
jge 0x1002bf85
and dword [ebp - 0x1c], 0
jmp 0x1002bf4f
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x6a18
jge 0x1002bf83
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], edx
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
mov ecx, 0x10078bb8
call fcn.100055e4
jmp 0x1002bf48
jmp 0x1002bf32
mov eax, dword [ebp - 0x9c]
movzx eax, byte [eax]
test eax, eax
je 0x1002bfc1
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
movzx eax, byte [eax]
test eax, eax
je 0x1002bfbc
push 0
push 0xc23
call fcn.1002cba8
pop ecx
pop ecx
jmp 0x1002c229
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x1002c055
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
jg 0x1002c229
mov dword [ebp - 0x54], 5
mov dword [ebp - 0x40], 0x528d
mov dword [ebp - 0x98], str.nsyuhmtai_fsfbimkde_pztyasurr_bdxm_luizmk_vvv
cmp dword [ebp - 0x40], 0x5634
jle 0x1002c108
push 0
push 0x1a22
call dword [sym.imp.GDI32.dll_GetWindowOrgEx]
and dword [ebp - 0x2c], 0
jmp 0x1002c0a0
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x28b1
jge 0x1002c108
and dword [ebp - 0x20], 0
jmp 0x1002c0b6
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x7434
jge 0x1002c106
and dword [ebp - 0x28], 0
jmp 0x1002c0cc
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x4b24
jge 0x1002c104
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x20]
or eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], edx
push dword [ebp - 0xcc]
push dword [ebp - 0xd0]
mov ecx, 0x10078bb8
call fcn.100055e4
jmp 0x1002c0c5
jmp 0x1002c0af
jmp 0x1002c099
and dword [ebp - 4], 0
cmp dword [ebp - 0x40], 0x5202
jge 0x1002c125
mov edx, dword [ebp - 0x98]
mov ecx, 0x10078bb8
call fcn.10009472
jmp 0x1002c141
or dword [ebp - 4], 0xffffffff
jmp 0x1002c14b
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
je 0x1002c160
mov dword [ebp - 0x50], 1
jmp 0x1002c164
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0xa0]
mov dword [eax], 0
cmp dword [ebp - 0x50], 0xa04f
jne 0x1002c182
mov dword [ebp - 0x60], 1
jmp 0x1002c186
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
cmp dword [ebp - 0x60], eax
jg 0x1002c199
mov dword [ebp - 0x48], 1
jmp 0x1002c19d
and dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0xfffffffc
jne 0x1002c1ac
mov dword [ebp - 0x58], 1
jmp 0x1002c1b0
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x58]
jl 0x1002c1c3
mov dword [ebp - 0x44], 1
jmp 0x1002c1c7
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x30]
push dword [eax]
mov ecx, dword [ebp - 0x38]
call fcn.10005887
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x30]
push dword [eax]
mov ecx, dword [ebp - 0x38]
call fcn.10005887
mov ecx, dword [ebp - 0x4c]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
imul eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx]
add ecx, dword [ebp - 0x54]
imul ecx, ecx, 0xd09e
cmp ecx, dword [eax]
jne 0x1002c215
mov dword [ebp - 0x5c], 1
jmp 0x1002c219
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x5c]
mov dword [eax], ecx
jmp 0x1002c04a
mov dword [ebp - 4], 2
cmp dword [ebp - 0x64], 0x6754
jge 0x1002c249
mov edx, dword [ebp - 0xb0]
mov ecx, 0x10078bb8
call fcn.10009472
jmp 0x1002c265
or dword [ebp - 4], 0xffffffff
jmp 0x1002c26f
jmp 0x1002c2ac
lea eax, [ebp + 0x30]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
movzx eax, byte [eax]
test eax, eax
je 0x1002c294
push 0xe48
call dword [sym.imp.GDI32.dll_CreateHalftonePalette]
jmp 0x1002c2ac
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1002c2ac
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret