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

Disassembly:
push 0xffffffffffffffff
push 0x48f361
mov eax, dword fs:[0]
push eax
sub esp, 0x540
mov eax, dword [0x4c2b20]
xor eax, esp
mov dword [esp + 0x53c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c2b20]
xor eax, esp
push eax
lea eax, [esp + 0x554]
mov dword fs:[0], eax
mov eax, dword [esp + 0x564]
xor esi, esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x55c], esi
call fcn.00450992
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x42651d
push 0x80004005
call fcn.00419910
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x40], eax
mov byte [esp + 0x55c], 1
call fcn.00450992
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x42654f
push 0x80004005
call fcn.00419910
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x38], eax
mov byte [esp + 0x55c], 2
call fcn.00450992
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x426581
push 0x80004005
call fcn.00419910
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
push 0x3ff
lea ecx, [esp + 0x51]
push esi
push ecx
mov byte [esp + 0x568], 3
mov byte [esp + 0x58], 0
call fcn.0046a930
add esp, 0xc
push 0x4968d4
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], 0x400
call fcn.0041acd0
lea edx, [esp + 0x568]
push edx
push eax
lea eax, [esp + 0x44]
mov bl, 4
push eax
mov byte [esp + 0x568], bl
call fcn.0041c610
add esp, 0xc
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x560], 5
call fcn.0041a940
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x55c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42661f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426647
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x30]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push esi
push edx
push closesocket
call ebp
cmp eax, esi
jne 0x4274b8
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x50]
push ecx
push esi
push esi
push str.Progid
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x426f97
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x4968b8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 0
call fcn.0041acd0
mov esi, eax
push str.open
lea ecx, [esp + 0x2c]
mov byte [esp + 0x560], 6
call fcn.0041acd0
mov edi, eax
push 0x4968a8
lea ecx, [esp + 0x30]
mov byte [esp + 0x560], 7
call fcn.0041acd0
mov ebp, eax
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x560], 8
call fcn.0041af70
push ebp
push eax
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x568], 9
call fcn.0041c610
push edi
push eax
lea eax, [esp + 0x30]
mov bl, 0xa
push eax
mov byte [esp + 0x574], bl
call fcn.0041c610
push esi
push eax
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0x580], 0xb
call fcn.0041c610
mov eax, dword [eax]
add esp, 0x24
lea edx, [esp + 0x14]
push edx
push 0x20019
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov eax, dword [esp + 0x3c]
sete byte [esp + 0x23]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42677a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x55c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4267a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4267c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4267f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426819
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426841
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426869
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x23], 0
je 0x4268fa
push 0x400
lea ecx, [esp + 0x50]
push 0
push ecx
mov dword [esp + 0x30], 0x400
call fcn.0046a930
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x50]
push eax
push 0
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0x14]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], 0
test esi, esi
jne 0x4268fa
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x1c]
call fcn.0041af70
mov byte [esp + 0x55c], 0xc
push eax
lea ecx, [esp + 0x3c]
call fcn.0041a940
lea ecx, [esp + 0x18]
mov byte [esp + 0x55c], 3
call fcn.00420d00
jmp 0x42766c
push 0x4968b8
lea ecx, [esp + 0x20]
call fcn.0041acd0
mov esi, eax
push str.edit
lea ecx, [esp + 0x40]
mov byte [esp + 0x560], 0xd
call fcn.0041acd0
mov edi, eax
push 0x4968a8
lea ecx, [esp + 0x48]
mov byte [esp + 0x560], 0xe
call fcn.0041acd0
mov ebp, eax
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x560], 0xf
call fcn.0041af70
push ebp
push eax
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x568], 0x10
call fcn.0041c610
push edi
push eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x574], 0x11
call fcn.0041c610
push esi
push eax
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x580], 0x12
call fcn.0041c610
mov eax, dword [eax]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
add esp, 0x24
lea edx, [esp + 0x14]
push edx
push 0x20019
push 0
push eax
push closesocket
call ebx
test eax, eax
mov eax, dword [esp + 0x18]
sete byte [esp + 0x23]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4269d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 0x11
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4269fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426a22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 0xf
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426a4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 0xe
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426a72
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 0xd
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426a9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426ac2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x23], 0
je 0x426b34
push 0x400
lea ecx, [esp + 0x50]
push 0
push ecx
mov dword [esp + 0x30], 0x400
call fcn.0046a930
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x50]
push eax
push 0
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0x14]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], 0
test esi, esi
jne 0x426b34
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x1c]
call fcn.0041af70
mov byte [esp + 0x55c], 0x13
jmp 0x4268da
push 0x4968b8
lea ecx, [esp + 0x20]
call fcn.0041acd0
mov esi, eax
push str.read
lea ecx, [esp + 0x40]
mov byte [esp + 0x560], 0x14
call fcn.0041acd0
mov edi, eax
push 0x4968a8
lea ecx, [esp + 0x48]
mov byte [esp + 0x560], 0x15
call fcn.0041acd0
mov ebp, eax
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x560], 0x16
call fcn.0041af70
push ebp
push eax
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x568], 0x17
call fcn.0041c610
push edi
push eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x574], 0x18
call fcn.0041c610
push esi
push eax
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x580], 0x19
call fcn.0041c610
mov eax, dword [eax]
add esp, 0x24
lea edx, [esp + 0x14]
push edx
push 0x20019
push 0
push eax
push closesocket
call ebx
test eax, eax
mov eax, dword [esp + 0x18]
sete byte [esp + 0x23]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426c06
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426c2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 0x17
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426c56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 0x16
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426c7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 0x15
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426ca6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426cce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426cf6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0x23], 0
je 0x426d68
push 0x400
lea ecx, [esp + 0x50]
push 0
push ecx
mov dword [esp + 0x30], 0x400
call fcn.0046a930
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x50]
push eax
push 0
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0x14]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], 0
test esi, esi
jne 0x426d68
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x1c]
call fcn.0041af70
mov byte [esp + 0x55c], 0x1a
jmp 0x4268da
push 0x4968b8
lea ecx, [esp + 0x20]
call fcn.0041acd0
mov esi, eax
push 0x496894
lea ecx, [esp + 0x40]
mov byte [esp + 0x560], 0x1b
call fcn.0041acd0
mov edi, eax
push 0x4968a8
lea ecx, [esp + 0x48]
mov byte [esp + 0x560], 0x1c
call fcn.0041acd0
mov ebp, eax
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x38]
mov byte [esp + 0x560], 0x1d
call fcn.0041af70
push ebp
push eax
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x568], 0x1e
call fcn.0041c610
push edi
push eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x574], 0x1f
call fcn.0041c610
push esi
push eax
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x580], 0x20
call fcn.0041c610
mov eax, dword [eax]
add esp, 0x24
lea edx, [esp + 0x14]
push edx
push 0x20019
push 0
push eax
push closesocket
call ebx
test eax, eax
mov eax, dword [esp + 0x18]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426e38
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 0x1f
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426e60
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 0x1e
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426e88
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 0x1d
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426eb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 0x1c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426ed8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 0x1b
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426f00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426f28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x426f97
push 0x400
lea ecx, [esp + 0x50]
push 0
push ecx
mov dword [esp + 0x30], 0x400
call fcn.0046a930
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x50]
push eax
push 0
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0x14]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], 0
test esi, esi
jne 0x426f97
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x1c]
call fcn.0041af70
mov byte [esp + 0x55c], 0x21
jmp 0x4268da
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x50]
push edx
push 0
push 0
push str.Application
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4274b2
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], 0
call fcn.0041af70
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x560], 0x22
call fcn.0041a940
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427018
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x496868
lea ecx, [esp + 0x38]
call fcn.0041acd0
mov esi, eax
push 0x496858
lea ecx, [esp + 0x30]
mov byte [esp + 0x560], 0x23
call fcn.0041acd0
lea ecx, [esp + 0x40]
push ecx
push eax
lea edx, [esp + 0x30]
mov bl, 0x24
push edx
mov byte [esp + 0x568], bl
call fcn.0041c610
push esi
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x574], 0x25
call fcn.0041c610
add esp, 0x18
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x560], 0x26
call fcn.0041a940
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 0x25
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4270a8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x55c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4270cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 0x23
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4270f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42711f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x30]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push 0
push edx
push closesocket
call ebp
mov edi, 0x400
test eax, eax
jne 0x4271a8
push edi
push eax
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x30], edi
call fcn.0046a930
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x50]
push edx
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x14]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], 0
test esi, esi
jne 0x4271a8
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x1c]
call fcn.0041af70
mov byte [esp + 0x55c], 0x27
jmp 0x4268da
push str._shellEditcommand
lea ecx, [esp + 0x38]
call fcn.0041acd0
mov esi, eax
push 0x496858
lea ecx, [esp + 0x30]
mov byte [esp + 0x560], 0x28
call fcn.0041acd0
lea ecx, [esp + 0x40]
push ecx
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x568], 0x29
call fcn.0041c610
push esi
push eax
lea eax, [esp + 0x2c]
mov bl, 0x2a
push eax
mov byte [esp + 0x574], bl
call fcn.0041c610
add esp, 0x18
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x560], 0x2b
call fcn.0041a940
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x55c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427237
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 0x29
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42725f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 0x28
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427287
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4272af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push 0
push edx
push closesocket
call ebp
test eax, eax
jne 0x42732d
push edi
push eax
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x30], edi
call fcn.0046a930
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x50]
push edx
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x14]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], 0
test esi, esi
jne 0x42732d
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x1c]
call fcn.0041af70
mov byte [esp + 0x55c], 0x2c
jmp 0x4268da
push str._shellReadcommand
lea ecx, [esp + 0x38]
call fcn.0041acd0
mov esi, eax
push 0x496858
lea ecx, [esp + 0x30]
mov byte [esp + 0x560], 0x2d
call fcn.0041acd0
lea ecx, [esp + 0x40]
push ecx
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x568], 0x2e
call fcn.0041c610
push esi
push eax
lea eax, [esp + 0x2c]
mov bl, 0x2f
push eax
mov byte [esp + 0x574], bl
call fcn.0041c610
add esp, 0x18
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x560], 0x30
call fcn.0041a940
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x55c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4273bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 0x2e
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4273e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 0x2d
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42740c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427434
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push 0
push edx
push closesocket
call ebp
test eax, eax
jne 0x4274b8
push edi
push eax
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x30], edi
call fcn.0046a930
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x50]
push edx
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp + 0x14]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], 0
test esi, esi
jne 0x4274b8
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x1c]
call fcn.0041af70
mov byte [esp + 0x55c], 0x31
jmp 0x4268da
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x568]
push eax
lea ecx, [esp + 0x34]
call fcn.0041a940
mov edi, dword [esp + 0x30]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push 0
push edi
push closesocket
call ebp
test eax, eax
jne 0x427a0a
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x50]
push eax
push 0
push 0
push 0x4a70f8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0x14]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], 0
test esi, esi
jne 0x427a0a
push 0x496868
lea ecx, [esp + 0x30]
call fcn.0041acd0
mov esi, eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x560], 0x32
call fcn.0041af70
push esi
push eax
lea ecx, [esp + 0x20]
mov bl, 0x33
push ecx
mov byte [esp + 0x568], bl
call fcn.0041c610
add esp, 0xc
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x560], 0x34
call fcn.0041a940
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x55c], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42759b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 0x32
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4275c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4275eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x30]
lea ecx, [esp + 0x14]
push ecx
push 0x20019
push 0
push edi
push closesocket
call ebp
push 0x400
lea edx, [esp + 0x50]
push 0
push edx
mov esi, eax
mov dword [esp + 0x30], 0x400
call fcn.0046a930
add esp, 0xc
test esi, esi
jne 0x427a0a
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x50]
push ecx
push esi
push esi
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], 0
test esi, esi
jne 0x427a0a
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0041ae00
mov edi, dword [esp + 0x38]
add edi, 0xfffffff0
push edi
call fcn.0041a0b0
add eax, 0x10
add esp, 4
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x55c], 0x35
call fcn.00421ab0
push 0x495dd0
lea ecx, [esp + 0x20]
call fcn.00421b50
lea ecx, [esp + 0x1c]
call fcn.004219f0
mov esi, dword [esp + 0x1c]
cmp dword [esi - 0xc], 0
jl 0x4276d4
push 0x494edc
push esi
call fcn.0046d249
add esp, 8
test eax, eax
je 0x4276d4
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
jne 0x4277ae
mov ebx, dword [esp + 0x48]
push 0x4af293
mov ecx, ebx
call fcn.0041acd0
lea eax, [esi - 0x10]
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov byte [esp + 0x55c], 3
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x427708
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x55c], 2
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427730
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or edx, 0xffffffff
lea ecx, [edi + 0xc]
mov byte [esp + 0x55c], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427751
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x55c], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427779
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x568]
add eax, 0xfffffff0
mov dword [esp + 0x55c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4277a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
jmp 0x427abe
add eax, 4
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x24]
call fcn.0041a6f0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x560], 0x36
call fcn.0041a940
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 0x35
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4277fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
cmp dword [esi - 0xc], 0
jge 0x42780e
push 0x80070057
call fcn.00419910
movzx eax, word [esi]
cmp ax, 0x25
jne 0x4279de
cmp dword [esi - 0xc], 1
jg 0x427826
or edi, 0xffffffff
jmp 0x427843
lea ecx, [esi + 2]
push 0x25
push ecx
call fcn.0046c1f7
add esp, 8
test eax, eax
jne 0x42783d
or edi, 0xffffffff
jmp 0x427843
sub eax, esi
sar eax, 1
mov edi, eax
lea ecx, [esp + 0x3c]
call fcn.00420cd0
lea edx, [edi - 1]
push edx
push 1
lea eax, [esp + 0x20]
mov bl, 0x37
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x568], bl
call fcn.0041c540
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x560], 0x38
call fcn.004228f0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x55c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4278a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x103
lea ecx, [esp + 0x451]
push 0
push ecx
mov byte [esp + 0x458], 0
call fcn.0046a930
mov ebp, dword [esp + 0x48]
add esp, 0xc
push 0x104
lea edx, [esp + 0x450]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov eax, dword [esi - 0xc]
sub eax, edi
dec eax
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
call fcn.0041a670
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x560], 0x39
call fcn.0041a940
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x55c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427929
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x44c]
push ecx
lea ecx, [esp + 0x2c]
call fcn.0041acd0
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x568], 0x3a
call fcn.0041c610
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x560], 0x3b
call fcn.0041a940
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 0x3a
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42798f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x55c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4279b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x55c], 0x35
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4279da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0041a940
mov edi, dword [esp + 0x38]
add edi, 0xfffffff0
push edi
call fcn.0041a0b0
mov ebx, dword [esp + 0x4c]
add esp, 4
add eax, 0x10
mov dword [ebx], eax
jmp 0x4276e4
mov esi, dword [esp + 0x48]
push 0x4af293
mov ecx, esi
call fcn.0041acd0
lea eax, [edi - 0x10]
mov byte [esp + 0x55c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427a3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427a66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x55c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427a8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x568]
add eax, 0xfffffff0
mov dword [esp + 0x55c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427abc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x554]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x53c]
xor ecx, esp
call fcn.0046b5b0
add esp, 0x54c
ret