Function at 0x46f858
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x16
push 0
push 0
dec ecx
jne 0x46f860
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x46fe33
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x421568]
call fcn.00421668
mov ebx, eax
mov dl, 1
mov eax, dword [0x417834]
call fcn.00404620
mov dword [ebp - 0x18], eax
mov dl, 1
mov eax, dword [0x417834]
call fcn.00404620
mov esi, eax
mov edx, 0x80000002
mov eax, ebx
call fcn.00421744
xor ecx, ecx
mov edx, 0x46fe4c
mov eax, ebx
call fcn.00421888
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.00421e44
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x46f982
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 0x46fe84
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.0042200c
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.0040a68c
push dword [ebp - 0x38]
push 0x46fe84
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.0042200c
push dword [ebp - 0x44]
push 0x46fe84
push 0x46fe90
push 0x46fe4c
push 0x46fe84
push 0x46fea0
push 0x46feac
lea eax, [ebp - 4]
mov edx, 0xc
call fcn.004058e0
inc dword [ebp - 0x1c]
dec dword [ebp - 0x30]
jne 0x46f8e6
mov eax, ebx
call fcn.00421714
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, 0x80000001
mov eax, ebx
call fcn.00421744
xor ecx, ecx
mov edx, 0x46fe4c
mov eax, ebx
call fcn.00421888
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.00421e44
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x46fa6d
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 0x46fe84
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.0042200c
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.0040a68c
push dword [ebp - 0x50]
push 0x46fe84
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.0042200c
push dword [ebp - 0x5c]
push 0x46fe84
push 0x46feb8
push 0x46fe4c
push 0x46fe84
push 0x46fea0
push 0x46feac
lea eax, [ebp - 8]
mov edx, 0xc
call fcn.004058e0
inc dword [ebp - 0x1c]
dec dword [ebp - 0x30]
jne 0x46f9d1
mov eax, ebx
call fcn.00421714
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, 0x80000002
mov eax, ebx
call fcn.00421744
xor ecx, ecx
mov edx, 0x46fec8
mov eax, ebx
call fcn.00421888
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.00421d7c
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x46fc26
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], 0
mov eax, ebx
call fcn.00421714
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, 0x46ff04
call fcn.00405864
mov edx, dword [ebp - 0x64]
mov cl, 1
mov eax, ebx
call fcn.00421888
mov edx, esi
mov eax, ebx
call fcn.00421e44
mov edx, 0x46ff44
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x20], eax
mov edx, 0x46ff54
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x24], eax
mov edx, 0x46ff64
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x28], eax
mov edx, 0x46ff70
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x46fc1a
cmp dword [ebp - 0x24], 0xffffffff
je 0x46fc1a
cmp dword [ebp - 0x28], 0xffffffff
je 0x46fc1a
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 0x46fe84
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.0042200c
push dword [ebp - 0x70]
push 0x46fe84
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.0042200c
push dword [ebp - 0x78]
push 0x46fe84
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.0042200c
push dword [ebp - 0x80]
push 0x46ff80
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.0042200c
push dword [ebp - 0x88]
push 0x46fe84
push 0x46ff8c
push 0x46feac
lea eax, [ebp - 0xc]
mov edx, 0xd
call fcn.004058e0
inc dword [ebp - 0x1c]
dec dword [ebp - 0x30]
jne 0x46fabc
mov eax, ebx
call fcn.00421714
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.00421744
xor ecx, ecx
mov edx, 0x46ff98
mov eax, ebx
call fcn.00421888
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.00421d7c
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x46fdd9
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], 0
mov eax, ebx
call fcn.00421714
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, 0x46ffd8
call fcn.00405864
mov edx, dword [ebp - 0x90]
mov cl, 1
mov eax, ebx
call fcn.00421888
mov edx, esi
mov eax, ebx
call fcn.00421e44
mov edx, 0x46ff44
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x20], eax
mov edx, 0x46ff54
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x24], eax
mov edx, 0x470018
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x46fdcd
cmp dword [ebp - 0x24], 0xffffffff
je 0x46fdcd
cmp dword [ebp - 0x28], 0xffffffff
je 0x46fdcd
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 0x46fe84
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.0042200c
push dword [ebp - 0x9c]
push 0x46fe84
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.0042200c
push dword [ebp - 0xa4]
push 0x46fe84
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.0042200c
push dword [ebp - 0xac]
push 0x46fe84
push 0x46ff8c
push 0x46feac
lea eax, [ebp - 0x10]
mov edx, 0xb
call fcn.004058e0
inc dword [ebp - 0x1c]
dec dword [ebp - 0x30]
jne 0x46fc7c
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 0x46fe3a
lea eax, [ebp - 0xb0]
mov edx, 0x20
call fcn.00405554
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405554
ret