Function at 0x1003197b
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061cab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x174
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x100320d7
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x94], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x68], 0x1901
mov dword [ebp - 0xd8], str.tvxbgsmt_hpoemm_alo_gpyfdl_rigcjdz_qsabava_npc_hxi_conijg_zwk
cmp dword [ebp - 0x68], 0x1b66
jle 0x10031add
push 0
call dword [sym.imp.USER32.dll_IsRectEmpty]
and dword [ebp - 0x3c], 0
jmp 0x10031a27
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x42df
jge 0x10031add
and dword [ebp - 0x24], 0
jmp 0x10031a41
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x2b27
jge 0x10031ad8
and dword [ebp - 0x4c], 0
jmp 0x10031a5b
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0x4eec
jge 0x10031ad3
and dword [ebp - 0x48], 0
jmp 0x10031a71
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x1e77
jge 0x10031ad1
mov eax, dword [ebp - 0x3c]
add eax, dword [ebp - 0x24]
xor eax, dword [ebp - 0x4c]
xor eax, dword [ebp - 0x48]
cdq
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], edx
push dword [ebp - 0xfc]
push dword [ebp - 0x100]
lea ecx, [ebp - 0x184]
call fcn.10001a65
pop ecx
pop ecx
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
call fcn.100042ab
push eax
call fcn.10049ba3
pop ecx
lea ecx, [ebp - 0x184]
call fcn.100042a1
jmp 0x10031a6a
jmp 0x10031a54
jmp 0x10031a3a
jmp 0x10031a20
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
test eax, eax
je 0x10031c4a
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x74], 0x1701
mov dword [ebp - 0xc0], str.gmak_pezxwpt_oetr_rpcz_cjn_yqksquhf_hcbfqmzwx_htqbrl_unm
cmp dword [ebp - 0x74], 0x186b
jle 0x10031b97
and dword [ebp - 0x30], 0
jmp 0x10031b4b
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x25cb
jge 0x10031b97
and dword [ebp - 0x40], 0
jmp 0x10031b61
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x56c
jge 0x10031b95
mov eax, dword [ebp - 0x30]
or eax, dword [ebp - 0x40]
cdq
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], edx
push dword [ebp - 0x108]
push dword [ebp - 0x10c]
mov ecx, 0x1007c0d8
call fcn.100042cb
jmp 0x10031b5a
jmp 0x10031b44
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x60], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x74], 0x1606
jge 0x10031bbd
mov edx, dword [ebp - 0xc0]
mov ecx, 0x1007c0d8
call fcn.10006d07
jmp 0x10031bd9
or dword [ebp - 4], 0xffffffff
jmp 0x10031be3
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x10031c11
mov ecx, dword [ebp - 0x60]
call fcn.100351fe
movzx eax, al
test eax, eax
jne 0x10031c45
push 1
push dword [ebp - 0x60]
push dword [ebp - 0xac]
push dword [ebp - 0xdc]
push 0x2531
push 1
call fcn.1003172a
add esp, 0x18
push dword [ebp - 0x6c]
push 1
push 0x2426
push 1
call fcn.100318cc
add esp, 0x10
jmp 0x10032090
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x50]
call fcn.100351ae
movzx eax, al
test eax, eax
je 0x10031c7f
mov eax, dword [ebp - 0x54]
mov byte [eax], 0
jmp 0x10032259
push 1
lea ecx, [ebp - 0x148]
call fcn.1000457d
mov dword [ebp - 4], 2
mov dword [ebp - 0x134], 0xc443
mov dword [ebp - 0xc4], 0xbb7a
mov dword [ebp - 0xf4], 0xfbc9fa8b
push 3
lea ecx, [ebp - 0x130]
call fcn.1000457d
mov byte [ebp - 4], 3
push 2
lea ecx, [ebp - 0x124]
call fcn.1000457d
mov byte [ebp - 4], 4
mov dword [ebp - 0xec], 0xca6d786f
push 0x6791
push 0
lea eax, [ebp - 0x14]
push eax
push 0x6c05
push 0
lea eax, [ebp - 0x148]
push eax
push 0x5c3
call fcn.100255b2
add esp, 0x1c
mov dword [ebp - 0x14], 0
jmp 0x10031d13
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10031d2f
push dword [ebp - 0x14]
lea ecx, [ebp - 0x130]
call fcn.1000461c
mov dword [eax], 0x20d70069
jmp 0x10031d0c
push 0x71e2
push 0x5f7e
push 0
lea eax, [ebp - 0x14]
push eax
push 0x303f
push 0x2c7b
push 0
lea eax, [ebp - 0x124]
push eax
push 1
call fcn.10021193
add esp, 0x24
push 0
lea eax, [ebp - 0x124]
push eax
push 0x143e
push 1
push 0x3c75
push 0x68bf
push 0x6e0b
call fcn.10025e03
add esp, 0x1c
lea eax, [ebp - 0xec]
push eax
push 1
lea eax, [ebp - 0xf4]
push eax
push 0x1175
lea eax, [ebp - 0x124]
push eax
push 0x4cf
lea eax, [ebp - 0x130]
push eax
push 1
push 0x5bd2
push 0
lea eax, [ebp - 0xc4]
push eax
call fcn.10024d28
add esp, 0x2c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x124]
call fcn.10004600
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x130]
call fcn.10004600
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x148]
call fcn.10004600
mov eax, dword [ebp - 0x58]
and dword [eax], 0
mov dword [ebp - 0x38], 0x76820624
mov dword [ebp - 0x138], 0xfffffffe
push 3
lea ecx, [ebp - 0x158]
call fcn.1000457d
mov dword [ebp - 4], 5
mov dword [ebp - 0x13c], 0x4185a1fa
mov dword [ebp - 0xc8], 1
push 0x56e2
push 1
lea eax, [ebp - 0x158]
push eax
push 1
push 0x2384
push 0x75b
push 0
lea eax, [ebp - 0x15c]
push eax
push 0x1d27
call fcn.10026431
add esp, 0x24
mov dword [ebp - 0x38], 0
jmp 0x10031e6f
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
je 0x10031e88
push 0x630d
push 1
push 0
call fcn.10024ac6
add esp, 0xc
jmp 0x10031e68
push 0x6575
lea eax, [ebp - 0xc8]
push eax
push 0x79f8
push 0x5d6a
push 0
call fcn.1003270d
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x158]
call fcn.10004600
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x50]
call fcn.10005d1b
jmp 0x10031ecd
lea ecx, [ebp - 0x18]
call fcn.100351b7
lea eax, [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x50]
call fcn.10004ca9
push eax
lea ecx, [ebp - 0x18]
call fcn.10016a05
movzx eax, al
test eax, eax
je 0x10032085
mov dword [ebp - 0x64], 0x2a45
mov dword [ebp - 0xf0], str.goxq_koleq_nkzndzna_ymafrum_noktkx_xanxnqxie_jaxfg_npi_vzvf
cmp dword [ebp - 0x64], 0x2dd0
jle 0x10031f75
and dword [ebp - 0x28], 0
jmp 0x10031f17
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x4e28
jge 0x10031f63
and dword [ebp - 0x2c], 0
jmp 0x10031f2d
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x3abf
jge 0x10031f61
mov eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], edx
push dword [ebp - 0x114]
push dword [ebp - 0x118]
mov ecx, 0x1007c0d8
call fcn.100042cb
jmp 0x10031f26
jmp 0x10031f10
push 0x102f
push 0xf1a
push 0
call dword [sym.imp.USER32.dll_OffsetRect]
lea ecx, [ebp - 0x18]
call fcn.10016d96
movsx eax, byte [eax]
cmp eax, 0x30
jl 0x1003201f
lea ecx, [ebp - 0x18]
call fcn.10016d96
movsx eax, byte [eax]
cmp eax, 0x39
jg 0x1003201f
mov dword [ebp - 0x1c], 0x2667a876
mov dword [ebp - 0x34], 0
jmp 0x10031fb4
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x10031fca
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x16c], 1
jmp 0x10031fad
mov dword [ebp - 0x1c], 0
jmp 0x10031fda
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jg 0x10031ff8
push 1
push 0x6ba7
push 0xc42
push 0
call fcn.10023ac1
add esp, 0x10
jmp 0x10031fd3
push 0x608
push 1
push 0x190f
push 0
push 0x42d0
lea eax, [ebp - 0x58]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
call fcn.10020f5e
add esp, 0x20
jmp 0x1003203a
lea eax, [ebp - 0x58]
push eax
push 1
push 0
call fcn.10025c02
add esp, 0xc
mov eax, dword [ebp - 0x54]
mov byte [eax], 0
jmp 0x10032259
mov dword [ebp - 4], 6
cmp dword [ebp - 0x64], 0x29cb
jge 0x1003205a
mov edx, dword [ebp - 0xf0]
mov ecx, 0x1007c0d8
call fcn.10006d07
jmp 0x10032076
or dword [ebp - 4], 0xffffffff
jmp 0x10032080
jmp 0x10031ec5
mov eax, dword [ebp - 0x54]
mov byte [eax], 1
jmp 0x10032259
mov dword [ebp - 4], 8
cmp dword [ebp - 0x68], 0x18f1
jge 0x100320ac
push dword [ebp - 0xd8]
call fcn.10049ba3
pop ecx
jmp 0x100320c8
or dword [ebp - 4], 0xffffffff
jmp 0x100320d2
jmp 0x10032259
mov eax, dword [ebp + 8]
mov dword [ebp - 0xe0], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x104]
movzx eax, byte [eax]
test eax, eax
je 0x10032134
mov eax, dword [ebp - 0xe0]
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 0x1003212f
push 0
call dword [sym.imp.GDI32.dll_CreateBrushIndirect]
jmp 0x10032259
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0x70], 0x304a
mov dword [ebp - 0xa8], str.sacyswky_sihb_gmmepr
cmp dword [ebp - 0x70], 0x330a
jle 0x100321cb
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
and dword [ebp - 0x44], 0
jmp 0x1003217f
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x4623
jge 0x100321cb
and dword [ebp - 0x20], 0
jmp 0x10032195
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x340
jge 0x100321c9
mov eax, dword [ebp - 0x44]
and eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], edx
push dword [ebp - 0xcc]
push dword [ebp - 0xd0]
mov ecx, 0x1007c0d8
call fcn.100042cb
jmp 0x1003218e
jmp 0x10032178
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 0xa
cmp dword [ebp - 0x70], 0x2eba
jge 0x100321f4
mov edx, dword [ebp - 0xa8]
mov ecx, 0x1007c0d8
call fcn.10006d07
jmp 0x10032210
or dword [ebp - 4], 0xffffffff
jmp 0x1003221a
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x5c]
cmp dword [eax], 0
je 0x1003224d
mov eax, dword [ebp - 0xb8]
cmp dword [eax], 0
je 0x1003224d
mov dword [ebp - 0x78], 1
jmp 0x10032251
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x78]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret