Function at 0x4d0df0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x36
push 0
push 0
dec ecx
jne 0x4d0df9
xchg dword [ebp - 4], ecx
push ebx
push esi
mov byte [ebp - 0x175], cl
mov dword [ebp - 4], edx
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 4]
call fcn.00405b5c
lea eax, [ebp - 0x170]
mov edx, dword [0x4090e4]
call fcn.0040649c
xor eax, eax
push ebp
push 0x4d1397
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x17c], 0xffffffff
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
cmp dword [ebp - 0x174], 0
je 0x4d135b
lea edx, [ebp - 0x194]
mov eax, dword [ebp - 4]
call fcn.0040a1c4
mov edx, dword [ebp - 0x194]
lea eax, [ebp - 4]
call fcn.00405774
mov eax, dword [ebp - 0x174]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4d1351
inc eax
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x180], 0
lea ecx, [ebp - 0x19c]
mov edx, dword [ebp - 0x180]
mov eax, dword [ebp - 0x174]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x19c]
lea edx, [ebp - 0x198]
call fcn.0040a1c4
mov eax, dword [ebp - 0x198]
mov edx, dword [ebp - 4]
call fcn.00405b04
jne 0x4d133f
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x17c], eax
cmp byte [0x4f92c4], 0
je 0x4d10ed
mov edx, dword [ebp - 0x180]
mov eax, dword [ebp - 0x174]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [ebp - 0x184], eax
xor eax, eax
mov dword [ebp - 0x18c], eax
xor eax, eax
push ebp
push 0x4d10a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x42add8]
call fcn.0042af54
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x184], 0
jne 0x4d0f56
mov edx, 0x80000001
mov eax, dword [ebp - 0x18c]
call fcn.0042b000
lea eax, [ebp - 0xc]
mov edx, 0x4d13b4
call fcn.00405774
jmp 0x4d0f73
mov edx, 0x80000002
mov eax, dword [ebp - 0x18c]
call fcn.0042b000
lea eax, [ebp - 0xc]
mov edx, 0x4d13c8
call fcn.00405774
xor ecx, ecx
mov edx, 0x4d13e0
mov eax, dword [ebp - 0x18c]
call fcn.0042b070
test al, al
je 0x4d108d
lea eax, [ebp - 8]
call fcn.004056dc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18c]
call fcn.0042b938
test al, al
je 0x4d0fb8
lea ecx, [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18c]
call fcn.0042b730
cmp dword [ebp - 8], 0
je 0x4d1082
lea ecx, [ebp - 0x1a4]
mov edx, dword [ebp - 0x180]
mov eax, dword [ebp - 0x174]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x1a4]
lea ecx, [ebp - 0x1a0]
mov eax, dword [ebp - 8]
call fcn.004bdcb8
mov edx, dword [ebp - 0x1a0]
lea eax, [ebp - 8]
call fcn.00405774
lea ecx, [ebp - 0x1a8]
mov edx, 0x4d142c
mov eax, dword [ebp - 8]
call fcn.004bdcb8
mov edx, dword [ebp - 0x1a8]
lea eax, [ebp - 8]
call fcn.00405774
lea ecx, [ebp - 0x170]
mov edx, 0x3f
mov eax, dword [ebp - 8]
call fcn.0040b038
mov ebx, eax
xor eax, eax
push ebp
push 0x4d107b
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x4d1062
test byte [ebp - 0x160], 0x18
jne 0x4d1051
mov eax, dword [ebp + 8]
inc dword [eax]
lea eax, [ebp - 0x170]
call fcn.0040b088
mov ebx, eax
test ebx, ebx
je 0x4d1043
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d1082
lea eax, [ebp - 0x170]
call fcn.0040b0ac
ret
mov eax, dword [ebp - 0x18c]
call fcn.0042afcc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d10ad
mov eax, dword [ebp - 0x18c]
call fcn.004047a0
ret
lea ecx, [ebp - 0x1ac]
mov edx, dword [ebp - 0x180]
mov eax, dword [ebp - 0x174]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x1ac]
mov eax, dword [0x4f92bc]
call fcn.004cf220
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
je 0x4d133f
xor edx, edx
push ebp
push 0x4d1338
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x188]
call fcn.004058d4
mov eax, dword [ebp - 8]
test eax, eax
je 0x4d114f
sub eax, 4
mov eax, dword [eax]
dec eax
jge 0x4d115c
call fcn.00405100
jmp 0x4d135b
lea eax, [ebp - 8]
call fcn.00405bcc
mov byte [eax], 0x41
mov edx, dword [ebp - 8]
mov eax, 0x4d1438
call fcn.00405cb8
mov ebx, eax
lea eax, [ebp - 8]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00405bd4
mov edx, dword [ebp - 8]
mov eax, 0x4d1444
call fcn.00405cb8
mov ebx, eax
test ebx, ebx
jne 0x4d11a7
call fcn.00405100
jmp 0x4d135b
mov esi, dword [ebp - 8]
test esi, esi
je 0x4d11b3
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 8]
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 8]
call fcn.00405bd4
mov dword [ebp - 0x184], 2
mov edx, dword [ebp - 8]
mov eax, 0x4d1450
call fcn.00405cb8
mov ebx, eax
test ebx, ebx
jne 0x4d11ea
call fcn.00405100
jmp 0x4d135b
mov esi, dword [ebp - 8]
test esi, esi
je 0x4d11f6
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 8]
push eax
lea edx, [ebx + 1]
mov ecx, esi
mov eax, dword [ebp - 8]
call fcn.00405bd4
dec dword [ebp - 0x184]
jne 0x4d11cd
mov edx, dword [ebp - 8]
mov eax, 0x4d1450
call fcn.00405cb8
mov ebx, eax
test ebx, ebx
jne 0x4d122c
call fcn.00405100
jmp 0x4d135b
lea eax, [ebp - 0x1b4]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00405bd4
mov eax, dword [ebp - 0x1b4]
lea edx, [ebp - 0x1b0]
call fcn.0040a4a8
mov eax, dword [ebp - 0x1b0]
xor edx, edx
call fcn.0040abd0
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov esi, dword [ebp - 8]
test esi, esi
je 0x4d1272
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 8]
push eax
lea edx, [ebx + 1]
mov ecx, esi
mov eax, dword [ebp - 8]
call fcn.00405bd4
mov edx, dword [ebp - 8]
mov eax, 0x4d1450
call fcn.00405cb8
mov ebx, eax
test ebx, ebx
jne 0x4d12a0
call fcn.00405100
jmp 0x4d135b
mov esi, dword [ebp - 8]
test esi, esi
je 0x4d12ac
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp - 8]
push eax
lea edx, [ebx + 1]
mov ecx, esi
mov eax, dword [ebp - 8]
call fcn.00405bd4
mov edx, dword [ebp - 8]
mov eax, 0x4d1450
call fcn.00405cb8
mov ebx, eax
test ebx, ebx
jne 0x4d12df
mov eax, dword [ebp - 8]
test eax, eax
je 0x4d12dc
sub eax, 4
mov eax, dword [eax]
lea ebx, [eax + 1]
lea eax, [ebp - 8]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00405bd4
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0040abd0
mov ebx, eax
movzx eax, byte [ebp - 0x175]
call fcn.004d0de0
cmp ebx, eax
je 0x4d1318
call fcn.004bd7fc
sub al, 2
jae 0x4d131f
call fcn.00405100
jmp 0x4d135b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d133f
mov eax, dword [ebp - 0x188]
call fcn.0040b75c
ret
inc dword [ebp - 0x180]
dec dword [ebp - 0x190]
jne 0x4d0e9a
mov dword [ebp - 0x17c], 0xfffffffe
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d139e
lea eax, [ebp - 0x1b4]
mov edx, 9
call fcn.00405700
lea eax, [ebp - 0x170]
mov edx, dword [0x4090e4]
call fcn.0040656c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405700
ret