Function at 0x1001cbc3
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005d747
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xb8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1001cf6e
lea eax, [ebp + 0x24]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x1001cea1
mov dword [ebp - 0x40], 0x6b54
mov dword [ebp - 0x5c], str.ycjqg_ldzr_xnowlw_dnkh_vpzoazuf_dbynapg_ipdfwfph_vzhnsiqd_ilbhyzdxn_pnixwlk
cmp dword [ebp - 0x40], 0x6e65
jle 0x1001cce6
and dword [ebp - 0x28], 0
jmp 0x1001cc4e
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x4bda
jge 0x1001ccdb
and dword [ebp - 0x3c], 0
jmp 0x1001cc68
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x148a
jge 0x1001ccd6
and dword [ebp - 0x20], 0
jmp 0x1001cc7e
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1f1c
jge 0x1001ccd4
and dword [ebp - 0x38], 0
jmp 0x1001cc94
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x3cb3
jge 0x1001ccd2
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x20]
sar eax, cl
mov ecx, dword [ebp - 0x38]
shl eax, cl
or eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], edx
push dword [ebp - 0x90]
push dword [ebp - 0x94]
mov ecx, 0x10078098
call fcn.10003fb2
jmp 0x1001cc8d
jmp 0x1001cc77
jmp 0x1001cc61
jmp 0x1001cc47
push 0x133b
call dword [sym.imp.USER32.dll_GetDC]
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xb0], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x40], 0x6931
jge 0x1001cd0c
mov edx, dword [ebp - 0x5c]
mov ecx, 0x10078098
call fcn.100065fc
jmp 0x1001cd28
or dword [ebp - 4], 0xffffffff
jmp 0x1001cd32
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x48], 0x76bb
mov dword [ebp - 0x74], str.pou_gkybjqau_smcx_wllma_hzb_bpoxzp
cmp dword [ebp - 0x48], 0x7711
jle 0x1001ce14
and dword [ebp - 0x1c], 0
jmp 0x1001cd60
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4a2a
jge 0x1001ce14
and dword [ebp - 0x34], 0
jmp 0x1001cd7a
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x4e1f
jge 0x1001ce0f
and dword [ebp - 0x30], 0
jmp 0x1001cd94
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x748e
jge 0x1001ce0a
and dword [ebp - 0x18], 0
jmp 0x1001cdaa
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x5689
jge 0x1001ce08
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
sar eax, cl
mov ecx, dword [ebp - 0x18]
shl eax, cl
or eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], edx
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
lea ecx, [ebp - 0xc8]
call fcn.10001a8a
pop ecx
pop ecx
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
call fcn.10003dc2
push eax
call fcn.10046da3
pop ecx
lea ecx, [ebp - 0xc8]
call fcn.10003db8
jmp 0x1001cda3
jmp 0x1001cd8d
jmp 0x1001cd73
jmp 0x1001cd59
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 1
jmp 0x1001ce3c
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jl 0x1001ce5d
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x8c]
call fcn.10004303
cmp dword [eax], 0
je 0x1001ce5b
jmp 0x1001ce5d
jmp 0x1001ce31
mov dword [ebp - 4], 2
cmp dword [ebp - 0x48], 0x73b7
jge 0x1001ce76
push dword [ebp - 0x74]
call fcn.10046da3
pop ecx
jmp 0x1001ce92
or dword [ebp - 4], 0xffffffff
jmp 0x1001ce9c
jmp 0x1001cf6c
mov dword [ebp - 0x44], 0x2183
mov dword [ebp - 0x7c], str.vlm_fhxdhjjrp_hef_owpvz_vyilxd_xmkmfbmat_fblfr_asxedqrop_fkh_buwhxuccx_cecnggk
cmp dword [ebp - 0x44], 0x22d1
jle 0x1001cf11
and dword [ebp - 0x24], 0
jmp 0x1001cec5
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x7c5
jge 0x1001cf11
and dword [ebp - 0x2c], 0
jmp 0x1001cedb
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x3fdd
jge 0x1001cf0f
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], edx
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
mov ecx, 0x10078098
call fcn.10003fb2
jmp 0x1001ced4
jmp 0x1001cebe
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x54], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x44], 0x1fd5
jge 0x1001cf37
mov edx, dword [ebp - 0x7c]
mov ecx, 0x10078098
call fcn.100065fc
jmp 0x1001cf53
or dword [ebp - 4], 0xffffffff
jmp 0x1001cf5d
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [eax], 0
jmp 0x1001cfcb
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x1001cfa3
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
jmp 0x1001cfcb
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
movzx eax, byte [eax]
test eax, eax
je 0x1001cfcb
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret