Function at 0x404be0
Capabilities:
Hide graphical window
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42126b
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x431080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push esi
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push 0x432f48
push 0x432e40
push 0
mov dword [0x432e38], esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x4050f7
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0x403ca0
push 0
push 0x81
push esi
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov dword [0x4333cc], eax
call dword [sym.imp.USER32.dll_CreateMenu]
mov dword [0x432f0c], eax
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov esi, dword [sym.imp.USER32.dll_AppendMenuW]
push 0x42d870
push eax
push 0x10
push dword [0x432f0c]
mov dword [0x432f10], eax
call esi
push 0x42d884
push 0x7d0
push 0
push dword [0x432f0c]
call esi
push 0x42d89c
push 0x7d1
push 0
push dword [0x432f10]
call esi
push 0x42d8b8
push 0x7d2
push 0
push dword [0x432f10]
call esi
push 0x42d8f8
push 0x7d3
push 0
push dword [0x432f10]
call esi
push dword [0x432f0c]
mov esi, dword [sym.imp.USER32.dll_SetMenu]
push dword [0x4333cc]
call esi
push dword [0x432f10]
push dword [0x4333cc]
call esi
push 0x808
lea eax, [ebp - 0x818]
push 0
push eax
call fcn.0040b3c0
add esp, 0xc
mov dword [ebp - 0x81c], 0x404
lea ecx, [ebp - 0x850]
push 0x42d640
call fcn.00406230
lea ecx, [ebp - 0x81c]
mov dword [ebp - 4], 0
cmp dword [ebp - 0x83c], 7
lea eax, [ebp - 0x850]
mov edi, dword [sym.imp.ADVAPI32.dll_RegGetValueW]
cmova eax, dword [ebp - 0x850]
push ecx
lea ecx, [ebp - 0x818]
push ecx
lea ecx, [ebp - 0x838]
push ecx
push 1
push str.autorun
push eax
push 0x80000001
call edi
lea eax, [ebp - 0x818]
push eax
lea ecx, [ebp - 0x834]
call fcn.00406230
mov byte [ebp - 4], 1
lea esi, [ebp - 0x834]
cmp dword [ebp - 0x820], 7
mov edx, dword [ebp - 0x824]
cmova esi, dword [ebp - 0x834]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
cmp edx, 1
jne 0x404df5
mov ecx, 0x42d678
test edx, edx
je 0x404de1
sub esi, ecx
nop
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x404df5
add ecx, 2
sub edx, 1
jne 0x404dd0
push 0
push 0x7d1
push 0x111
push dword [0x4333cc]
call ebx
push 0x808
lea eax, [ebp - 0x818]
push 0
push eax
call fcn.0040b3c0
add esp, 0xc
mov dword [ebp - 0x81c], 0x404
cmp dword [ebp - 0x83c], 7
lea ecx, [ebp - 0x81c]
lea eax, [ebp - 0x850]
cmova eax, dword [ebp - 0x850]
push ecx
lea ecx, [ebp - 0x818]
push ecx
lea ecx, [ebp - 0x838]
push ecx
push 1
push str.trey
push eax
push 0x80000001
call edi
lea ecx, [ebp - 0x818]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404e56
mov eax, dword [ebp - 0x820]
sub ecx, edx
sar ecx, 1
cmp ecx, eax
ja 0x404ea7
cmp eax, 7
mov dword [ebp - 0x824], ecx
lea esi, [ecx + ecx]
push esi
lea eax, [ebp - 0x818]
lea edi, [ebp - 0x834]
cmova edi, dword [ebp - 0x834]
push eax
push edi
call fcn.0040ae30
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
mov edi, dword [sym.imp.ADVAPI32.dll_RegGetValueW]
jmp 0x404ec7
lea eax, [ebp - 0x818]
mov byte [ebp - 0x854], 0
push eax
push dword [ebp - 0x854]
push ecx
lea ecx, [ebp - 0x834]
call fcn.004079c0
cmp dword [ebp - 0x820], 7
lea esi, [ebp - 0x834]
mov edx, dword [ebp - 0x824]
cmova esi, dword [ebp - 0x834]
cmp edx, 1
jne 0x404f26
mov ecx, 0x42d678
test edx, edx
je 0x404f02
sub esi, ecx
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x404f26
add ecx, 2
sub edx, 1
jne 0x404ef1
push 0
push 0x7d2
push 0x111
push dword [0x4333cc]
call ebx
push 0
push 1
push 5
push dword [0x4333cc]
call ebx
jmp 0x404f34
push 5
push dword [0x4333cc]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x808
lea eax, [ebp - 0x818]
push 0
push eax
call fcn.0040b3c0
add esp, 0xc
mov dword [ebp - 0x81c], 0x404
cmp dword [ebp - 0x83c], 7
lea ecx, [ebp - 0x81c]
lea eax, [ebp - 0x850]
cmova eax, dword [ebp - 0x850]
push ecx
lea ecx, [ebp - 0x818]
push ecx
lea ecx, [ebp - 0x838]
push ecx
push 1
push 0x42d67c
push eax
push 0x80000001
call edi
lea ecx, [ebp - 0x818]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404f95
mov eax, dword [ebp - 0x820]
sub ecx, edx
sar ecx, 1
cmp ecx, eax
ja 0x404fe0
cmp eax, 7
mov dword [ebp - 0x824], ecx
lea esi, [ecx + ecx]
push esi
lea eax, [ebp - 0x818]
lea edi, [ebp - 0x834]
cmova edi, dword [ebp - 0x834]
push eax
push edi
call fcn.0040ae30
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x405000
lea eax, [ebp - 0x818]
mov byte [ebp - 0x854], 0
push eax
push dword [ebp - 0x854]
push ecx
lea ecx, [ebp - 0x834]
call fcn.004079c0
mov ebx, dword [ebp - 0x820]
lea esi, [ebp - 0x834]
mov edi, dword [ebp - 0x834]
cmp ebx, 7
mov edx, dword [ebp - 0x824]
cmova esi, edi
cmp edx, 1
jne 0x405065
mov ecx, 0x42d678
test edx, edx
je 0x405041
sub esi, ecx
nop
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x405065
add ecx, 2
sub edx, 1
jne 0x405030
push 0
push 0x7d3
push 0x111
push dword [0x4333cc]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [ebp - 0x820]
mov edi, dword [ebp - 0x834]
cmp ebx, 7
jbe 0x405099
lea ecx, [ebx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x40508f
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405113
push ecx
push edi
call fcn.00409c9b
add esp, 8
mov ecx, dword [ebp - 0x83c]
xor eax, eax
mov dword [ebp - 0x824], 0
mov dword [ebp - 0x820], 7
mov word [ebp - 0x834], ax
cmp ecx, 7
jbe 0x4050f2
mov edx, dword [ebp - 0x850]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4050e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405113
push ecx
push edx
call fcn.00409c9b
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00409a0c
mov esp, ebp
pop ebp
ret
call fcn.004105f0
int3