Function at 0x4d14cc
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x12], cl
mov byte [ebp - 0x11], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405b5c
xor eax, eax
push ebp
push 0x4d17dc
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x19], 1
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.0040a1c4
mov eax, dword [ebp - 0x28]
mov edx, 0x4d17f4
call fcn.00405b04
jne 0x4d1554
movzx eax, byte [ebp - 0x11]
mov byte [0x4f92c5], al
mov eax, 0x4f92c8
mov edx, 0x4d17f4
call fcn.00405730
cmp byte [0x4f92c4], 0
je 0x4d17b4
mov bl, 1
jmp 0x4d17b4
cmp byte [0x4f92c4], 0
je 0x4d157f
movzx eax, byte [ebp - 0x11]
cmp al, byte [0x4f92c5]
jne 0x4d157f
mov eax, dword [0x4f92c8]
mov edx, dword [ebp - 4]
call fcn.00405b04
jne 0x4d157f
mov bl, 1
jmp 0x4d17b4
call fcn.004d076c
test al, al
je 0x4d17b4
xor eax, eax
push ebp
push 0x4d17a9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
call fcn.004d08ac
test al, al
jne 0x4d15b0
call fcn.00405100
jmp 0x4d17b4
lea eax, [ebp - 0x20]
push eax
movzx ecx, byte [ebp - 0x11]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
call fcn.004d0df0
test eax, eax
jge 0x4d172d
cmp byte [ebp - 0x12], 0
je 0x4d1723
cmp byte [0x4f92c4], 0
je 0x4d16e1
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4d16da
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x42add8]
call fcn.0042af54
mov dword [ebp - 0x24], eax
cmp byte [ebp - 0x11], 0
je 0x4d162f
call fcn.004bd7fc
sub al, 2
jb 0x4d162f
mov edx, 0x80000002
mov eax, dword [ebp - 0x24]
call fcn.0042b000
lea eax, [ebp - 0xc]
mov edx, 0x4d1804
call fcn.00405774
jmp 0x4d1649
mov edx, 0x80000001
mov eax, dword [ebp - 0x24]
call fcn.0042b000
lea eax, [ebp - 0xc]
mov edx, 0x4d181c
call fcn.00405774
xor ecx, ecx
mov edx, 0x4d1830
mov eax, dword [ebp - 0x24]
call fcn.0042b070
test al, al
je 0x4d16c0
lea eax, [ebp - 8]
call fcn.004056dc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
call fcn.0042b938
test al, al
je 0x4d1681
lea ecx, [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
call fcn.0042b730
cmp dword [ebp - 8], 0
je 0x4d16b2
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.004bdcb8
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 8]
call fcn.00405774
mov eax, dword [ebp - 8]
call fcn.0040b460
test al, al
jne 0x4d16b6
mov byte [ebp - 0x19], 0
jmp 0x4d16b6
mov byte [ebp - 0x19], 0
mov eax, dword [ebp - 0x24]
call fcn.0042afcc
jmp 0x4d16c4
mov byte [ebp - 0x19], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d172d
mov eax, dword [ebp - 0x24]
call fcn.004047a0
ret
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
movzx eax, byte [ebp - 0x11]
call fcn.004d0de0
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
lea edx, [ebp - 0x3c]
mov ecx, 1
mov eax, 0x4d187c
call fcn.0040bbec
mov eax, dword [ebp - 0x10]
call fcn.004d1454
test al, al
jne 0x4d172d
mov byte [ebp - 0x19], 0
jmp 0x4d172d
call fcn.00405100
jmp 0x4d17b4
cmp byte [0x4f92c4], 0
je 0x4d174e
movzx eax, byte [ebp - 0x11]
mov byte [0x4f92c5], al
mov eax, 0x4f92c8
mov edx, dword [ebp - 4]
call fcn.00405730
jmp 0x4d178e
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
movzx eax, byte [ebp - 0x11]
call fcn.004d0de0
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0
lea edx, [ebp - 0x3c]
mov ecx, 1
mov eax, 0x4d189c
call fcn.0040bbec
mov eax, dword [ebp - 0x10]
call fcn.004d1454
test al, al
jne 0x4d178e
mov byte [ebp - 0x19], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d17b0
call fcn.004d07e4
mov eax, dword [ebp - 0x18]
call fcn.004047a0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d17e3
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00405700
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405700
ret