Function at 0x46f830
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x638139
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x721970]
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.0044a170
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.00475e70
jmp 0x46f89c
push 0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0046f0f0
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.00408a50
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406bf0
movzx edx, al
test edx, edx
je 0x46f991
lea ecx, [ebp - 0x1c]
call fcn.00475cf0
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x46f98c
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x40], 0
je 0x46f95d
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 0x46f923
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 0x46f94c
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 0x46f953
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 0x46f97e
push 1
mov ecx, dword [ebp - 0x2c]
call fcn.00475d10
mov dword [ebp - 0x3c], eax
jmp 0x46f985
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x14], 0
jmp 0x46f88e
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.00475ea0
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.0044a1a0
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.0044a170
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.00475e70
jmp 0x46f9d1
push 0
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x24]
call fcn.0046f0f0
lea edx, [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.00408a50
push eax
lea ecx, [ebp - 0x24]
call fcn.00406bf0
movzx eax, al
test eax, eax
je 0x46fa7b
lea ecx, [ebp - 0x24]
call fcn.00475cf0
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0
je 0x46fa76
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 0x46fa42
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 0x46fa68
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 0x46fa6f
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x18], 0
jmp 0x46f9c3
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.00475ea0
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.0044a1a0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.0044a130
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.0044a130
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x2c
call fcn.004a68f0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.004a68f0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.0049d250
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.00475c50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret