Function at 0x3ed90e4
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x3ed90ec
push ecx
xor eax, eax
push ebp
push 0x3ed93d4
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, 0x10
call fcn.03e6eab4
lea eax, [ebp - 8]
mov edx, 0x3ed93ec
call fcn.03cb8f94
mov eax, dword [ebp - 8]
mov dl, 1
call fcn.03cd2fd0
test al, al
je 0x3ed91a3
lea edx, [ebp - 0x10]
xor eax, eax
call fcn.03cb54ec
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.03e6fbf8
lea eax, [ebp - 0xc]
mov edx, 0x3ed9414
call fcn.03cb8f94
mov eax, dword [ebp - 0xc]
mov dl, 1
call fcn.03cd2fd0
test al, al
je 0x3ed91a3
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.03cb54ec
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.03e6fbf8
lea eax, [ebp - 0x14]
mov edx, 0x3ed943c
call fcn.03cb8f94
mov eax, dword [ebp - 0x14]
push eax
lea edx, [ebp - 0x1c]
mov eax, 0x10
call fcn.03e6eab4
lea eax, [ebp - 0x1c]
mov edx, 0x3ed9464
call fcn.03cb8f94
mov eax, dword [ebp - 0x1c]
pop edx
call fcn.03e6f680
mov edx, dword [0x3f2dc88]
mov edx, dword [edx]
lea eax, [ebp - 4]
mov ecx, 0x3ed948c
call fcn.03cb8fec
lea eax, [ebp - 0x28]
mov edx, dword [0x3f2e1b0]
mov edx, dword [edx]
call fcn.03cb8e78
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 4]
call fcn.03cb8fec
mov edx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
call fcn.03cb8e8c
mov ecx, dword [ebp - 0x20]
mov edx, 0x3ed94a4
mov eax, 0x80000001
call fcn.03e7884c
lea eax, [ebp - 0x34]
mov edx, dword [0x3f2e1b0]
mov edx, dword [edx]
call fcn.03cb8e78
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 4]
call fcn.03cb8fec
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
call fcn.03cb8e8c
mov ecx, dword [ebp - 0x2c]
mov edx, 0x3ed950c
mov eax, 0x80000002
call fcn.03e7884c
push 0
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x3ed9574
mov edx, 0x3ed95b0
mov eax, 0x80000001
call fcn.03e6ee30
mov eax, dword [ebp - 0x3c]
call fcn.03cb8d98
mov edx, eax
lea eax, [ebp - 0x38]
call fcn.03cb8e00
mov eax, dword [ebp - 0x38]
call fcn.03cd35e0
push 0
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [0x3f2dc88]
mov ecx, dword [ecx]
mov edx, 0x3ed95d4
mov eax, 0x80000001
call fcn.03e6ee30
mov eax, dword [ebp - 0x44]
call fcn.03cb8d98
mov edx, eax
lea eax, [ebp - 0x40]
call fcn.03cb8e00
mov eax, dword [ebp - 0x40]
call fcn.03cd35e0
mov ecx, dword [0x3f2e0c0]
mov ecx, dword [ecx]
lea eax, [ebp - 0x48]
mov edx, 0x3ed9640
call fcn.03cb8fec
mov eax, dword [ebp - 0x48]
xor edx, edx
call fcn.03e78248
mov edx, 0x3ed9674
mov eax, 0x3ed96b0
call fcn.03e778e0
mov edx, dword [0x3f2dc88]
mov edx, dword [edx]
mov eax, 0x3ed96fc
call fcn.03e778e0
lea eax, [ebp - 0x4c]
mov edx, dword [0x3f2dc88]
mov edx, dword [edx]
call fcn.03cb8e8c
mov eax, dword [ebp - 0x4c]
call fcn.03ed88cc
mov eax, dword [0x3f2df20]
mov eax, dword [eax]
xor edx, edx
call fcn.03eaf060
mov eax, dword [0x3f2dff0]
mov eax, dword [eax]
xor edx, edx
call fcn.03eaf060
mov eax, dword [0x3f2e294]
mov eax, dword [eax]
xor edx, edx
call fcn.03eaf060
mov eax, dword [0x3f2db28]
mov eax, dword [eax]
xor edx, edx
call fcn.03eaf060
mov eax, dword [0x3f2ddfc]
mov eax, dword [eax]
call fcn.03e6fa04
test al, al
jne 0x3ed933e
call fcn.03ed8d94
lea eax, [ebp - 0x50]
mov edx, dword [0x3f2dbc8]
mov ecx, pe_nt_image_headers32
call fcn.03cb8e3c
mov eax, dword [ebp - 0x50]
mov dl, 1
call fcn.03cd2fd0
test al, al
je 0x3ed937a
lea eax, [ebp - 0x54]
mov edx, dword [0x3f2dbc8]
mov ecx, pe_nt_image_headers32
call fcn.03cb8e3c
mov eax, dword [ebp - 0x54]
call fcn.03e6fa04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x3ed93db
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.03cb7eb0
lea eax, [ebp - 0x4c]
call fcn.03cb7e98
lea eax, [ebp - 0x48]
mov edx, 7
call fcn.03cb7eb0
lea eax, [ebp - 0x2c]
call fcn.03cb7e98
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.03cb7eb0
lea eax, [ebp - 0x20]
call fcn.03cb7e98
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.03cb7eb0
ret