Function at 0x473960
Capabilities:
Hash data using sha1
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500b45
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5522c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx], vtable.CInstallControl.0
mov dword [ebp - 4], 0xc
mov eax, dword [ebx + 0x74]
push eax
mov dword [ebx + 0x78], 1
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebx + 0x70]
push 0x2710
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4739cb
mov edx, dword [ebx + 0x70]
push 1
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebx + 0x74]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
cmp eax, esi
je 0x4739e0
push eax
call edi
mov dword [ebx + 0x74], esi
mov eax, dword [ebx + 0x70]
cmp eax, esi
je 0x4739ed
push eax
call edi
mov dword [ebx + 0x70], esi
mov eax, dword [ebx + 0xc]
cmp eax, esi
je 0x4739fa
push eax
call edi
mov dword [ebx + 0xc], esi
mov eax, dword [ebx + 8]
cmp eax, esi
je 0x473a07
push eax
call edi
mov dword [ebx + 8], esi
mov eax, dword [ebx + 0x4c]
cmp eax, esi
je 0x473a18
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebx + 0x4c], esi
mov eax, dword [ebx + 0x7c]
cmp eax, esi
je 0x473a25
push eax
call edi
mov dword [ebx + 0x7c], esi
mov byte [ebp - 4], 0xb
mov eax, dword [ebx + 0x1b4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x473a4b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebx + 0x1a4]
cmp eax, esi
je 0x473a6f
mov edi, dword [ebx + 0x1a8]
call fcn.0048d8d0
mov eax, dword [ebx + 0x1a4]
push eax
call fcn.004e4e21
add esp, 4
mov dword [ebx + 0x1a4], esi
mov dword [ebx + 0x1a8], esi
mov dword [ebx + 0x1ac], esi
mov dword [ebx + 0xd0], vtable.CLogEncryption.0
mov dword [ebx + method.CRSA.virtual_0], vtable.CRSA.0
mov dword [ebx + method.CBase64.virtual_0], vtable.CBase64.0
mov dword [ebx + 0xd4], 0x67452301
mov dword [ebx + 0xd8], 0xefcdab89
mov dword [ebx + 0xdc], 0x98badcfe
mov dword [ebx + 0xe0], 0x10325476
mov dword [ebx + 0xe4], 0xc3d2e1f0
mov dword [ebx + 0xe8], esi
mov dword [ebx + 0xec], esi
mov eax, dword [ebx + 0xb8]
cmp eax, esi
je 0x473af0
push eax
call fcn.004e4e21
add esp, 4
mov dword [ebx + 0xb8], esi
mov dword [ebx + 0xbc], esi
mov dword [ebx + 0xc0], esi
mov byte [ebp - 4], 7
mov eax, dword [ebx + 0xb4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x473b28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebx + 0x98]
push ecx
mov dword [ebx + 0xb0], vtable.CSHManage.0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea esi, [ebx + 0x80]
call fcn.0048d750
mov eax, dword [esi]
push eax
call fcn.004e4e21
mov dword [esi], 0
mov byte [ebp - 4], 3
mov eax, dword [ebx + 0x68]
sub eax, 0x10
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x473b7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebx + 0x64]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x473ba1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebx + 0x5c]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x473bc4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebx + 0x58]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x473be7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebx + 0x54]
sub ebx, 0x10
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x473c0d
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret