Function at 0x46ab80
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec579
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x572734]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CPCUOnlineWebServices.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], vtable.CPCUOnlineWebServices.1.0
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.004459a0
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.00476dc0
jmp 0x46abec
push 0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00470b70
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.0046a8f0
push eax
lea ecx, [ebp - 0x1c]
call fcn.004a6fd0
movzx edx, al
test edx, edx
je 0x46ace1
lea ecx, [ebp - 0x1c]
call fcn.0046a3f0
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x46acdc
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x40], 0
je 0x46acad
mov dword [ebp - 0x50], 0x64
push 0x64
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x40]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x46ac73
push 0xffffffffffffffff
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x40]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x64
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x40]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x40]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
je 0x46ac9c
push 1
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 0x34], eax
jmp 0x46aca3
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x40], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0
je 0x46acce
push 1
mov ecx, dword [ebp - 0x2c]
call fcn.00470bb0
mov dword [ebp - 0x3c], eax
jmp 0x46acd5
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x14], 0
jmp 0x46abde
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.00470de0
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.004459d0
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.004459a0
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.00476dc0
jmp 0x46ad21
push 0
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00470b70
lea edx, [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.0046a8f0
push eax
lea ecx, [ebp - 0x24]
call fcn.004a6fd0
movzx eax, al
test eax, eax
je 0x46adcb
lea ecx, [ebp - 0x24]
call fcn.0046a3f0
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x46adc6
mov dword [ebp - 0x5c], 0x64
push 0x64
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x46ad92
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x64
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x46adb8
push 1
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x44], eax
jmp 0x46adbf
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x18], 0
jmp 0x46ad13
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.00470de0
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.004459d0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.00445960
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.00445960
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.004a0b40
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.004a0b40
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00497870
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.00470ad0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret