Function at 0x46f860
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x16
push 0
push 0
dec ecx
jne 0x46f868
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x46fe3b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x421570]
call fcn.00421670
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.0042174c
xor ecx, ecx
mov edx, 0x46fe54
mov eax, ebx
call fcn.00421890
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.00421e4c
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x46f98a
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 0x46fe8c
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.00422014
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.0040a694
push dword [ebp - 0x38]
push 0x46fe8c
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.00422014
push dword [ebp - 0x44]
push 0x46fe8c
push 0x46fe98
push 0x46fe54
push 0x46fe8c
push 0x46fea8
push 0x46feb4
lea eax, [ebp - 4]
mov edx, 0xc
call fcn.004058e0
inc dword [ebp - 0x1c]
dec dword [ebp - 0x30]
jne 0x46f8ee
mov eax, ebx
call fcn.0042171c
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, 0x80000001
mov eax, ebx
call fcn.0042174c
xor ecx, ecx
mov edx, 0x46fe54
mov eax, ebx
call fcn.00421890
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.00421e4c
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x46fa75
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 0x46fe8c
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.00422014
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.0040a694
push dword [ebp - 0x50]
push 0x46fe8c
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.00422014
push dword [ebp - 0x5c]
push 0x46fe8c
push 0x46fec0
push 0x46fe54
push 0x46fe8c
push 0x46fea8
push 0x46feb4
lea eax, [ebp - 8]
mov edx, 0xc
call fcn.004058e0
inc dword [ebp - 0x1c]
dec dword [ebp - 0x30]
jne 0x46f9d9
mov eax, ebx
call fcn.0042171c
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, 0x80000002
mov eax, ebx
call fcn.0042174c
xor ecx, ecx
mov edx, 0x46fed0
mov eax, ebx
call fcn.00421890
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.00421d84
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x46fc2e
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], 0
mov eax, ebx
call fcn.0042171c
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, 0x46ff0c
call fcn.00405864
mov edx, dword [ebp - 0x64]
mov cl, 1
mov eax, ebx
call fcn.00421890
mov edx, esi
mov eax, ebx
call fcn.00421e4c
mov edx, 0x46ff4c
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x20], eax
mov edx, 0x46ff5c
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x24], eax
mov edx, 0x46ff6c
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x28], eax
mov edx, 0x46ff78
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x46fc22
cmp dword [ebp - 0x24], 0xffffffff
je 0x46fc22
cmp dword [ebp - 0x28], 0xffffffff
je 0x46fc22
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 0x46fe8c
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.00422014
push dword [ebp - 0x70]
push 0x46fe8c
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.00422014
push dword [ebp - 0x78]
push 0x46fe8c
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.00422014
push dword [ebp - 0x80]
push 0x46ff88
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.00422014
push dword [ebp - 0x88]
push 0x46fe8c
push 0x46ff94
push 0x46feb4
lea eax, [ebp - 0xc]
mov edx, 0xd
call fcn.004058e0
inc dword [ebp - 0x1c]
dec dword [ebp - 0x30]
jne 0x46fac4
mov eax, ebx
call fcn.0042171c
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.0042174c
xor ecx, ecx
mov edx, 0x46ffa0
mov eax, ebx
call fcn.00421890
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.00421d84
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x46fde1
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], 0
mov eax, ebx
call fcn.0042171c
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, 0x46ffe0
call fcn.00405864
mov edx, dword [ebp - 0x90]
mov cl, 1
mov eax, ebx
call fcn.00421890
mov edx, esi
mov eax, ebx
call fcn.00421e4c
mov edx, 0x46ff4c
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x20], eax
mov edx, 0x46ff5c
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x24], eax
mov edx, 0x470020
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x46fdd5
cmp dword [ebp - 0x24], 0xffffffff
je 0x46fdd5
cmp dword [ebp - 0x28], 0xffffffff
je 0x46fdd5
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 0x46fe8c
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.00422014
push dword [ebp - 0x9c]
push 0x46fe8c
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.00422014
push dword [ebp - 0xa4]
push 0x46fe8c
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.00422014
push dword [ebp - 0xac]
push 0x46fe8c
push 0x46ff94
push 0x46feb4
lea eax, [ebp - 0x10]
mov edx, 0xb
call fcn.004058e0
inc dword [ebp - 0x1c]
dec dword [ebp - 0x30]
jne 0x46fc84
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 0x46fe42
lea eax, [ebp - 0xb0]
mov edx, 0x20
call fcn.00405554
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405554
ret