Function at 0x46f8a0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x16
push 0
push 0
dec ecx
jne 0x46f8a8
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x46fe7b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4215e0]
call fcn.004216e0
mov ebx, eax
mov dl, 1
mov eax, dword [0x41783c]
call fcn.00404620
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [0x41783c]
call fcn.00404620
mov esi, eax
mov edx, 0x80000002
mov eax, ebx
call fcn.004217bc
xor ecx, ecx
mov edx, 0x46fe94
mov eax, ebx
call fcn.00421900
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.00421ebc
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x46f9ca
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], 0
push dword [ebp - 4]
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x34]
push 0x46fecc
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x3c]
mov eax, ebx
call fcn.00422084
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.0040a694
push dword [ebp - 0x38]
push 0x46fecc
lea ecx, [ebp - 0x48]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x48]
lea ecx, [ebp - 0x44]
mov eax, ebx
call fcn.00422084
push dword [ebp - 0x44]
push 0x46fecc
push 0x46fed8
push 0x46fe94
push 0x46fecc
push 0x46fee8
push 0x46fef4
lea eax, [ebp - 4]
mov edx, 0xc
call fcn.004058e0
inc dword [ebp - 0x1c]
dec dword [ebp - 0x30]
jne 0x46f92e
mov eax, ebx
call fcn.0042178c
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, 0x80000001
mov eax, ebx
call fcn.004217bc
xor ecx, ecx
mov edx, 0x46fe94
mov eax, ebx
call fcn.00421900
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.00421ebc
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x46fab5
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], 0
push dword [ebp - 8]
lea ecx, [ebp - 0x4c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x4c]
push 0x46fecc
lea ecx, [ebp - 0x58]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x54]
mov eax, ebx
call fcn.00422084
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.0040a694
push dword [ebp - 0x50]
push 0x46fecc
lea ecx, [ebp - 0x60]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x60]
lea ecx, [ebp - 0x5c]
mov eax, ebx
call fcn.00422084
push dword [ebp - 0x5c]
push 0x46fecc
push 0x46ff00
push 0x46fe94
push 0x46fecc
push 0x46fee8
push 0x46fef4
lea eax, [ebp - 8]
mov edx, 0xc
call fcn.004058e0
inc dword [ebp - 0x1c]
dec dword [ebp - 0x30]
jne 0x46fa19
mov eax, ebx
call fcn.0042178c
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, 0x80000002
mov eax, ebx
call fcn.004217bc
xor ecx, ecx
mov edx, 0x46ff10
mov eax, ebx
call fcn.00421900
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.00421df4
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x46fc6e
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], 0
mov eax, ebx
call fcn.0042178c
lea ecx, [ebp - 0x68]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
mov edx, 0x46ff4c
call fcn.00405864
mov edx, dword [ebp - 0x64]
mov cl, 1
mov eax, ebx
call fcn.00421900
mov edx, esi
mov eax, ebx
call fcn.00421ebc
mov edx, 0x46ff8c
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x20], eax
mov edx, 0x46ff9c
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x24], eax
mov edx, 0x46ffac
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x28], eax
mov edx, 0x46ffb8
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x46fc62
cmp dword [ebp - 0x24], 0xffffffff
je 0x46fc62
cmp dword [ebp - 0x28], 0xffffffff
je 0x46fc62
push dword [ebp - 0xc]
lea ecx, [ebp - 0x6c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x6c]
push 0x46fecc
lea ecx, [ebp - 0x74]
mov edx, dword [ebp - 0x24]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x74]
lea ecx, [ebp - 0x70]
mov eax, ebx
call fcn.00422084
push dword [ebp - 0x70]
push 0x46fecc
lea ecx, [ebp - 0x7c]
mov edx, dword [ebp - 0x20]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x7c]
lea ecx, [ebp - 0x78]
mov eax, ebx
call fcn.00422084
push dword [ebp - 0x78]
push 0x46fecc
lea ecx, [ebp - 0x84]
mov edx, dword [ebp - 0x2c]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x84]
lea ecx, [ebp - 0x80]
mov eax, ebx
call fcn.00422084
push dword [ebp - 0x80]
push 0x46ffc8
lea ecx, [ebp - 0x8c]
mov edx, dword [ebp - 0x28]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x88]
mov eax, ebx
call fcn.00422084
push dword [ebp - 0x88]
push 0x46fecc
push 0x46ffd4
push 0x46fef4
lea eax, [ebp - 0xc]
mov edx, 0xd
call fcn.004058e0
inc dword [ebp - 0x1c]
dec dword [ebp - 0x30]
jne 0x46fb04
mov eax, ebx
call fcn.0042178c
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, 0x80000002
mov eax, ebx
call fcn.004217bc
xor ecx, ecx
mov edx, 0x46ffe0
mov eax, ebx
call fcn.00421900
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.00421df4
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x46fe21
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], 0
mov eax, ebx
call fcn.0042178c
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x94]
lea eax, [ebp - 0x90]
mov edx, 0x470020
call fcn.00405864
mov edx, dword [ebp - 0x90]
mov cl, 1
mov eax, ebx
call fcn.00421900
mov edx, esi
mov eax, ebx
call fcn.00421ebc
mov edx, 0x46ff8c
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x20], eax
mov edx, 0x46ff9c
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x24], eax
mov edx, 0x470060
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x46fe15
cmp dword [ebp - 0x24], 0xffffffff
je 0x46fe15
cmp dword [ebp - 0x28], 0xffffffff
je 0x46fe15
push dword [ebp - 0x10]
lea ecx, [ebp - 0x98]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
push dword [ebp - 0x98]
push 0x46fecc
lea ecx, [ebp - 0xa0]
mov edx, dword [ebp - 0x24]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0xa0]
lea ecx, [ebp - 0x9c]
mov eax, ebx
call fcn.00422084
push dword [ebp - 0x9c]
push 0x46fecc
lea ecx, [ebp - 0xa8]
mov edx, dword [ebp - 0x20]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0xa8]
lea ecx, [ebp - 0xa4]
mov eax, ebx
call fcn.00422084
push dword [ebp - 0xa4]
push 0x46fecc
lea ecx, [ebp - 0xb0]
mov edx, dword [ebp - 0x28]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0xb0]
lea ecx, [ebp - 0xac]
mov eax, ebx
call fcn.00422084
push dword [ebp - 0xac]
push 0x46fecc
push 0x46ffd4
push 0x46fef4
lea eax, [ebp - 0x10]
mov edx, 0xb
call fcn.004058e0
inc dword [ebp - 0x1c]
dec dword [ebp - 0x30]
jne 0x46fcc4
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov edx, 4
call fcn.004058e0
mov eax, dword [ebp - 0x18]
call fcn.00404650
mov eax, esi
call fcn.00404650
mov eax, ebx
call fcn.00404650
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fe82
lea eax, [ebp - 0xb0]
mov edx, 0x20
call fcn.00405554
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405554
ret