Function at 0x401e2b
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c997d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x118
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x40218c
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa8], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x54], 0x2d14
mov dword [ebp - 0x78], str.jqbauxc_myjwrc_rloie_ehb_pgpktkcb_tupe_cdldd_qsaowia_pdgvj
cmp dword [ebp - 0x54], 0x2d1e
jle 0x401f27
and dword [ebp - 0x2c], 0
jmp 0x401e9f
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x1eff
jge 0x401f27
and dword [ebp - 0x44], 0
jmp 0x401eb5
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x4daa
jge 0x401f22
and dword [ebp - 0x38], 0
jmp 0x401ecb
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x6512
jge 0x401f20
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x38]
shl eax, cl
and eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], edx
push dword [ebp - 0xb8]
push dword [ebp - 0xbc]
lea ecx, [ebp - 0x110]
call fcn.00401993
pop ecx
pop ecx
mov ecx, eax
call fcn.00450c0f
push eax
call fcn.004b40b7
pop ecx
lea ecx, [ebp - 0x110]
call fcn.00450c05
jmp 0x401ec4
jmp 0x401eae
jmp 0x401e98
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x88], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x54], 0x2b9e
jge 0x401f46
push dword [ebp - 0x78]
call fcn.004b40b7
pop ecx
jmp 0x401f62
or dword [ebp - 4], 0xffffffff
jmp 0x401f6c
lea eax, [ebp + 0x20]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
movzx eax, byte [eax]
test eax, eax
je 0x40210c
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x401fe1
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
movzx eax, byte [eax]
test eax, eax
je 0x401fdc
push 0x28b
push 0x6f8
push 0x89d
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp 0x40210a
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x40210a
mov dword [ebp - 0x4c], 0x347d
mov dword [ebp - 0x80], str.izbkfrk_tyxcwxsmz_orhoepuqq_sbtaufww_lfryst_jduen_gnuny
cmp dword [ebp - 0x4c], 0x3802
jle 0x4020be
push 0x1119
call dword [sym.imp.GDI32.dll_GetStockObject]
and dword [ebp - 0x20], 0
jmp 0x402024
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x7816
jge 0x4020ac
and dword [ebp - 0x3c], 0
jmp 0x40203a
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x290a
jge 0x4020a7
and dword [ebp - 0x34], 0
jmp 0x402050
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x2c73
jge 0x4020a5
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
shl eax, cl
xor eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], edx
push dword [ebp - 0xc4]
push dword [ebp - 0xc8]
lea ecx, [ebp - 0x128]
call fcn.00401993
pop ecx
pop ecx
mov ecx, eax
call fcn.00450c0f
push eax
call fcn.004b40b7
pop ecx
lea ecx, [ebp - 0x128]
call fcn.00450c05
jmp 0x402049
jmp 0x402033
jmp 0x40201d
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0
push 0x60c
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x4c], 0x317a
jge 0x4020e4
push dword [ebp - 0x80]
call fcn.004b40b7
pop ecx
jmp 0x402100
or dword [ebp - 4], 0xffffffff
jmp 0x40210a
jmp 0x402187
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xb0]
movzx eax, byte [eax]
test eax, eax
je 0x402169
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
movzx eax, byte [eax]
test eax, eax
je 0x402167
push 0
call fcn.0040255b
pop ecx
jmp 0x402187
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
test eax, eax
je 0x402187
push 0
call fcn.004028d2
pop ecx
jmp 0x402413
mov dword [ebp - 0x50], 0x27a2
mov dword [ebp - 0x74], str.qvolmb_txnwddgis_gbggx_iqj_nynmqhldc_sitkm_fud_qnjjd_mbadsf_jvcp_vracjjlrn
cmp dword [ebp - 0x50], 0x2b09
jle 0x402227
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
and dword [ebp - 0x40], 0
jmp 0x4021c0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x7b31
jge 0x402227
and dword [ebp - 0x24], 0
jmp 0x4021d6
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x20ac
jge 0x402225
and dword [ebp - 0x28], 0
jmp 0x4021ec
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x1a59
jge 0x402223
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x24]
xor eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], edx
push dword [ebp - 0xd0]
push dword [ebp - 0xd4]
mov ecx, 0xaca3b8
call fcn.00450c1a
jmp 0x4021e5
jmp 0x4021cf
jmp 0x4021b9
mov dword [ebp - 0x1c], 0x15252cb1
mov dword [ebp - 4], 4
cmp dword [ebp - 0x50], 0x2617
jge 0x40224b
mov edx, dword [ebp - 0x74]
mov ecx, 0xaca3b8
call fcn.004525c0
jmp 0x402267
or dword [ebp - 4], 0xffffffff
jmp 0x402271
mov dword [ebp - 0xe4], 7
push 3
lea ecx, [ebp - 0xe0]
call fcn.00450d2f
mov dword [ebp - 0x58], 0xc3d0
mov dword [ebp - 0x14], 0
jmp 0x40229f
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x4022b5
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xf8], 1
jmp 0x402298
mov dword [ebp - 0x14], 0
jmp 0x4022c5
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x4022e1
push dword [ebp - 0x14]
lea ecx, [ebp - 0xe0]
call fcn.00450e1d
mov dword [eax], 0x76c51653
jmp 0x4022be
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x4022f3
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 0x1c], 2
jmp 0x402303
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x4023ef
mov dword [ebp - 0x7c], 0xfffffff6
mov dword [ebp - 0xec], 0xdafbbd0a
mov dword [ebp - 0x84], 0x87c7ab89
mov dword [ebp - 0x30], 0
jmp 0x402338
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x40234e
mov eax, dword [ebp - 0x30]
mov dword [ebp + eax*4 - 0x9c], 0xfffffff6
jmp 0x402331
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x9c], 0
jmp 0x40237c
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x9c]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x9c], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x9c], 2
jg 0x40239f
mov dword [ebp - 0xe8], 7
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
jmp 0x402361
push 2
lea ecx, [ebp - 0xe0]
call fcn.00450e1d
mov esi, dword [ebp - 0x7c]
push 0
lea ecx, [ebp - 0xe0]
call fcn.00450e1d
imul esi, dword [eax]
cmp esi, dword [ebp - 0x1c]
jl 0x4023cd
mov dword [ebp - 0x48], 1
jmp 0x4023d1
and dword [ebp - 0x48], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x48]
mov dword [ebp + eax - 0x9c], ecx
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x84], eax
jmp 0x4022fc
lea ecx, [ebp - 0xe0]
call fcn.00450e01
push 0x155a
push 0x21a3
push 0x77a7
push 0
call fcn.004045a3
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret