Function at 0x456bff
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x6d08eb
call fcn.006899cc
sub esp, 0x264
cmp byte [0x7ea0c6], 0
push ebx
push esi
push edi
jne 0x456e50
test byte [0x7e6388], 2
jne 0x456e50
cmp byte [ebp + 8], 0
je 0x456e3c
push 0x22
pop esi
push 0x104
lea eax, [ebp - 0x26e]
mov word [ebp - 0x270], si
push eax
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
xor ecx, ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], 7
mov word [ebp + eax*2 - 0x26c], cx
lea ecx, [ebp - 0x54]
mov word [ebp + eax*2 - 0x26e], si
xor eax, eax
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x270]
push eax
call fcn.004482e2
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x54]
push esi
push eax
mov dword [ebp - 4], edi
call fcn.00451e3a
or dword [ebp - 4], 0xffffffff
mov bl, al
mov eax, dword [ebp - 0x40]
push 8
pop edi
cmp eax, edi
jb 0x456cdc
mov ecx, dword [ebp - 0x54]
lea eax, [eax*2 + 2]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
cmp eax, 0x1000
jb 0x456cd3
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0044810a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
test bl, bl
jne 0x456e50
xor ebx, ebx
mov dword [ebp - 0x10], 7
xor eax, eax
mov dword [ebp - 0x24], ebx
mov word [ebp - 0x24], ax
lea ecx, [ebp - 0x24]
lea eax, [ebp - 0x270]
mov dword [ebp - 0x14], ebx
push eax
call fcn.004482e2
mov dword [ebp - 4], 1
cmp dword [ebp - 0x14], ebx
je 0x456e00
xor eax, eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov byte [ebp - 4], 2
cmp dword [esi + 0x10], ebx
je 0x456d5b
cmp dword [esi + 0x14], edi
jb 0x456d3b
mov esi, dword [esi]
lea eax, [ebp - 0x24]
cmp dword [ebp - 0x10], edi
jb 0x456d46
mov eax, dword [ebp - 0x24]
push esi
push eax
lea eax, [ebp - 0x54]
push 0x6f7028
push eax
call fcn.00475719
add esp, 0x10
jmp 0x456d78
lea eax, [ebp - 0x24]
cmp dword [ebp - 0x10], edi
jb 0x456d66
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x54]
push 0x6f60f4
push eax
call fcn.00475719
add esp, 0xc
lea ecx, [ebp - 0x3c]
cmp ecx, eax
je 0x456d8b
mov byte [ebp + 8], bl
push dword [ebp + 8]
push eax
call fcn.00448215
lea ecx, [ebp - 0x54]
call fcn.0044823e
cmp dword [ebp - 0x2c], 0
je 0x456da6
lea eax, [ebp - 0x3c]
cmp dword [ebp - 0x28], edi
jb 0x456db1
mov eax, dword [ebp - 0x3c]
jmp 0x456db1
lea eax, [ebp - 0x24]
cmp dword [ebp - 0x10], edi
jb 0x456db1
mov eax, dword [ebp - 0x24]
push eax
push 0x6fa7d0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_accept
call fcn.0049a4cf
mov eax, dword [ebp - 0x28]
cmp eax, edi
jb 0x456e00
mov ecx, dword [ebp - 0x3c]
lea eax, [eax*2 + 2]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
cmp eax, 0x1000
jb 0x456df7
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0044810a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
cmp eax, edi
jb 0x456e50
mov ecx, dword [ebp - 0x24]
lea eax, [eax*2 + 2]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ecx
cmp eax, 0x1000
jb 0x456e31
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0044810a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call fcn.0068976d
pop ecx
pop ecx
jmp 0x456e50
push 0x6fa7d0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.WS2_32.dll_accept
call fcn.0049a202
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8