Function at 0x443470
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x466afc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov al, byte [esp + 0x20]
push ebx
push ebp
mov ebp, ecx
push esi
mov esi, dword [esp + 0x28]
lea edx, [ebp + 8]
mov dword [ebp + 4], 1
push edi
xor ebx, ebx
mov byte [edx], al
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov dword [edx + 4], ebx
mov dword [edx + 8], ebx
mov dword [edx + 0xc], ebx
mov dword [esp + 0x10], ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
mov ecx, edx
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push 0x488818
push esi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.MSVCRT.dll__mbsstr]
mov edi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
add esp, 8
mov dword [ebp + 0x18], vtable.CBaldorMutex.0
push eax
push ebx
push ebx
call edi
mov dword [ebp + 0x1c], eax
lea esi, [ebp + 0x80]
push ebx
push ebx
push ebx
mov dword [esp + 0x20], esi
mov dword [esi + 8], vtable.CBaldorMutex.0
call edi
mov dword [esi + 0xc], eax
push ebx
push ebx
push ebx
mov dword [esi + 0x10], vtable.CBaldorMutex.0
call edi
mov dword [esi + 0x14], eax
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push 1
push 1
push ebx
mov dword [esi + 0x18], vtable.CBaldorEvent.0
call edi
mov dword [esi + 0x1c], eax
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x20], vtable.CBaldorEvent.0
call edi
mov dword [esi + 0x24], eax
mov byte [esp + 0x24], 5
mov dword [esi], vtable.CCircularBuffer_unsigned_char_.0
mov byte [esi + 4], 1
mov dword [esi + 0x38], ebx
mov dword [esi + 0x34], ebx
xor ecx, ecx
mov eax, 1
mov dword [esp + 0x2c], 0x20
mov edx, eax
add eax, eax
shr edx, 9
and edx, 1
add ecx, edx
mov edx, dword [esp + 0x2c]
dec edx
mov dword [esp + 0x2c], edx
jne 0x443564
cmp ecx, 1
je 0x443585
mov dword [esi + 0x2c], ebx
jmp 0x44359c
push 0x200
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 0x1ff
mov eax, dword [esp + 0x30]
mov dword [ebp + 0xd4], eax
lea eax, [ebp + 0xdc]
mov dword [esp + 0x14], eax
lea esi, [eax + 4]
mov dword [esi], ebx
lea ecx, [esp + 0x18]
lea edx, [esp + 0x2c]
push ecx
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareBaldorErrors
push SysReAllocString
mov byte [esp + 0x48], 7
mov dword [eax], vtable.CUSBErrors.0
mov dword [esp + 0x50], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x4435f8
mov ecx, esi
call fcn.00447250
mov eax, dword [esp + 0x2c]
mov dword [esi], eax
push ebx
push ebx
or eax, 0xffffffff
push ebx
push ebx
mov dword [ebp], vtable.CUSBControllerListItem.0
mov dword [ebp + 0x24], eax
mov dword [ebp + 0x20], eax
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [ebp + 0xc0], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [ebp + 0xc4], eax
call edi
push ebx
push ebx
push 1
push ebx
mov dword [ebp + 0xc8], eax
call edi
push ebx
push ebx
push ebx
push ebx
mov dword [ebp + 0xcc], eax
call edi
push ebx
push ebx
push ebp
push 0x4467e0
push ebx
push ebx
mov dword [ebp + 0xd0], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 2
push eax
mov dword [ebp + 0xbc], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
cmp dword [esp + 0x30], ebx
je 0x44367b
mov byte [ebp + 0xd9], 1
mov byte [ebp + 0xd8], 1
jmp 0x443689
mov al, 0xff
mov byte [ebp + 0xd9], al
mov byte [ebp + 0xd8], al
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8