Function at 0x1004a9d0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x10250150]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
cmp dword [ebx + 0x4c], 0
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x44], eax
jne 0x1004aa0f
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
mov dword [ebp - 0x40], eax
cmp byte [ebx + 0xd0], al
je 0x1004aa68
push 8
call fcn.10213511
add esp, 4
test eax, eax
je 0x1004aa35
mov ecx, eax
call fcn.10130980
mov esi, eax
jmp 0x1004aa37
xor esi, esi
push 0x10
call fcn.10213511
mov ecx, eax
add esp, 4
mov dword [ebp - 0x40], ecx
test ecx, ecx
je 0x1004aa63
mov dword [ecx + 4], 1
mov dword [ecx + 8], 1
mov dword [ecx], vtable.std::_Ref_count_class_DISABLE_WOW64_FILE_REDIR_.0
mov dword [ecx + 0xc], esi
jmp 0x1004aa68
xor eax, eax
mov dword [ebp - 0x40], eax
movzx eax, byte [ebx + 0xd1]
neg eax
mov byte [ebp - 0x1d], 0
mov dword [ebp - 0x34], 0
sbb eax, eax
xor edi, edi
and eax, 0xffffff00
mov dword [ebp - 0x30], edi
add eax, 0xf023f
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x48], eax
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x1004aa9e
test al, 1
je 0x1004ab08
mov eax, dword [ebx + 0xf8]
test eax, eax
jne 0x1004aaad
mov eax, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x24], str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push eax
push 0
call fcn.1002fa80
cmp dword [ebx + 0xf8], edi
mov edi, dword [ebp - 0x30]
jne 0x1004ab08
mov dword [ebp - 0x28], SysReAllocString
mov dword [ebp - 0x24], str.SOFTWAREMicrosoftWindowsCurrentVersionRun
cmp edi, dword [ebp - 0x2c]
je 0x1004aaf8
mov dword [edi], SysReAllocString
mov dword [edi + 4], str.SOFTWAREMicrosoftWindowsCurrentVersionRun
add edi, 8
mov dword [ebp - 0x30], edi
jmp 0x1004ab08
lea eax, [ebp - 0x28]
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.1002fa80
mov edi, dword [ebp - 0x30]
test byte [ebx + 0x38], 2
je 0x1004ab46
mov dword [ebp - 0x28], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x24], str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnceEx
cmp edi, dword [ebp - 0x2c]
je 0x1004ab36
mov dword [edi], reloc.OLEAUT32.dll_SysReAllocString
mov dword [edi + 4], str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnceEx
add edi, 8
mov dword [ebp - 0x30], edi
jmp 0x1004ab46
lea eax, [ebp - 0x28]
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.1002fa80
mov edi, dword [ebp - 0x30]
test byte [ebx + 0x38], 8
je 0x1004ab84
mov dword [ebp - 0x28], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x24], str.SOFTWAREMicrosoftWindowsCurrentVersionRunServices
cmp edi, dword [ebp - 0x2c]
je 0x1004ab74
mov dword [edi], reloc.OLEAUT32.dll_SysReAllocString
mov dword [edi + 4], str.SOFTWAREMicrosoftWindowsCurrentVersionRunServices
add edi, 8
mov dword [ebp - 0x30], edi
jmp 0x1004ab84
lea eax, [ebp - 0x28]
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.1002fa80
mov edi, dword [ebp - 0x30]
test byte [ebx + 0x38], 4
je 0x1004ac0e
mov eax, dword [ebx + 0xf8]
test eax, eax
jne 0x1004ab9d
mov eax, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], str.SOFTWAREMicrosoftWindowsCurrentVersionpoliciesExplorerRun
cmp edi, dword [ebp - 0x2c]
je 0x1004abbd
mov dword [edi], eax
mov dword [edi + 4], str.SOFTWAREMicrosoftWindowsCurrentVersionpoliciesExplorerRun
add edi, 8
mov dword [ebp - 0x30], edi
jmp 0x1004abcd
lea eax, [ebp - 0x28]
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.1002fa80
mov edi, dword [ebp - 0x30]
cmp dword [ebx + 0xf8], 0
jne 0x1004ac0e
mov dword [ebp - 0x28], SysReAllocString
mov dword [ebp - 0x24], str.SOFTWAREMicrosoftWindowsCurrentVersionpoliciesExplorerRun
cmp edi, dword [ebp - 0x2c]
je 0x1004abfe
mov dword [edi], SysReAllocString
mov dword [edi + 4], str.SOFTWAREMicrosoftWindowsCurrentVersionpoliciesExplorerRun
add edi, 8
mov dword [ebp - 0x30], edi
jmp 0x1004ac0e
lea eax, [ebp - 0x28]
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.1002fa80
mov edi, dword [ebp - 0x30]
test byte [ebx + 0x38], 0x10
je 0x1004ac91
mov eax, dword [ebx + 0xf8]
test eax, eax
jne 0x1004ac23
mov eax, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
cmp edi, dword [ebp - 0x2c]
je 0x1004ac43
mov dword [edi], eax
mov dword [edi + 4], str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
add edi, 8
mov dword [ebp - 0x30], edi
jmp 0x1004ac53
lea eax, [ebp - 0x28]
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.1002fa80
mov edi, dword [ebp - 0x30]
cmp dword [ebx + 0xf8], 0
jne 0x1004ac91
mov dword [ebp - 0x28], SysReAllocString
mov dword [ebp - 0x24], str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
cmp edi, dword [ebp - 0x2c]
je 0x1004ac81
mov dword [edi], SysReAllocString
mov dword [edi + 4], str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
add edi, 8
jmp 0x1004ac91
lea eax, [ebp - 0x28]
push eax
push edi
lea ecx, [ebp - 0x34]
call fcn.1002fa80
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x34]
cmp esi, edi
je 0x1004addf
mov cl, byte [ebp - 0x1d]
nop
cmp byte [ebp + 0xc], 0
je 0x1004ae0a
add ebx, 0x3c
mov ecx, ebx
cmp dword [ebx + 0x14], 8
jb 0x1004acb7
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax + 0xd1]
push eax
push ecx
push dword [esi + 4]
push dword [esi]
call fcn.1018a850
add esp, 0x10
mov byte [ebp - 0x1e], al
test al, al
je 0x1004adc9
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x1004ace5
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x38]
push ecx
push dword [esi + 4]
push dword [esi]
movzx eax, byte [eax + 0xd1]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10046140
add esp, 0x14
lea eax, [ebp - 0x1c]
cmp dword [ebp - 0xc], 0
je 0x1004ad5e
push dword [ebp - 0x44]
push dword [ebp - 0x3c]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.10006aa0
call fcn.10043970
add esp, 0x20
test eax, eax
jne 0x1004ad70
cmp dword [ebp - 8], 8
lea edx, [ebp - 0x1c]
jb 0x1004ad34
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x38]
movzx eax, byte [ecx + 0xa]
push eax
push dword [ecx]
movzx eax, byte [ecx + 0xd4]
push eax
movzx eax, byte [ecx + 0xd0]
push eax
push 1
push edx
push dword [ebp - 0x3c]
call fcn.1003ed10
add esp, 0x1c
jmp 0x1004ad70
cmp dword [ebp - 8], 8
jb 0x1004ad67
mov eax, dword [ebp - 0x1c]
push eax
call fcn.100e4190
add esp, 4
cmp dword [ebx + 0x14], 8
jb 0x1004ad78
mov ebx, dword [ebx]
push dword [ebp - 0x48]
push ebx
push dword [esi + 4]
push dword [esi]
push dword [ebp - 0x3c]
call fcn.1003f700
mov edx, dword [ebp - 8]
add esp, 0x14
cmp edx, 8
jb 0x1004adc6
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004adbc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ae56
push edx
push ecx
call fcn.102134ff
add esp, 8
mov al, byte [ebp - 0x1e]
mov ebx, dword [ebp - 0x38]
mov cl, byte [ebp - 0x1d]
or cl, al
add esi, 8
mov byte [ebp - 0x1d], cl
cmp esi, edi
jne 0x1004aca0
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x1004ae18
mov ecx, dword [ebp - 0x2c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x1004ae0e
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004ae56
jmp 0x1004ae0e
xor al, al
jmp 0x1004adcf
push ecx
push edx
call fcn.102134ff
add esp, 8
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x1004ae40
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x1004ae40
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], esi
dec esi
jne 0x1004ae40
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x1d]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10212f74
mov esp, ebp
pop ebp
ret 0xc
call fcn.10200ab0
int3