Function at 0x40e020
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
push 0x3e0
mov eax, 0x437058
call fcn.00421173
mov esi, ecx
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x3ec], eax
push 0x6f
pop edx
push 0x73
pop eax
push 0x65
pop ecx
cmp ebx, 0x3a9d
jne 0x40e1a3
push 0x52
pop ecx
push 0x68
mov word [ebp - 0x3c], cx
pop ecx
push 0x79
mov word [ebp - 0x38], cx
pop ecx
push 0x6a
mov word [ebp - 0x36], ax
mov word [ebp - 0x32], ax
pop eax
push 0x68
mov word [ebp - 0x30], ax
pop eax
mov word [ebp - 0x2e], ax
xor eax, eax
push 0x65
mov word [ebp - 0x34], cx
mov word [ebp - 0x3a], dx
mov word [ebp - 0x2c], ax
pop ecx
cmp dword [esi + 0x468], eax
jne 0x40e0af
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.0040897d
push 0x65
pop ecx
push 0x6f
mov dword [esi + 0x468], eax
pop edx
mov eax, dword [esi + 0x468]
test eax, eax
je 0x40eac1
movdqa xmm0, xmmword [0x439680]
push 0x74
mov byte [ebp - 0xc8], cl
pop ecx
push 0x44
mov byte [ebp - 0xc7], cl
mov byte [ebp - 0xc5], cl
pop ecx
push 0x6e
mov byte [ebp - 0xc4], cl
pop ecx
mov byte [ebp - 0xc1], cl
lea ecx, [ebp - 0xd8]
push ecx
push eax
movdqu xmmword [ebp - 0xd8], xmm0
mov byte [ebp - 0xc6], 0x49
mov byte [ebp - 0xc3], dl
mov byte [ebp - 0xc2], 0x77
mov byte [ebp - 0xc0], 0
call edi
test eax, eax
je 0x40e136
call eax
test eax, eax
je 0x40e136
push 0
push 0
push dword [esi + 0x420]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x74
pop eax
movdqa xmm0, xmmword [0x4396e0]
push 0x49
pop ecx
push 0x44
mov byte [ebp - 0x18], al
mov byte [ebp - 0x16], al
pop eax
push 0x6f
pop edx
push 0x6e
mov byte [ebp - 0x15], al
pop eax
mov byte [ebp - 0x12], al
lea eax, [ebp - 0x28]
push eax
push dword [esi + 0x468]
movdqu xmmword [ebp - 0x28], xmm0
mov byte [ebp - 0x17], cl
mov byte [ebp - 0x14], dl
mov byte [ebp - 0x13], 0x77
mov byte [ebp - 0x11], 0
call edi
test eax, eax
je 0x40eac1
call eax
test eax, eax
je 0x40eac1
push 0
push 0
push dword [esi + 0x424]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x65
pop ecx
push 0x6f
pop edx
push 0x6c
pop eax
cmp ebx, 0x3aa0
jne 0x40e227
push 0x44
pop edx
push 0x6a
mov word [ebp - 0x36], cx
pop ecx
mov word [ebp - 0x32], ax
xor eax, eax
push 0x6f
mov word [ebp - 0x38], dx
pop edx
mov word [ebp - 0x2e], ax
lea eax, [ebp - 0x38]
mov word [ebp - 0x34], cx
mov ecx, esi
push eax
mov word [ebp - 0x30], dx
call fcn.0040897d
mov dword [esi + 0x46c], eax
test eax, eax
je 0x40eac1
push 0x53
pop ecx
push 0x6c
mov byte [ebp - 0x1c], cl
pop ecx
push 0x65
mov byte [ebp - 0x1b], cl
pop ecx
push 0x72
mov byte [ebp - 0x1a], cl
mov byte [ebp - 0x19], cl
mov byte [ebp - 0x14], cl
pop ecx
mov byte [ebp - 0x13], cl
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov dword [ebp - 0x18], 0x6d695470
mov byte [ebp - 0x12], 0
call edi
test eax, eax
je 0x40eac1
push 1
call eax
pop ecx
cmp ebx, 0x3aa1
jne 0x40e2cb
push 0x52
pop eax
push 0x6f
mov word [ebp - 0x3c], ax
pop eax
push 0x68
pop ecx
push 0x73
mov word [ebp - 0x3a], ax
pop eax
push 0x79
pop edx
mov word [ebp - 0x36], ax
mov word [ebp - 0x32], ax
push 0x6a
pop eax
mov word [ebp - 0x30], ax
xor eax, eax
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x3c]
mov word [ebp - 0x38], cx
mov word [ebp - 0x2e], cx
mov ecx, esi
push eax
mov word [ebp - 0x34], dx
call fcn.0040897d
mov dword [esi + 0x468], eax
test eax, eax
je 0x40eac1
push 0x6e
pop ecx
push 0x6c
mov byte [ebp - 0x1b], cl
pop ecx
push 0x6f
pop edx
push 0x65
mov byte [ebp - 0x1a], cl
mov byte [ebp - 0x15], cl
pop ecx
push 0x70
mov byte [ebp - 0x14], cl
mov byte [ebp - 0x13], cl
pop ecx
mov byte [ebp - 0x12], cl
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov byte [ebp - 0x1c], 0x55
mov byte [ebp - 0x19], dl
mov word [ebp - 0x18], 0x6b63
mov byte [ebp - 0x16], 0x53
mov byte [ebp - 0x11], 0
call edi
test eax, eax
je 0x40eac1
call eax
cmp ebx, 0x3aa2
jne 0x40eac1
lea eax, [ebp - 0x32c]
mov ecx, esi
push eax
call fcn.0040829a
movdqa xmm0, xmmword [0x4397b0]
xor ebx, ebx
push 0x65
pop eax
mov byte [ebp - 0xdc], al
lea eax, [ebp - 0xec]
push eax
mov dword [ebp - 4], ebx
movdqu xmmword [ebp - 0xec], xmm0
mov byte [ebp - 0xdb], bl
call fcn.0041f4a0
pop ecx
push eax
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x32c]
call fcn.00413b93
push 0xb8
lea eax, [ebp - 0x3e4]
push ebx
push eax
call fcn.0041f3b0
add esp, 0xc
lea eax, [ebp - 0x32c]
lea ecx, [ebp - 0x3e4]
push 1
push 0x40
push 1
push eax
call fcn.00402569
mov byte [ebp - 4], 1
cmp dword [ebp - 0x384], ebx
je 0x40e7da
mov dword [ebp - 0x300], 0xf
mov dword [ebp - 0x304], ebx
mov byte [ebp - 0x314], bl
lea eax, [ebp - 0x314]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x3e4]
push eax
call fcn.0040118e
pop ecx
pop ecx
push 0x53
pop eax
push 0x6f
mov word [ebp - 0xbc], ax
pop eax
push 0x66
pop ebx
push 0x74
pop edx
push 0x77
mov word [ebp - 0xba], ax
pop eax
push 0x61
mov word [ebp - 0xb4], ax
pop eax
push 0x72
pop ecx
push 0x65
mov word [ebp - 0xb6], dx
mov word [ebp - 0xb0], cx
pop ecx
push 0x5c
mov word [ebp - 0xae], cx
pop ecx
push 0x4d
pop edx
push 0x69
mov word [ebp - 0xa8], dx
pop edx
push 0x63
mov word [ebp - 0xa6], dx
pop edx
push 0x72
mov word [ebp - 0xa4], dx
pop edx
push 0x6f
mov word [ebp - 0xa2], dx
pop edx
push 0x73
mov word [ebp - 0xa0], dx
pop edx
push 0x6f
mov word [ebp - 0x9e], dx
pop edx
push 0x74
mov word [ebp - 0x9c], dx
pop edx
push 0x49
mov word [ebp - 0x98], dx
pop edx
push 0x6e
pop edi
push 0x74
mov word [ebp - 0x92], dx
pop edx
push 0x65
mov word [ebp - 0x8e], dx
pop edx
push 0x72
mov word [ebp - 0x90], di
mov word [ebp - 0xb8], bx
mov word [ebp - 0xb2], ax
mov word [ebp - 0xac], cx
mov word [ebp - 0xaa], cx
mov word [ebp - 0x9a], bx
mov word [ebp - 0x96], cx
mov word [ebp - 0x94], cx
mov word [ebp - 0x8c], dx
pop edi
push 0x6e
mov word [ebp - 0x86], dx
mov word [ebp - 0x8a], di
pop edi
push 0x74
pop edx
push 0x20
mov word [ebp - 0x84], dx
pop edx
push 0x45
mov word [ebp - 0x82], dx
pop edx
push 0x78
mov word [ebp - 0x80], dx
pop edx
push 0x70
mov word [ebp - 0x7e], dx
pop edx
push 0x6c
mov word [ebp - 0x7c], dx
pop edx
push 0x6f
mov word [ebp - 0x7a], dx
pop edx
push 0x72
mov word [ebp - 0x88], di
pop edi
push 0x65
mov word [ebp - 0x68], ax
mov word [ebp - 0x78], dx
pop edx
push 0x53
mov word [ebp - 0x70], cx
mov word [ebp - 0x6e], cx
pop ecx
push edi
pop eax
push 0x63
mov word [ebp - 0x66], ax
pop eax
push 0x68
mov word [ebp - 0x64], ax
pop eax
push 0x63
mov word [ebp - 0x62], ax
pop eax
push 0x6f
mov word [ebp - 0x5e], ax
pop eax
push 0x70
mov word [ebp - 0x5c], ax
pop eax
push 0x73
mov word [ebp - 0x5a], ax
pop eax
mov word [ebp - 0x56], ax
xor eax, eax
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x2f8]
push eax
push 1
push 0
lea eax, [ebp - 0xbc]
mov word [ebp - 0x76], di
push eax
push SysReAllocStringLen
mov word [ebp - 0x74], dx
mov word [ebp - 0x72], di
mov word [ebp - 0x6c], cx
mov word [ebp - 0x6a], dx
mov word [ebp - 0x60], cx
mov word [ebp - 0x58], dx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x40e7ba
push 0x103
lea eax, [ebp - 0x1ef]
mov byte [ebp - 0x1f0], 0
push 0
push eax
call fcn.0041f3b0
add esp, 0xc
mov byte [ebp - 0x36], bl
xor ebx, ebx
mov dword [ebp - 0x3e8], 0x104
mov byte [ebp - 0x34], 0x75
mov byte [ebp - 0x2c], bl
push 0x44
pop eax
push 0x65
pop ecx
push 0x61
mov byte [ebp - 0x38], al
pop eax
push 0x6c
mov byte [ebp - 0x35], al
pop eax
push 0x74
mov byte [ebp - 0x33], al
pop eax
push 0x53
mov byte [ebp - 0x32], al
pop eax
push 0x63
mov byte [ebp - 0x31], al
pop eax
push 0x6f
mov byte [ebp - 0x30], al
pop eax
push 0x70
mov byte [ebp - 0x2f], al
pop eax
mov byte [ebp - 0x2e], al
lea eax, [ebp - 0x3e8]
push eax
lea eax, [ebp - 0x1f0]
mov byte [ebp - 0x37], cl
push eax
lea eax, [ebp - 0x2fc]
mov byte [ebp - 0x2d], cl
push eax
push ebx
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x2f8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40e7ac
mov dword [ebp - 0xc4], 0xf
mov dword [ebp - 0xc8], ebx
mov byte [ebp - 0xd8], bl
push dword [ebp - 0x3e8]
lea eax, [ebp - 0x1f0]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0xd8]
call fcn.00413d17
cmp dword [ebp - 0x300], 0x10
lea eax, [ebp - 0x314]
push dword [ebp - 0x304]
cmovae eax, dword [ebp - 0x314]
lea ecx, [ebp - 0xd8]
push eax
push dword [ebp - 0xc8]
push ebx
call fcn.0041402b
push 0x52
test eax, eax
pop eax
push 0x6f
mov word [ebp - 0x50], ax
pop eax
push 0x68
pop ecx
push 0x73
mov word [ebp - 0x4e], ax
pop eax
push 0x79
pop edx
push 0x6a
mov word [ebp - 0x4a], ax
mov word [ebp - 0x46], ax
pop eax
mov word [ebp - 0x4c], cx
mov word [ebp - 0x42], cx
mov ecx, esi
mov word [ebp - 0x48], dx
mov word [ebp - 0x44], ax
je 0x40e742
xor eax, eax
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x50]
push eax
call fcn.0040897d
mov dword [esi + 0x468], eax
test eax, eax
je 0x40e79a
push 0x6e
pop ecx
push 0x6c
mov byte [ebp - 0x1b], cl
pop ecx
push 0x6f
pop edx
push 0x63
mov byte [ebp - 0x19], dl
pop edx
push 0x53
mov byte [ebp - 0x18], dl
pop edx
push 0x65
mov byte [ebp - 0x1a], cl
mov byte [ebp - 0x15], cl
pop ecx
push 0x70
mov byte [ebp - 0x14], cl
mov byte [ebp - 0x13], cl
pop ecx
mov byte [ebp - 0x12], cl
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov byte [ebp - 0x1c], 0x55
mov byte [ebp - 0x17], 0x6b
mov byte [ebp - 0x16], dl
mov byte [ebp - 0x11], bl
call edi
test eax, eax
je 0x40e701
call eax
mov edi, dword [sym.imp.USER32.dll_KillTimer]
cmp dword [esi + 0x454], ebx
jne 0x40e715
push ebx
push dword [esi + 4]
call edi
imul eax, dword [esi + 0x474], 0xea60
push ebx
push eax
push 0x3aa1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
push dword [esi + 0x458]
mov dword [esi + 0x454], eax
push dword [esi + 4]
call edi
jmp 0x40e79a
xor eax, eax
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x50]
push eax
call fcn.0040897d
mov dword [esi + 0x468], eax
test eax, eax
je 0x40e79a
push 0x6f
pop edx
push 0x63
pop ecx
push 0x53
mov byte [ebp - 0x1a], cl
pop ecx
push 0x6c
mov byte [ebp - 0x18], cl
pop ecx
push 0x65
mov byte [ebp - 0x17], cl
pop ecx
push 0x70
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], cl
pop ecx
mov byte [ebp - 0x14], cl
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov byte [ebp - 0x1c], 0x4c
mov byte [ebp - 0x1b], dl
mov byte [ebp - 0x19], 0x6b
mov byte [ebp - 0x13], bl
call edi
test eax, eax
je 0x40e79a
call eax
push ebx
push 1
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 2
call fcn.004138f5
push dword [ebp - 0x2f8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40e7bc
xor ebx, ebx
lea ecx, [ebp - 0x3e4]
call fcn.00413f9e
push ebx
push 1
lea ecx, [ebp - 0x314]
call fcn.004138f5
jmp 0x40eaa8
push 0x53
pop eax
push 0x6f
mov word [ebp - 0xbc], ax
pop eax
push 0x66
pop ebx
push 0x74
mov word [ebp - 0xba], ax
pop eax
push 0x77
mov word [ebp - 0xb6], ax
pop eax
push 0x61
mov word [ebp - 0xb4], ax
pop eax
push 0x72
pop ecx
push 0x65
mov word [ebp - 0xb0], cx
pop ecx
push 0x5c
mov word [ebp - 0xae], cx
pop ecx
push 0x4d
pop edx
push 0x69
mov word [ebp - 0xa8], dx
pop edx
push 0x63
mov word [ebp - 0xa6], dx
pop edx
push 0x72
mov word [ebp - 0xa4], dx
pop edx
push 0x6f
mov word [ebp - 0xa2], dx
pop edx
push 0x73
pop esi
push 0x74
mov word [ebp - 0xa0], dx
mov word [ebp - 0x9c], dx
pop edx
push 0x49
mov word [ebp - 0x9e], si
pop esi
push 0x6e
pop edi
push 0x65
mov word [ebp - 0x98], dx
mov word [ebp - 0x8e], dx
pop edx
push 0x72
mov word [ebp - 0x92], si
pop esi
push 0x74
mov word [ebp - 0x8c], dx
mov word [ebp - 0x86], dx
pop edx
push 0x20
mov word [ebp - 0x84], dx
pop edx
push 0x45
mov word [ebp - 0x82], dx
pop edx
push 0x78
mov word [ebp - 0x80], dx
pop edx
mov word [ebp - 0xb8], bx
mov word [ebp - 0xb2], ax
mov word [ebp - 0xac], cx
mov word [ebp - 0xaa], cx
mov word [ebp - 0x9a], bx
mov word [ebp - 0x96], cx
mov word [ebp - 0x94], cx
mov word [ebp - 0x90], di
mov word [ebp - 0x8a], si
mov word [ebp - 0x88], di
mov word [ebp - 0x7e], dx
push 0x70
pop edx
push 0x6c
mov word [ebp - 0x7c], dx
pop edx
push 0x6f
mov word [ebp - 0x7a], dx
pop edx
push esi
pop edi
push 0x65
mov word [ebp - 0x78], dx
pop edx
push 0x53
mov word [ebp - 0x68], ax
mov word [ebp - 0x70], cx
mov word [ebp - 0x6e], cx
pop ecx
push esi
pop eax
push 0x63
mov word [ebp - 0x66], ax
pop eax
push 0x68
mov word [ebp - 0x64], ax
pop eax
push 0x63
mov word [ebp - 0x62], ax
pop eax
push 0x6f
mov word [ebp - 0x5e], ax
pop eax
push 0x70
mov word [ebp - 0x5c], ax
pop eax
push 0x73
mov word [ebp - 0x5a], ax
xor eax, eax
pop esi
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x3e8]
push eax
push 1
push 0
lea eax, [ebp - 0xbc]
mov word [ebp - 0x76], di
push eax
push SysReAllocStringLen
mov word [ebp - 0x74], dx
mov word [ebp - 0x72], di
mov word [ebp - 0x6c], cx
mov word [ebp - 0x6a], dx
mov word [ebp - 0x60], cx
mov word [ebp - 0x58], dx
mov word [ebp - 0x56], si
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40eaa6
push 0x103
push eax
mov byte [ebp - 0x2f4], al
lea eax, [ebp - 0x2f3]
push eax
call fcn.0041f3b0
add esp, 0xc
mov byte [ebp - 0x4a], bl
xor ebx, ebx
mov dword [ebp - 0x2f8], 0x104
mov byte [ebp - 0x48], 0x75
mov byte [ebp - 0x40], bl
push 0x44
pop eax
push 0x65
pop ecx
push 0x61
mov byte [ebp - 0x4c], al
pop eax
push 0x6c
mov byte [ebp - 0x49], al
pop eax
push 0x74
mov byte [ebp - 0x47], al
pop eax
push 0x53
mov byte [ebp - 0x46], al
pop eax
push 0x63
mov byte [ebp - 0x45], al
pop eax
push 0x6f
mov byte [ebp - 0x44], al
pop eax
push 0x70
mov byte [ebp - 0x43], al
pop eax
mov byte [ebp - 0x42], al
lea eax, [ebp - 0x2f8]
push eax
lea eax, [ebp - 0x2f4]
mov byte [ebp - 0x4b], cl
push eax
lea eax, [ebp - 0x2fc]
mov byte [ebp - 0x41], cl
push eax
push ebx
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x3e8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40ea98
push 0xa8
lea eax, [ebp - 0x194]
push ebx
push eax
call fcn.0041f3b0
add esp, 0xc
lea eax, [ebp - 0x32c]
lea ecx, [ebp - 0x194]
push 1
push 0x40
push 2
push eax
call fcn.00402822
mov byte [ebp - 4], 4
cmp dword [ebp - 0x140], ebx
je 0x40ea8d
push ebx
push dword [ebp - 0x2f8]
lea eax, [ebp - 0x2f4]
push eax
lea ecx, [ebp - 0x194]
call fcn.0041629b
lea ecx, [ebp - 0x194]
call fcn.00413fd0
lea ecx, [ebp - 0x194]
call fcn.00403b97
push dword [ebp - 0x3e8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40eaa8
xor ebx, ebx
lea ecx, [ebp - 0x3e4]
call fcn.00403b37
push ebx
push 1
lea ecx, [ebp - 0x32c]
call fcn.004138f5
mov eax, dword [ebp - 0x3ec]
mov dword [eax], 1
xor eax, eax
call fcn.00421122
ret 0x10