Function at 0x407c80
Capabilities:
Persist via run registry key

Disassembly:
push 0xffffffffffffffff
push 0x43d03d
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x44e6f0]
xor eax, esp
mov dword [esp + 0xa4], eax
push ebx
push esi
push edi
mov eax, dword [0x44e6f0]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x20], vtable.CVersionOS.0
mov dword [esp + 0x24], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov dword [esp + 0xc0], 0
mov ebx, 6
cmp dword [esp + 0x24], ebx
mov dword [esp + 0x18], vtable.CRegistry.0
jb 0x407e5c
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0xc4], 1
call fcn.00407890
add esp, 4
push 1
push 0x444600
lea ecx, [esp + 0x18]
mov byte [esp + 0xc8], 2
call fcn.00403810
push 0x17
push 0x44481c
lea ecx, [esp + 0x18]
call fcn.00403810
push 1
push 0x4446fc
lea ecx, [esp + 0x18]
call fcn.00403810
push 8
push str._runonce
lea ecx, [esp + 0x18]
call fcn.00403810
call fcn.0040c5d3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407d6e
push 0x80004005
call fcn.00401fb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push ecx
mov ebx, 0x444714
mov edi, str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0xc4], 3
call fcn.00403fe0
mov esi, dword [esp + 0x14]
neg eax
sbb eax, eax
add eax, 1
mov ebx, 1
cmp eax, ebx
jne 0x407e2c
mov eax, dword [esp + 0x10]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407dcc
push 0x80004005
call fcn.00401fb0
push eax
push esi
call fcn.00427967
add esp, 8
test eax, eax
jne 0x407e2c
lea eax, [esi - 0x10]
mov byte [esp + 0xc0], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407dfe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc0], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407e25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
jmp 0x407fbb
lea eax, [esi - 0x10]
mov byte [esp + 0xc0], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407e50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc0], bl
jmp 0x407f99
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0xc4], 4
call fcn.00407890
add esp, 4
push 1
push 0x444600
lea ecx, [esp + 0x18]
mov byte [esp + 0xc8], 5
call fcn.00403810
push 0x17
push 0x44481c
lea ecx, [esp + 0x18]
call fcn.00403810
call fcn.0040c5d3
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407eb3
push 0x80004005
call fcn.00401fb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xc0], bl
push ecx
mov ebx, 0x444714
mov edi, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00403fe0
mov esi, dword [esp + 0x14]
neg eax
sbb eax, eax
add eax, 1
cmp eax, 1
jne 0x407f6d
mov eax, dword [esp + 0x10]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407f0c
push 0x80004005
call fcn.00401fb0
push eax
push esi
call fcn.00427967
add esp, 8
test eax, eax
jne 0x407f6d
lea eax, [esi - 0x10]
mov byte [esp + 0xc0], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407f3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc0], 4
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407f66
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x407fbb
lea eax, [esi - 0x10]
mov byte [esp + 0xc0], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407f91
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc0], 4
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407fb9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004271b8
add esp, 0xb4
ret