Function at 0x1002588d
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005a9d9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x180
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x100259d4
mov dword [ebp - 0xa4], 0x56c7
mov dword [ebp - 0xec], str.jdjpqqiq_mrtcyj_uhshak_vriqmy_yqlnaqhf_gfkoxjjla_uel_lhqfowe_spqvupaq_yat_edsnm_jdka_juzx
cmp dword [ebp - 0xa4], 0x5833
jle 0x10025939
and dword [ebp - 0x2c], 0
jmp 0x100258eb
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x6e3e
jge 0x10025939
and dword [ebp - 0x44], 0
jmp 0x10025901
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x9b4
jge 0x10025937
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x44]
sar eax, cl
cdq
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], edx
push dword [ebp - 0xf4]
push dword [ebp - 0xf8]
mov ecx, 0x10073e38
call fcn.10001ae9
jmp 0x100258fa
jmp 0x100258e4
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xd0], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0xa4], 0x5437
jge 0x10025962
mov edx, dword [ebp - 0xec]
mov ecx, 0x10073e38
call fcn.100034b8
jmp 0x1002597e
or dword [ebp - 4], 0xffffffff
jmp 0x10025988
lea eax, [ebp + 0x20]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x104]
movzx eax, byte [eax]
test eax, eax
je 0x100259af
push 0x99c
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
jmp 0x100259cf
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x70]
mov dword [ecx], eax
jmp 0x10026183
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xe4], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0xd4], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0xdc], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0x68], 0x5f46
mov dword [ebp - 0xc8], str.ily_aody_wecoxgm_pzt_qsxp_jdyio_pyzumttl
cmp dword [ebp - 0x68], 0x6258
jle 0x10025ac4
and dword [ebp - 0x34], 0
jmp 0x10025a35
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x101d
jge 0x10025ac4
and dword [ebp - 0x24], 0
jmp 0x10025a4f
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x62fe
jge 0x10025abf
and dword [ebp - 0x3c], 0
jmp 0x10025a65
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x768e
jge 0x10025abd
and dword [ebp - 0x4c], 0
jmp 0x10025a7b
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x3071
jge 0x10025abb
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x24]
sar eax, cl
mov ecx, dword [ebp - 0x3c]
shl eax, cl
mov ecx, dword [ebp - 0x4c]
sar eax, cl
cdq
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], edx
push dword [ebp - 0x108]
push dword [ebp - 0x10c]
mov ecx, 0x10073e38
call fcn.10001ae9
jmp 0x10025a74
jmp 0x10025a5e
jmp 0x10025a48
jmp 0x10025a2e
mov eax, dword [ebp - 0xd4]
movzx eax, byte [eax]
test eax, eax
je 0x100260f1
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xb4], eax
xor eax, eax
mov word [ebp - 0x52], ax
lea eax, [ebp - 0x52]
push eax
mov eax, dword [ebp - 0xb0]
mov eax, dword [eax]
shr eax, 1
inc eax
push eax
lea ecx, [ebp - 0x128]
call fcn.100298bf
mov dword [ebp - 4], 2
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 0x5c], 0xffffffff
mov dword [ebp - 0x58], 0xffffffff
mov dword [ebp - 0xa0], 0xfffffff9
mov dword [ebp - 0x84], 1
mov dword [ebp - 0xd8], 0x18e9
cmp dword [ebp - 0xd8], 0x9db
jge 0x10025d16
lea ecx, [ebp - 0x158]
call fcn.10001a7f
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x140]
call fcn.10001a7f
mov byte [ebp - 4], 4
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x10073f58
call fcn.1001912e
lea edx, [ebp - 0x158]
mov ecx, eax
call fcn.10029d51
mov eax, dword [ebp - 0x20]
and eax, 0x80000001
jns 0x10025bbf
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x10025bd6
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0xac], eax
and dword [ebp - 0x90], 0
jmp 0x10025be9
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x90], 1
push 0
lea ecx, [ebp - 0x158]
call fcn.100027fe
mov al, byte [eax]
movzx eax, al
push eax
lea ecx, [ebp - 0x140]
call fcn.100296d2
mov dword [ebp - 0x1c], 1
jmp 0x10025c17
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0xac]
jge 0x10025ca8
mov eax, dword [ebp - 0x1c]
and eax, 0x80000001
jns 0x10025c35
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, dword [ebp - 0x90]
jne 0x10025c84
lea eax, [ebp - 0x140]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x158]
call fcn.100027fe
mov dl, byte [eax]
lea ecx, [ebp - 0x190]
call fcn.10029d56
pop ecx
mov dword [ebp - 0xfc], eax
push dword [ebp - 0xfc]
lea ecx, [ebp - 0x140]
call fcn.10001bfe
lea ecx, [ebp - 0x190]
call fcn.10001abf
jmp 0x10025ca3
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x158]
call fcn.100027fe
mov al, byte [eax]
movzx eax, al
push eax
lea ecx, [ebp - 0x140]
call fcn.1001a93f
jmp 0x10025c10
mov eax, dword [ebp - 0x20]
and eax, 0x80000001
jns 0x10025cb7
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x10025cdc
mov eax, dword [ebp - 0x20]
dec eax
push eax
lea ecx, [ebp - 0x158]
call fcn.100027fe
mov al, byte [eax]
movzx eax, al
push eax
lea ecx, [ebp - 0x140]
call fcn.1001a93f
push fcn.1001c19b
lea edx, [ebp - 0x140]
mov ecx, 0x10073e38
call fcn.10029de6
mov ecx, eax
call fcn.10019432
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x140]
call fcn.10001abf
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x158]
call fcn.10001abf
mov dword [ebp - 0xe8], 0xd9c7279c
mov dword [ebp - 0x15c], 0xfffffffa
mov dword [ebp - 0x14], 0
jmp 0x10025d3a
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10025d50
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x170], 0x5849968c
jmp 0x10025d33
mov dword [ebp - 0x14], 0
jmp 0x10025d60
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jge 0x10025d76
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x100], 0xfffffffb
jmp 0x10025d59
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x64]
mov dword [ebp - 0x160], eax
push 0xfffffffffffffffa
pop eax
test eax, eax
je 0x10025eb9
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x64]
mov dword [ebp - 0x164], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x64], 0xfffc
jbe 0x10025dba
mov dword [ebp - 0x78], 1
jmp 0x10025dbe
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xa0], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xa0]
cmp ecx, dword [ebp + eax - 0x64]
jne 0x10025de2
mov dword [ebp - 0x80], 1
jmp 0x10025de6
and dword [ebp - 0x80], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x64]
imul eax, dword [ebp - 0x80]
test eax, eax
jne 0x10025e04
xor eax, eax
jne 0x10025e04
and dword [ebp - 0x98], 0
jmp 0x10025e0e
mov dword [ebp - 0x98], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x64]
cmp dword [ebp - 0x98], eax
jge 0x10025e2c
mov dword [ebp - 0x88], 1
jmp 0x10025e33
and dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 0x1860
je 0x10025e4b
mov dword [ebp - 0xa8], 1
jmp 0x10025e52
and dword [ebp - 0xa8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x64]
cmp dword [ebp - 0xa8], eax
jge 0x10025e6d
mov dword [ebp - 0x6c], 1
jmp 0x10025e71
and dword [ebp - 0x6c], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x6c]
mov dword [ebp + eax - 0x170], ecx
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x64]
mov dword [ebp - 0x174], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x170], 0x734cb441
jg 0x10025eb9
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x64], 0
je 0x10025eb9
mov dword [ebp - 0x74], 1
jmp 0x10025ebd
and dword [ebp - 0x74], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x64]
cmp dword [ebp - 0x74], eax
jne 0x10025ee2
push 9
pop eax
test eax, eax
jne 0x10025ee2
mov eax, 0x512dc6d0
test eax, eax
jne 0x10025ee2
and dword [ebp - 0x7c], 0
jmp 0x10025ee9
mov dword [ebp - 0x7c], 1
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xe0], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xe0]
mov dword [ebp + eax - 0x100], ecx
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x64]
mov dword [ebp - 0x178], eax
mov dword [ebp - 0xe8], 0xffffffff
mov byte [ebp - 0x15], 0
lea eax, [ebp - 0x15]
push eax
push 0
call fcn.10026799
pop ecx
pop ecx
and dword [ebp - 0x40], 0
and dword [ebp - 0x28], 0
lea ecx, [ebp - 0x128]
call fcn.10007482
dec eax
mov dword [ebp - 0x11c], eax
jmp 0x10025f5f
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x11c]
jae 0x100260ba
push dword [ebp - 0x28]
lea ecx, [ebp - 0x128]
call fcn.10006e58
mov dword [ebp - 0xf0], eax
and dword [ebp - 0x48], 0
jmp 0x10025f96
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x48], 2
jae 0x100260b5
mov dword [ebp - 0x9c], 0x5c61
mov dword [ebp - 0x110], str.bwq_eqaqc_enu_ejxqgeiv
cmp dword [ebp - 0x9c], 0x5f03
jle 0x10026019
and dword [ebp - 0x30], 0
jmp 0x10025fcd
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x7d40
jge 0x10026019
and dword [ebp - 0x38], 0
jmp 0x10025fe3
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x5390
jge 0x10026017
mov eax, dword [ebp - 0x30]
or eax, dword [ebp - 0x38]
cdq
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], edx
push dword [ebp - 0x114]
push dword [ebp - 0x118]
mov ecx, 0x10073e38
call fcn.10001ae9
jmp 0x10025fdc
jmp 0x10025fc6
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax]
add eax, dword [ebp - 0x40]
xor edx, edx
div dword [0x10070998]
mov eax, dword [ebp - 0x94]
mov eax, dword [eax + 4]
movzx eax, byte [eax + edx]
push eax
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax]
add eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x94]
mov ecx, dword [ecx]
movzx eax, byte [ecx + eax]
push eax
call fcn.1001d567
pop ecx
pop ecx
mov ecx, dword [ebp - 0xf0]
add ecx, dword [ebp - 0x48]
mov byte [ecx], al
mov byte [ebp - 4], 5
cmp dword [ebp - 0x9c], 0x5aa2
jge 0x10026084
mov edx, dword [ebp - 0x110]
mov ecx, 0x10073e38
call fcn.100034b8
jmp 0x100260a0
mov dword [ebp - 4], 2
jmp 0x100260b0
jmp 0x10025f88
jmp 0x10025f58
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0xb4]
call fcn.1002995e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x128]
call fcn.10006e53
jmp 0x10026183
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [eax], 0
jmp 0x1002611c
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x50]
mov dword [ecx], eax
mov eax, dword [ebp - 0x50]
cmp dword [eax], 1
jg 0x1002613d
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x1002613b
push 1
push 0
call fcn.10023ef3
pop ecx
pop ecx
jmp 0x10026111
mov dword [ebp - 4], 7
cmp dword [ebp - 0x68], 0x5c7b
jge 0x1002615d
mov edx, dword [ebp - 0xc8]
mov ecx, 0x10073e38
call fcn.100034b8
jmp 0x10026179
or dword [ebp - 4], 0xffffffff
jmp 0x10026183
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret