Function at 0x1004df40
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
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 - 0x5c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x58], eax
cmp dword [ebx + 0x4c], 0
jne 0x1004df7b
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10212f74
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
push esi
mov dword [ebp - 0x54], eax
cmp byte [ebx + 0xd0], al
je 0x1004dfd3
push 8
call fcn.10213511
add esp, 4
test eax, eax
je 0x1004dfa2
mov ecx, eax
call fcn.10130980
mov esi, eax
jmp 0x1004dfa4
xor esi, esi
push 0x10
call fcn.10213511
add esp, 4
mov dword [ebp - 0x54], eax
test eax, eax
je 0x1004dfce
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_class_DISABLE_WOW64_FILE_REDIR_.0
mov dword [eax + 0xc], esi
jmp 0x1004dfd3
xor eax, eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 0x38]
push edi
xor edi, edi
mov byte [ebp - 0x35], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
test eax, eax
je 0x1004dff2
test al, 1
je 0x1004e05c
mov eax, dword [ebx + 0xf8]
test eax, eax
jne 0x1004e001
mov eax, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x3c], str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push eax
push 0
call fcn.1002fa80
cmp dword [ebx + 0xf8], edi
mov edi, dword [ebp - 0x48]
jne 0x1004e05c
mov dword [ebp - 0x40], SysReAllocString
mov dword [ebp - 0x3c], str.SOFTWAREMicrosoftWindowsCurrentVersionRun
cmp edi, dword [ebp - 0x44]
je 0x1004e04c
mov dword [edi], SysReAllocString
mov dword [edi + 4], str.SOFTWAREMicrosoftWindowsCurrentVersionRun
add edi, 8
mov dword [ebp - 0x48], edi
jmp 0x1004e05c
lea eax, [ebp - 0x40]
push eax
push edi
lea ecx, [ebp - 0x4c]
call fcn.1002fa80
mov edi, dword [ebp - 0x48]
test byte [ebx + 0x38], 2
je 0x1004e09a
mov dword [ebp - 0x40], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x3c], str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnceEx
cmp edi, dword [ebp - 0x44]
je 0x1004e08a
mov dword [edi], reloc.OLEAUT32.dll_SysReAllocString
mov dword [edi + 4], str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnceEx
add edi, 8
mov dword [ebp - 0x48], edi
jmp 0x1004e09a
lea eax, [ebp - 0x40]
push eax
push edi
lea ecx, [ebp - 0x4c]
call fcn.1002fa80
mov edi, dword [ebp - 0x48]
test byte [ebx + 0x38], 8
je 0x1004e0d8
mov dword [ebp - 0x40], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x3c], str.SOFTWAREMicrosoftWindowsCurrentVersionRunServices
cmp edi, dword [ebp - 0x44]
je 0x1004e0c8
mov dword [edi], reloc.OLEAUT32.dll_SysReAllocString
mov dword [edi + 4], str.SOFTWAREMicrosoftWindowsCurrentVersionRunServices
add edi, 8
mov dword [ebp - 0x48], edi
jmp 0x1004e0d8
lea eax, [ebp - 0x40]
push eax
push edi
lea ecx, [ebp - 0x4c]
call fcn.1002fa80
mov edi, dword [ebp - 0x48]
test byte [ebx + 0x38], 4
je 0x1004e162
mov eax, dword [ebx + 0xf8]
test eax, eax
jne 0x1004e0f1
mov eax, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], str.SOFTWAREMicrosoftWindowsCurrentVersionpoliciesExplorerRun
cmp edi, dword [ebp - 0x44]
je 0x1004e111
mov dword [edi], eax
mov dword [edi + 4], str.SOFTWAREMicrosoftWindowsCurrentVersionpoliciesExplorerRun
add edi, 8
mov dword [ebp - 0x48], edi
jmp 0x1004e121
lea eax, [ebp - 0x40]
push eax
push edi
lea ecx, [ebp - 0x4c]
call fcn.1002fa80
mov edi, dword [ebp - 0x48]
cmp dword [ebx + 0xf8], 0
jne 0x1004e162
mov dword [ebp - 0x40], SysReAllocString
mov dword [ebp - 0x3c], str.SOFTWAREMicrosoftWindowsCurrentVersionpoliciesExplorerRun
cmp edi, dword [ebp - 0x44]
je 0x1004e152
mov dword [edi], SysReAllocString
mov dword [edi + 4], str.SOFTWAREMicrosoftWindowsCurrentVersionpoliciesExplorerRun
add edi, 8
mov dword [ebp - 0x48], edi
jmp 0x1004e162
lea eax, [ebp - 0x40]
push eax
push edi
lea ecx, [ebp - 0x4c]
call fcn.1002fa80
mov edi, dword [ebp - 0x48]
test byte [ebx + 0x38], 0x10
je 0x1004e1e5
mov eax, dword [ebx + 0xf8]
test eax, eax
jne 0x1004e177
mov eax, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
cmp edi, dword [ebp - 0x44]
je 0x1004e197
mov dword [edi], eax
mov dword [edi + 4], str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
add edi, 8
mov dword [ebp - 0x48], edi
jmp 0x1004e1a7
lea eax, [ebp - 0x40]
push eax
push edi
lea ecx, [ebp - 0x4c]
call fcn.1002fa80
mov edi, dword [ebp - 0x48]
cmp dword [ebx + 0xf8], 0
jne 0x1004e1e5
mov dword [ebp - 0x40], SysReAllocString
mov dword [ebp - 0x3c], str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
cmp edi, dword [ebp - 0x44]
je 0x1004e1d5
mov dword [edi], SysReAllocString
mov dword [edi + 4], str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
add edi, 8
jmp 0x1004e1e5
lea eax, [ebp - 0x40]
push eax
push edi
lea ecx, [ebp - 0x4c]
call fcn.1002fa80
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x4c]
cmp esi, edi
je 0x1004e307
mov cl, byte [ebp - 0x35]
cmp byte [ebp + 0x10], 0
je 0x1004e333
add ebx, 0x3c
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x1004e20a
mov eax, dword [ebx]
push dword [ebp - 0x58]
push eax
push dword [esi + 4]
mov eax, dword [ebp - 0x50]
push dword [esi]
movzx eax, byte [eax + 0xd1]
push eax
call fcn.1003c320
add esp, 0x14
mov byte [ebp - 0x36], al
test al, al
je 0x1004e337
cmp dword [ebx + 0x14], 8
jb 0x1004e239
mov ebx, dword [ebx]
push ebx
push dword [esi + 4]
mov ebx, dword [ebp - 0x50]
push dword [esi]
movzx eax, byte [ebx + 0xd1]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10046140
add esp, 0x14
cmp dword [ebp - 0xc], 0
je 0x1004e2b7
lea eax, [ebp - 0x1c]
push eax
movzx eax, byte [ebx + 0xd0]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10041220
mov ecx, dword [ebp - 0x5c]
add esp, 0xc
push eax
call fcn.10054840
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x1004e2b7
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004e2ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004e383
push edx
push ecx
call fcn.102134ff
add esp, 8
mov edx, dword [ebp - 8]
cmp edx, 8
jb 0x1004e2f1
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1004e2e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004e383
push edx
push ecx
call fcn.102134ff
add esp, 8
mov al, byte [ebp - 0x36]
mov cl, byte [ebp - 0x35]
or cl, al
add esi, 8
mov byte [ebp - 0x35], cl
cmp esi, edi
jne 0x1004e1f3
mov edx, dword [ebp - 0x4c]
pop edi
test edx, edx
je 0x1004e346
mov ecx, dword [ebp - 0x44]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x1004e33c
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004e383
jmp 0x1004e33c
xor al, al
jmp 0x1004e2f7
mov ebx, dword [ebp - 0x50]
jmp 0x1004e2f4
push ecx
push edx
call fcn.102134ff
add esp, 8
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x1004e36e
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x1004e36e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], esi
dec esi
jne 0x1004e36e
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x35]
xor ecx, ebp
pop esi
pop ebx
call fcn.10212f74
mov esp, ebp
pop ebp
ret 0xc
call fcn.10200ab0
int3