Function at 0x46f744
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x16
push 0
push 0
dec ecx
jne 0x46f74c
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x46fd1f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4215c4]
call fcn.004216c4
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.004217a0
xor ecx, ecx
mov edx, 0x46fd38
mov eax, ebx
call fcn.004218e4
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.00421ea0
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x46f86e
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 0x46fd70
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.00422068
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.0040a68c
push dword [ebp - 0x38]
push 0x46fd70
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.00422068
push dword [ebp - 0x44]
push 0x46fd70
push 0x46fd7c
push 0x46fd38
push 0x46fd70
push 0x46fd8c
push 0x46fd98
lea eax, [ebp - 4]
mov edx, 0xc
call fcn.004058e0
inc dword [ebp - 0x1c]
dec dword [ebp - 0x30]
jne 0x46f7d2
mov eax, ebx
call fcn.00421770
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, 0x80000001
mov eax, ebx
call fcn.004217a0
xor ecx, ecx
mov edx, 0x46fd38
mov eax, ebx
call fcn.004218e4
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.00421ea0
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x46f959
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 0x46fd70
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.00422068
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x50]
call fcn.0040a68c
push dword [ebp - 0x50]
push 0x46fd70
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.00422068
push dword [ebp - 0x5c]
push 0x46fd70
push 0x46fda4
push 0x46fd38
push 0x46fd70
push 0x46fd8c
push 0x46fd98
lea eax, [ebp - 8]
mov edx, 0xc
call fcn.004058e0
inc dword [ebp - 0x1c]
dec dword [ebp - 0x30]
jne 0x46f8bd
mov eax, ebx
call fcn.00421770
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, 0x80000002
mov eax, ebx
call fcn.004217a0
xor ecx, ecx
mov edx, 0x46fdb4
mov eax, ebx
call fcn.004218e4
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.00421dd8
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x46fb12
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], 0
mov eax, ebx
call fcn.00421770
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, 0x46fdf0
call fcn.00405864
mov edx, dword [ebp - 0x64]
mov cl, 1
mov eax, ebx
call fcn.004218e4
mov edx, esi
mov eax, ebx
call fcn.00421ea0
mov edx, 0x46fe30
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x20], eax
mov edx, 0x46fe40
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x24], eax
mov edx, 0x46fe50
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x28], eax
mov edx, 0x46fe5c
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x46fb06
cmp dword [ebp - 0x24], 0xffffffff
je 0x46fb06
cmp dword [ebp - 0x28], 0xffffffff
je 0x46fb06
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 0x46fd70
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.00422068
push dword [ebp - 0x70]
push 0x46fd70
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.00422068
push dword [ebp - 0x78]
push 0x46fd70
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.00422068
push dword [ebp - 0x80]
push 0x46fe6c
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.00422068
push dword [ebp - 0x88]
push 0x46fd70
push 0x46fe78
push 0x46fd98
lea eax, [ebp - 0xc]
mov edx, 0xd
call fcn.004058e0
inc dword [ebp - 0x1c]
dec dword [ebp - 0x30]
jne 0x46f9a8
mov eax, ebx
call fcn.00421770
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.004217a0
xor ecx, ecx
mov edx, 0x46fe84
mov eax, ebx
call fcn.004218e4
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.00421dd8
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x46fcc5
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x1c], 0
mov eax, ebx
call fcn.00421770
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, 0x46fec4
call fcn.00405864
mov edx, dword [ebp - 0x90]
mov cl, 1
mov eax, ebx
call fcn.004218e4
mov edx, esi
mov eax, ebx
call fcn.00421ea0
mov edx, 0x46fe30
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x20], eax
mov edx, 0x46fe40
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x24], eax
mov edx, 0x46ff04
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x46fcb9
cmp dword [ebp - 0x24], 0xffffffff
je 0x46fcb9
cmp dword [ebp - 0x28], 0xffffffff
je 0x46fcb9
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 0x46fd70
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.00422068
push dword [ebp - 0x9c]
push 0x46fd70
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.00422068
push dword [ebp - 0xa4]
push 0x46fd70
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.00422068
push dword [ebp - 0xac]
push 0x46fd70
push 0x46fe78
push 0x46fd98
lea eax, [ebp - 0x10]
mov edx, 0xb
call fcn.004058e0
inc dword [ebp - 0x1c]
dec dword [ebp - 0x30]
jne 0x46fb68
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 0x46fd26
lea eax, [ebp - 0xb0]
mov edx, 0x20
call fcn.00405554
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405554
ret