Function at 0x413060
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f3eb
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x47a0b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0xa1], cl
push 0x4708e0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x413108
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.NtCreateKey
push edi
call esi
push str.NtOpenKey
push edi
mov dword [0x47d714], eax
call esi
push str.NtFlushKey
push edi
mov dword [0x47d720], eax
call esi
push str.NtDeleteKey
push edi
mov dword [0x47d71c], eax
call esi
push str.NtDeleteValueKey
push edi
mov dword [0x47d724], eax
call esi
push str.NtClose
push edi
call esi
push str.NtSetValueKey
push edi
mov dword [0x47d718], eax
call esi
push str.NtQueryValueKey
push edi
mov dword [0x47d710], eax
call esi
push str.RegistryMachineSoftwareMicrosoftWindowsCurrentVersionRun3
lea ecx, [ebp - 0xa0]
call fcn.00409e60
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x90]
add eax, eax
cmp dword [ebp - 0x8c], 8
mov word [ebp - 0xb4], ax
mov word [ebp - 0xb2], ax
lea eax, [ebp - 0xa0]
cmovae eax, dword [ebp - 0xa0]
push eax
push dword [ebp - 0xb4]
call fcn.00412f70
add esp, 8
test eax, eax
je 0x413163
push eax
call dword [0x47d718]
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
push 0x48
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x74], 7
movups xmmword [ebp - 0x88], xmm0
call fcn.0040d7b0
mov dword [ebp - 0x88], eax
mov ecx, 0x23
mov dword [ebp - 0x78], 0x47
mov esi, str.RegistryMachineSoftwareMicrosoftWindowsCurrentVersionRun3TeoKey
mov dword [ebp - 0x74], 0x47
mov edi, eax
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
movsw word es:[edi], word [esi]
mov word [eax + 0x8e], cx
mov byte [ebp - 4], 1
lea esi, [ebp - 0x88]
mov eax, dword [ebp - 0x78]
xorps xmm0, xmm0
add eax, eax
mov dword [ebp - 0x60], ecx
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x70]
push 0x18
cmovae esi, dword [ebp - 0x88]
mov word [ebp - 0xb4], ax
mov word [ebp - 0xb2], ax
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 7
call fcn.0040d7b0
movups xmm0, xmmword [0x470a98]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x60], 0x11
mov dword [ebp - 0x5c], 0x17
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x470aa8]
movups xmmword [eax + 0x10], xmm0
mov cx, word [0x470ab8]
mov word [eax + 0x20], cx
xor ecx, ecx
mov word [eax + 0x22], cx
mov byte [ebp - 4], 2
lea edi, [ebp - 0x70]
mov eax, dword [ebp - 0x60]
xorps xmm0, xmm0
add eax, eax
mov dword [ebp - 0x48], ecx
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x58]
push 0x10
cmovae edi, dword [ebp - 0x70]
mov word [ebp - 0xac], ax
mov word [ebp - 0xaa], ax
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 7
call fcn.0040d7b0
movups xmm0, xmmword [str.SomeLegitString]
mov edx, eax
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x44], 0xf
movups xmmword [edx], xmm0
movq xmm0, qword [0x470acc]
movq qword [edx + 0x10], xmm0
mov ecx, dword [0x470ad4]
mov dword [edx + 0x18], ecx
mov ax, word [0x470ad8]
mov word [edx + 0x1c], ax
xor eax, eax
mov word [edx + 0x1e], ax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x48]
add eax, eax
mov word [ebp - 0xbc], ax
mov word [ebp - 0xba], ax
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
push esi
cmovae eax, dword [ebp - 0x58]
cmp byte [ebp - 0xa1], 0
push dword [ebp - 0xb4]
mov dword [ebp - 0xc0], eax
je 0x413301
call fcn.00412ff0
add esp, 8
mov esi, eax
push esi
call dword [0x47d724]
push esi
call dword [0x47d71c]
jmp 0x413380
call fcn.00412f70
mov ecx, dword [ebp - 0xbc]
add esp, 8
mov esi, eax
mov dword [ebp - 0xbc], ecx
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xb8], eax
lea eax, [ebp - 0xbc]
push 0x1a
push str.Hello_Teo___
push 1
push 0
push eax
push esi
call dword [0x47d710]
push esi
call dword [0x47d71c]
mov eax, dword [ebp - 0xac]
push 0x1a
push str.Hello_Teo___
push 1
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xac]
push 0
push eax
push esi
mov dword [ebp - 0xa8], edi
call dword [0x47d710]
push esi
call dword [0x47d71c]
test esi, esi
je 0x413380
push esi
call dword [0x47d718]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
push 0x58
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
movups xmmword [ebp - 0x40], xmm0
call fcn.0040d7b0
mov dword [ebp - 0x40], eax
mov ecx, 0x28
mov dword [ebp - 0x30], 0x51
mov esi, str.RegistryMachineSoftwareMicrosoftWindowsCurrentVersionRun3_
mov dword [ebp - 0x2c], 0x57
mov edi, eax
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
movsw word es:[edi], word [esi]
mov word [eax + 0xa2], cx
mov byte [ebp - 4], 4
lea esi, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
xorps xmm0, xmm0
add eax, eax
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x28]
push 0x10
cmovae esi, dword [ebp - 0x40]
mov word [ebp - 0xb4], ax
mov word [ebp - 0xb2], ax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 7
call fcn.0040d7b0
movups xmm0, xmmword [str.SomeString]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], 0xa
mov dword [ebp - 0x14], 0xf
movups xmmword [eax], xmm0
mov ecx, dword [0x470b94]
mov dword [eax + 0x10], ecx
xor ecx, ecx
mov word [eax + 0x14], cx
mov byte [ebp - 4], 5
lea edi, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
add eax, eax
cmp dword [ebp - 0x14], 8
push esi
cmovae edi, dword [ebp - 0x28]
push dword [ebp - 0xb4]
mov word [ebp - 0xac], ax
mov word [ebp - 0xaa], ax
cmp byte [ebp - 0xa1], cl
je 0x41347b
call fcn.00412ff0
add esp, 8
mov esi, eax
push esi
call dword [0x47d724]
push esi
call dword [0x47d71c]
jmp 0x4134c2
call fcn.00412f70
mov ecx, dword [ebp - 0xac]
add esp, 8
mov esi, eax
mov dword [ebp - 0xac], ecx
lea eax, [ebp - 0xac]
mov dword [ebp - 0xa8], edi
push 0x1a
push str.Hello_Teo___
push 1
push 0
push eax
push esi
call dword [0x47d710]
push esi
call dword [0x47d71c]
test esi, esi
je 0x4134c2
push esi
call dword [0x47d718]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x4134fc
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4134f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4136a3
push ecx
push edx
call fcn.00435d98
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x41354a
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x413540
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4136a3
push ecx
push edx
call fcn.00435d98
add esp, 8
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 8
jb 0x413598
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41358e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4136a3
push ecx
push edx
call fcn.00435d98
add esp, 8
mov ecx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp ecx, 8
jb 0x4135e6
mov edx, dword [ebp - 0x70]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4135dc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4136a3
push ecx
push edx
call fcn.00435d98
add esp, 8
mov ecx, dword [ebp - 0x74]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp ecx, 8
jb 0x413633
mov edx, dword [ebp - 0x88]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x413629
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4136a3
push ecx
push edx
call fcn.00435d98
add esp, 8
mov ecx, dword [ebp - 0x8c]
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
cmp ecx, 8
jb 0x413686
mov edx, dword [ebp - 0xa0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41367c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4136a3
push ecx
push edx
call fcn.00435d98
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004356fe
mov esp, ebp
pop ebp
ret
call fcn.0044118c
int3