Function at 0x4d1d50
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x4d1d59
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00405b5c
mov eax, dword [ebp - 8]
call fcn.00405b5c
mov eax, dword [ebp - 0xc]
call fcn.00405b5c
xor eax, eax
push ebp
push 0x4d218a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x31], 0
mov byte [ebp - 0x32], 1
call fcn.004d0c08
test al, al
je 0x4d2137
xor eax, eax
push ebp
push 0x4d2129
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 8]
call fcn.0040a4a8
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 8]
call fcn.00405774
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004d22bc
cmp byte [0x4fb2c4], 0
je 0x4d2043
lea edx, [ebp - 0x28]
mov eax, dword [0x4f55bc]
call fcn.004a9494
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov ecx, 0x4d21a0
call fcn.00407560
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x28]
mov ecx, 0x4d21b0
call fcn.00407560
mov eax, dword [ebp - 4]
call fcn.00405b6c
mov esi, eax
push esi
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
cmp dword [ebp - 8], 0
je 0x4d1e41
mov eax, dword [ebp - 8]
call fcn.00405b6c
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.0040b1e4
mov eax, dword [ebp - 0x40]
call fcn.00405b6c
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
mov eax, dword [ebp + 0xc]
push eax
push esi
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [eax]
call dword [eax + 0x44]
xor eax, eax
mov dword [ebp - 0x38], eax
xor eax, eax
push ebp
push 0x4d203c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x42add8]
call fcn.0042af54
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4fb2c8]
call fcn.00405774
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x10]
call fcn.0040a1c4
mov eax, dword [ebp - 0x44]
mov edx, 0x4d21c8
call fcn.00405b04
jne 0x4d1ec0
mov bl, 1
lea eax, [ebp - 0x10]
call fcn.004056dc
mov edx, dword [ebp - 0xc]
mov eax, 0x4d21d8
call fcn.00405cb8
test eax, eax
jne 0x4d1fef
test bl, bl
je 0x4d1efd
mov edx, 0x80000001
mov eax, dword [ebp - 0x38]
call fcn.0042b000
lea eax, [ebp - 0x18]
mov edx, 0x4d21e4
call fcn.00405774
lea eax, [ebp - 0x10]
call fcn.004056dc
jmp 0x4d1f45
cmp byte [0x4fb2c5], 0
je 0x4d1f2b
call fcn.004bd828
sub al, 2
jb 0x4d1f2b
mov edx, 0x80000002
mov eax, dword [ebp - 0x38]
call fcn.0042b000
lea eax, [ebp - 0x18]
mov edx, 0x4d21f4
call fcn.00405774
jmp 0x4d1f45
mov edx, 0x80000001
mov eax, dword [ebp - 0x38]
call fcn.0042b000
lea eax, [ebp - 0x18]
mov edx, 0x4d220c
call fcn.00405774
xor ecx, ecx
mov edx, 0x4d2220
mov eax, dword [ebp - 0x38]
call fcn.0042b070
test al, al
je 0x4d2026
lea eax, [ebp - 0x14]
call fcn.004056dc
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x38]
call fcn.0042b938
test al, al
je 0x4d1f81
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x38]
call fcn.0042b730
cmp dword [ebp - 0x14], 0
je 0x4d1fe5
lea ecx, [ebp - 0x48]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.004bdd24
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0x14]
call fcn.00405774
lea ecx, [ebp - 0x50]
mov edx, 0x4d226c
mov eax, dword [ebp - 0xc]
call fcn.0040b150
mov edx, dword [ebp - 0x50]
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x14]
call fcn.004bdd24
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x24]
call fcn.004060a8
push 0
mov eax, dword [ebp - 0x24]
call fcn.004060b8
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
test eax, eax
je 0x4d1fe5
mov byte [ebp - 0x32], 0
mov eax, dword [ebp - 0x38]
call fcn.0042afcc
jmp 0x4d2026
lea ecx, [ebp - 0x54]
mov edx, 0x4d226c
mov eax, dword [ebp - 0xc]
call fcn.0040b150
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x24]
call fcn.004060a8
push 0
mov eax, dword [ebp - 0x24]
call fcn.004060b8
push eax
mov eax, dword [ebp - 0x30]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
test eax, eax
je 0x4d2026
mov byte [ebp - 0x32], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2116
mov eax, dword [ebp - 0x38]
call fcn.004047a0
ret
cmp dword [ebp - 8], 0
je 0x4d2084
mov edx, dword [ebp - 8]
mov eax, 0x4d227c
call fcn.00405cb8
test eax, eax
je 0x4d2074
push 0x4d2288
push dword [ebp - 8]
push 0x4d2288
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405a70
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, 0x4d227c
call fcn.004059f4
test bl, bl
jne 0x4d2112
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004bfc6c
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x74], eax
mov byte [ebp - 0x70], 0xb
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 4]
call fcn.0040b218
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
lea edx, [ebp - 0x84]
mov ecx, 5
mov eax, 0x4d2294
call fcn.0040bbec
mov eax, dword [ebp - 0x1c]
call fcn.004d18f0
test al, al
jne 0x4d2116
mov byte [ebp - 0x32], 0
jmp 0x4d2116
mov byte [ebp - 0x32], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2130
call fcn.004d0c80
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2191
lea eax, [ebp - 0x88]
call fcn.004056dc
lea eax, [ebp - 0x54]
mov edx, 7
call fcn.00405700
lea eax, [ebp - 0x30]
call fcn.0040751c
lea eax, [ebp - 0x2c]
call fcn.0040751c
lea eax, [ebp - 0x28]
call fcn.0040751c
lea eax, [ebp - 0x24]
call fcn.00405ee4
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.00405700
ret