Function at 0x10031ce2
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100629ba
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x19c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100321cf
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x114], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xb8]
movzx eax, byte [eax]
test eax, eax
je 0x1003218e
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x134], 0x2146
cmp dword [ebp - 0x134], 0x5bb
jge 0x10031eb9
lea eax, [ebp - 0xdc]
push eax
push 0x1006aa68
call fcn.1004a92b
pop ecx
pop ecx
mov dword [ebp - 0x70], 1
jmp 0x10031dfa
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
cmp eax, dword [ebp - 0xdc]
jg 0x10031eb9
lea eax, [ebp - 0xb0]
push eax
push 0x1006aa68
call fcn.1004a92b
pop ecx
pop ecx
and dword [ebp - 0x20], 0
and dword [ebp - 0x5c], 0
jmp 0x10031e2d
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0xb0]
jge 0x10031e79
lea eax, [ebp - 0x138]
push eax
push 0x1006aa68
call fcn.1004a92b
pop ecx
pop ecx
cmp dword [ebp - 0x138], 1
jne 0x10031e77
mov eax, dword [ebp - 0x5c]
and eax, 0x80000001
jns 0x10031e63
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x10031e70
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
jmp 0x10031e77
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
jmp 0x10031e26
mov eax, dword [ebp - 0xb0]
and eax, 0x80000001
jns 0x10031e8b
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
je 0x10031e9c
cmp dword [ebp - 0x20], 0xffffffff
jl 0x10031ea9
cmp dword [ebp - 0x20], 1
jg 0x10031ea9
push str.YES_n
call fcn.1004ae5e
pop ecx
jmp 0x10031eb4
push 0x1006f6ac
call fcn.1004ae5e
pop ecx
jmp 0x10031df3
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0x58], eax
push 0
mov ecx, dword [ebp - 0x14]
call fcn.10001ad8
push 1
mov ecx, dword [ebp - 0x14]
call fcn.10001ad8
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x11c25c53
jge 0x10031f38
mov dword [ebp - 0x98], 1
jmp 0x10031f3f
and dword [ebp - 0x98], 0
push 1
mov ecx, dword [ebp - 0x14]
call fcn.10001ad8
mov ecx, dword [ebp - 0x98]
cmp ecx, dword [eax]
jle 0x10031f5c
mov dword [ebp - 0x6c], 1
jmp 0x10031f60
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0x6c]
mov dword [eax], ecx
cmp dword [ebp - 0x6c], 0
jne 0x10031f83
mov eax, 0x29adbd3d
test eax, eax
je 0x10031f83
mov dword [ebp - 0x80], 1
jmp 0x10031f87
and dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 0xfffffffb
jbe 0x10031f99
mov dword [ebp - 0xa8], 1
jmp 0x10031fa0
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x24]
imul ecx, dword [ebp - 0xa8], 0x20b4
cmp ecx, dword [eax]
je 0x10031fc3
mov eax, 0xa6f4dad2
test eax, eax
je 0x10031fc3
mov dword [ebp - 0x68], 1
jmp 0x10031fc7
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x68]
mov dword [eax], ecx
push 1
mov ecx, dword [ebp - 0x14]
call fcn.10001ad8
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [eax]
jg 0x10031fef
mov dword [ebp - 0x88], 1
jmp 0x10031ff6
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
cmp dword [ebp - 0x88], eax
jl 0x1003200f
mov dword [ebp - 0xa0], 1
jmp 0x10032016
and dword [ebp - 0xa0], 0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.10001ad8
mov ecx, dword [ebp - 0xa0]
cmp ecx, dword [eax]
jge 0x10032036
mov dword [ebp - 0x90], 1
jmp 0x1003203d
and dword [ebp - 0x90], 0
cmp dword [ebp - 0x90], 0xfffffffb
je 0x1003204f
mov dword [ebp - 0x74], 1
jmp 0x10032053
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp dword [ebp - 0x74], eax
jne 0x10032066
mov dword [ebp - 0x78], 1
jmp 0x1003206a
and dword [ebp - 0x78], 0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.10001ad8
mov ecx, dword [ebp - 0x78]
cmp ecx, dword [eax]
jg 0x10032083
mov eax, dword [ebp - 0x58]
cmp dword [eax], 0
jne 0x10032089
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
push 1
mov ecx, dword [ebp - 0x14]
call fcn.10001ad8
mov eax, dword [ebp - 0x24]
cmp dword [eax], 7
jae 0x100320a1
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
sub ecx, 8
cmp ecx, dword [eax]
je 0x100320b9
mov dword [ebp - 0x7c], 1
jmp 0x100320bd
and dword [ebp - 0x7c], 0
push 0
mov ecx, dword [ebp - 0x14]
call fcn.10001ad8
mov ecx, dword [ebp - 0x7c]
cmp ecx, dword [eax]
jle 0x100320da
mov dword [ebp - 0x84], 1
jmp 0x100320e1
and dword [ebp - 0x84], 0
cmp dword [ebp - 0x84], 3
jge 0x100320f6
mov dword [ebp - 0x8c], 1
jmp 0x100320fd
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x8c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
push 1
mov ecx, dword [ebp - 0x14]
call fcn.10001ad8
sub esi, dword [eax]
cmp esi, 0xfaef1792
ja 0x1003213b
mov dword [ebp - 0x94], 1
jmp 0x10032142
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
cmp dword [ebp - 0x94], eax
jne 0x1003215b
mov dword [ebp - 0xbc], 1
jmp 0x10032162
and dword [ebp - 0xbc], 0
push 1
mov ecx, dword [ebp - 0x14]
call fcn.10001ad8
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x100321ca
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
movzx eax, byte [eax]
test eax, eax
je 0x100321ca
push 0xae4
push 0
push 0xeb1
push 0x1a83
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
jmp 0x1003268c
lea eax, [ebp + 0x24]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xb4], 0x57d2
mov dword [ebp - 0x110], str.gybdjs_jalxw_uvzreakuj_vmapeydo_oatc_ddcudwh_dtbdk_owhnmmvo
cmp dword [ebp - 0xb4], 0x5aa0
jle 0x1003227d
and dword [ebp - 0x38], 0
jmp 0x10032209
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x5cfe
jge 0x1003227d
and dword [ebp - 0x50], 0
jmp 0x1003221f
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0x3a4e
jge 0x1003227b
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x50]
shl eax, cl
cdq
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], edx
push dword [ebp - 0x13c]
push dword [ebp - 0x140]
lea ecx, [ebp - 0x17c]
call fcn.1000260d
pop ecx
pop ecx
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0xd8]
call fcn.1000bb0c
push eax
call fcn.1004ae5e
pop ecx
lea ecx, [ebp - 0x17c]
call fcn.1000bb02
jmp 0x10032218
jmp 0x10032202
mov dword [ebp - 0xac], 0xf29
mov dword [ebp - 0x108], str.atjespw_uqiofihs_xjvkh_ylfgdgrxc_rmz_swv_akavej_eopwjt_ghhmudr_isfmz_gkoqwpase_rczo_ezgn_tqcwbwj
cmp dword [ebp - 0xac], 0x101f
jle 0x10032335
and dword [ebp - 0x30], 0
jmp 0x100322ae
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x230a
jge 0x10032335
and dword [ebp - 0x48], 0
jmp 0x100322c4
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x7443
jge 0x10032330
and dword [ebp - 0x40], 0
jmp 0x100322da
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x7d0f
jge 0x1003232e
and dword [ebp - 0x60], 0
jmp 0x100322f0
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x64b6
jge 0x1003232c
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x48]
sar eax, cl
xor eax, dword [ebp - 0x30]
cdq
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x148], edx
push dword [ebp - 0x148]
push dword [ebp - 0x14c]
mov ecx, 0x1007d858
call fcn.1000bb8e
jmp 0x100322e9
jmp 0x100322d3
jmp 0x100322bd
jmp 0x100322a7
mov eax, dword [ebp - 0xe0]
movzx eax, byte [eax]
test eax, eax
je 0x10032363
mov byte [ebp - 0x1a], 0
push 0
push 0xbe2
push 0x2f92
lea eax, [ebp - 0x1a]
push eax
call fcn.10033f8c
add esp, 0x10
jmp 0x100325fe
mov dword [ebp - 0x9c], 0xb03
mov dword [ebp - 0xf0], str.wvnaawkvs_umxfnhmtw_quwk_ummsmx_srnvrtt_zyx
cmp dword [ebp - 0x9c], 0xbd1
jle 0x1003242f
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
and dword [ebp - 0x44], 0
jmp 0x1003239a
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x234d
jge 0x1003242f
and dword [ebp - 0x34], 0
jmp 0x100323b4
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x3046
jge 0x1003242a
and dword [ebp - 0x3c], 0
jmp 0x100323ca
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x4fda
jge 0x10032428
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x3c]
xor eax, dword [ebp - 0x44]
cdq
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], edx
push dword [ebp - 0x154]
push dword [ebp - 0x158]
lea ecx, [ebp - 0x194]
call fcn.1000260d
pop ecx
pop ecx
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
call fcn.1000bb0c
push eax
call fcn.1004ae5e
pop ecx
lea ecx, [ebp - 0x194]
call fcn.1000bb02
jmp 0x100323c3
jmp 0x100323ad
jmp 0x10032393
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
cmp dword [ebp - 0x9c], 0x833
jge 0x10032452
push dword [ebp - 0xf0]
call fcn.1004ae5e
pop ecx
jmp 0x1003246e
or dword [ebp - 4], 0xffffffff
jmp 0x10032478
mov dword [ebp - 0xa4], 0x48a3
mov dword [ebp - 0x100], str.jrwhcbjdk_yajj_lmccge_vxfpdw_vdt
cmp dword [ebp - 0xa4], 0x48fb
jle 0x10032580
and dword [ebp - 0x2c], 0
jmp 0x100324a9
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x66e3
jge 0x10032565
and dword [ebp - 0x64], 0
jmp 0x100324c3
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0x3ef2
jge 0x10032560
and dword [ebp - 0x4c], 0
jmp 0x100324dd
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x5f21
jge 0x1003255b
and dword [ebp - 0x54], 0
jmp 0x100324f3
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x29b3
jge 0x10032556
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x2c]
imul ecx, dword [ebp - 0x64]
and eax, ecx
cdq
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], edx
push dword [ebp - 0x11c]
push dword [ebp - 0x120]
lea ecx, [ebp - 0x1ac]
call fcn.1000260d
pop ecx
pop ecx
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf8]
call fcn.1000bb0c
push eax
call fcn.1004ae5e
pop ecx
lea ecx, [ebp - 0x1ac]
call fcn.1000bb02
jmp 0x100324ec
jmp 0x100324d6
jmp 0x100324bc
jmp 0x100324a2
push 0
push 0
push 0x3ca
push 0xe8b
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov dword [ebp - 0x28], 2
jmp 0x10032590
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x10
jle 0x100325ac
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x100325aa
push 0
call fcn.1003282c
pop ecx
jmp 0x10032589
mov dword [ebp - 4], 2
cmp dword [ebp - 0xa4], 0x47d9
jge 0x100325cb
push dword [ebp - 0x100]
call fcn.1004ae5e
pop ecx
jmp 0x100325e7
or dword [ebp - 4], 0xffffffff
jmp 0x100325f1
lea eax, [ebp - 0x28]
push eax
push 0
call fcn.10031b9c
pop ecx
pop ecx
mov dword [ebp - 4], 4
cmp dword [ebp - 0xac], 0xd9e
jge 0x10032621
mov edx, dword [ebp - 0x108]
mov ecx, 0x1007d858
call fcn.1000dfd7
jmp 0x1003263d
or dword [ebp - 4], 0xffffffff
jmp 0x10032647
mov dword [ebp - 4], 6
cmp dword [ebp - 0xb4], 0x562c
jge 0x10032666
push dword [ebp - 0x110]
call fcn.1004ae5e
pop ecx
jmp 0x10032682
or dword [ebp - 4], 0xffffffff
jmp 0x1003268c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret