Function at 0x1004bf90
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x102519c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], eax
cmp dword [ebx + 0x4c], 0
jne 0x1004bfcb
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 0xc
cmp byte [ebx + 0xd0], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
je 0x1004c004
push 8
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x1004bff9
mov ecx, eax
call fcn.10120260
jmp 0x1004bffb
xor eax, eax
push eax
lea ecx, [ebp - 0x68]
call fcn.10032660
mov eax, dword [ebx + 0x38]
push esi
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 0x1004c024
test al, 1
je 0x1004c08e
mov eax, dword [ebx + 0xf8]
test eax, eax
jne 0x1004c033
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.1002e670
cmp dword [ebx + 0xf8], edi
mov edi, dword [ebp - 0x48]
jne 0x1004c08e
mov dword [ebp - 0x40], SysReAllocString
mov dword [ebp - 0x3c], str.SOFTWAREMicrosoftWindowsCurrentVersionRun
cmp dword [ebp - 0x44], edi
je 0x1004c07e
mov dword [edi], SysReAllocString
mov dword [edi + 4], str.SOFTWAREMicrosoftWindowsCurrentVersionRun
add edi, 8
mov dword [ebp - 0x48], edi
jmp 0x1004c08e
lea eax, [ebp - 0x40]
push eax
push edi
lea ecx, [ebp - 0x4c]
call fcn.1002e670
mov edi, dword [ebp - 0x48]
test byte [ebx + 0x38], 2
je 0x1004c0cc
mov dword [ebp - 0x40], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x3c], str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnceEx
cmp dword [ebp - 0x44], edi
je 0x1004c0bc
mov dword [edi], reloc.OLEAUT32.dll_SysReAllocString
mov dword [edi + 4], str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnceEx
add edi, 8
mov dword [ebp - 0x48], edi
jmp 0x1004c0cc
lea eax, [ebp - 0x40]
push eax
push edi
lea ecx, [ebp - 0x4c]
call fcn.1002e670
mov edi, dword [ebp - 0x48]
test byte [ebx + 0x38], 8
je 0x1004c10a
mov dword [ebp - 0x40], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x3c], str.SOFTWAREMicrosoftWindowsCurrentVersionRunServices
cmp dword [ebp - 0x44], edi
je 0x1004c0fa
mov dword [edi], reloc.OLEAUT32.dll_SysReAllocString
mov dword [edi + 4], str.SOFTWAREMicrosoftWindowsCurrentVersionRunServices
add edi, 8
mov dword [ebp - 0x48], edi
jmp 0x1004c10a
lea eax, [ebp - 0x40]
push eax
push edi
lea ecx, [ebp - 0x4c]
call fcn.1002e670
mov edi, dword [ebp - 0x48]
test byte [ebx + 0x38], 4
je 0x1004c194
mov eax, dword [ebx + 0xf8]
test eax, eax
jne 0x1004c123
mov eax, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], str.SOFTWAREMicrosoftWindowsCurrentVersionpoliciesExplorerRun
cmp dword [ebp - 0x44], edi
je 0x1004c143
mov dword [edi], eax
mov dword [edi + 4], str.SOFTWAREMicrosoftWindowsCurrentVersionpoliciesExplorerRun
add edi, 8
mov dword [ebp - 0x48], edi
jmp 0x1004c153
lea eax, [ebp - 0x40]
push eax
push edi
lea ecx, [ebp - 0x4c]
call fcn.1002e670
mov edi, dword [ebp - 0x48]
cmp dword [ebx + 0xf8], 0
jne 0x1004c194
mov dword [ebp - 0x40], SysReAllocString
mov dword [ebp - 0x3c], str.SOFTWAREMicrosoftWindowsCurrentVersionpoliciesExplorerRun
cmp dword [ebp - 0x44], edi
je 0x1004c184
mov dword [edi], SysReAllocString
mov dword [edi + 4], str.SOFTWAREMicrosoftWindowsCurrentVersionpoliciesExplorerRun
add edi, 8
mov dword [ebp - 0x48], edi
jmp 0x1004c194
lea eax, [ebp - 0x40]
push eax
push edi
lea ecx, [ebp - 0x4c]
call fcn.1002e670
mov edi, dword [ebp - 0x48]
test byte [ebx + 0x38], 0x10
je 0x1004c217
mov eax, dword [ebx + 0xf8]
test eax, eax
jne 0x1004c1a9
mov eax, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
cmp dword [ebp - 0x44], edi
je 0x1004c1c9
mov dword [edi], eax
mov dword [edi + 4], str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
add edi, 8
mov dword [ebp - 0x48], edi
jmp 0x1004c1d9
lea eax, [ebp - 0x40]
push eax
push edi
lea ecx, [ebp - 0x4c]
call fcn.1002e670
mov edi, dword [ebp - 0x48]
cmp dword [ebx + 0xf8], 0
jne 0x1004c217
mov dword [ebp - 0x40], SysReAllocString
mov dword [ebp - 0x3c], str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
cmp dword [ebp - 0x44], edi
je 0x1004c207
mov dword [edi], SysReAllocString
mov dword [edi + 4], str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
add edi, 8
jmp 0x1004c217
lea eax, [ebp - 0x40]
push eax
push edi
lea ecx, [ebp - 0x4c]
call fcn.1002e670
mov edi, dword [ebp - 0x48]
mov esi, dword [ebp - 0x4c]
cmp esi, edi
je 0x1004c318
mov cl, byte [ebp - 0x35]
cmp byte [ebp + 0x10], 0
je 0x1004c2fe
add ebx, 0x3c
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x1004c23c
mov eax, dword [ebx]
push dword [ebp - 0x5c]
push eax
push dword [esi + 4]
mov eax, dword [ebp - 0x58]
push dword [esi]
movzx eax, byte [eax + 0xd1]
push eax
call fcn.1003b290
add esp, 0x14
mov byte [ebp - 0x4d], al
test al, al
je 0x1004c302
cmp dword [ebx + 0x14], 8
jb 0x1004c26b
mov ebx, dword [ebx]
push ebx
push dword [esi + 4]
mov ebx, dword [ebp - 0x58]
push dword [esi]
movzx eax, byte [ebx + 0xd1]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10044b40
add esp, 0x14
cmp dword [ebp - 0xc], 0
je 0x1004c2f1
lea eax, [ebp - 0x1c]
push eax
movzx eax, byte [ebx + 0xd0]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10040a60
mov ecx, dword [ebp - 0x54]
add esp, 0xc
mov ecx, dword [ecx]
push eax
mov dword [ebp - 0x60], ecx
mov edx, dword [ecx + 4]
push edx
push ecx
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x3c], edx
call fcn.1002e130
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 4]
mov ecx, 0x7fffffe
sub ecx, edx
cmp ecx, 1
jb 0x1004c38e
lea ecx, [edx + 1]
mov edx, dword [ebp - 0x54]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x60]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
lea ecx, [ebp - 0x34]
call fcn.10005250
lea ecx, [ebp - 0x1c]
call fcn.10005250
mov al, byte [ebp - 0x4d]
jmp 0x1004c305
xor al, al
jmp 0x1004c308
mov ebx, dword [ebp - 0x58]
mov cl, byte [ebp - 0x35]
or cl, al
add esi, 8
mov byte [ebp - 0x35], cl
cmp esi, edi
jne 0x1004c225
mov edx, dword [ebp - 0x4c]
test edx, edx
je 0x1004c34b
mov ecx, dword [ebp - 0x44]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x1004c341
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004c389
push ecx
push edx
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 8
mov ebx, dword [ebp - 0x64]
test ebx, ebx
je 0x1004c373
or esi, 0xffffffff
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x1004c373
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], esi
dec esi
jne 0x1004c373
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 edi
pop esi
pop ebx
call fcn.101f99c6
mov esp, ebp
pop ebp
ret 0xc
call fcn.101e6c40
push str.list_T__too_long
call fcn.101bf360
int3