Function at 0x455ee0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x593d9d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x62d414]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x24], str.pxpil::CDevLink::StartScanning
push str..DevLink.cpp
push 0xee7
push str.pxpil::CDevLink::StartScanning
mov ecx, dword [0x63dd80]
call fcn.0041ac10
mov byte [ebp - 0x11], 0
cmp byte [esi + 0x58], 0
je 0x455fc4
lea eax, [ebp - 0x5c]
push eax
mov ecx, esi
call fcn.00405e90
mov dword [ebp - 4], 0
cmp dword [eax + 0x18], 8
jb 0x455f5c
mov ecx, dword [eax + 4]
jmp 0x455f5f
lea ecx, [eax + 4]
mov eax, dword [0x63dd80]
mov edx, dword [eax]
push ecx
push str.__ls__already_scanning.
push str.pxpil::CDevLink::StartScanning
push 3
push eax
mov eax, dword [edx]
call eax
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ebx, 1
push ebx
push 0x5e2de8
push str..DevLink.cpp
push 0xeef
push str.pxpil::CDevLink::StartScanning
mov ecx, dword [0x63dd80]
call fcn.0041aca0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, 1
mov dword [esi + 0x20], ebx
xor edi, edi
mov dword [ebp - 0x1c], edi
push 0x44c5f0
call dword [sym.imp.MSVCR90.dll_void____cdecl___unsigned_int__struct__EXCEPTION_POINTERS_____cdecl__set_se_translator_void____cdecl___unsigned_int__struct__EXCEPTION_POINTERS___]
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], ebx
push str.pxpil::CDevLink::StartScanning
push edi
lea ecx, [esi + 8]
call fcn.00460770
cmp byte [esi + 0x54], 0
je 0x456178
cmp byte [esi + 0x58], 0
jne 0x456178
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x7c], eax
cmp eax, edi
jne 0x456070
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, esi
call fcn.00405e90
mov byte [ebp - 4], 2
cmp dword [eax + 0x18], 8
jb 0x456032
mov eax, dword [eax + 4]
jmp 0x456035
add eax, 4
mov edx, dword [0x63dd80]
mov edi, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_occurred_creating_scan_kill_event_for___ls_.
push str.pxpil::CDevLink::StartScanning
push ebx
mov eax, dword [0x63dd80]
push eax
mov ecx, dword [edi]
call ecx
add esp, 0x18
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor edi, edi
jmp 0x456178
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
mov dword [esi + 0x84], eax
cmp eax, edi
jne 0x4560e4
lea edx, [ebp - 0x5c]
push edx
mov ecx, esi
call fcn.00405e90
mov byte [ebp - 4], 3
cmp dword [eax + 0x18], 8
jb 0x45609d
mov eax, dword [eax + 4]
jmp 0x4560a0
add eax, 4
mov ecx, dword [0x63dd80]
mov edi, dword [ecx]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_occurred_creating_scan_timer_for___ls_.
push str.pxpil::CDevLink::StartScanning
push ebx
mov edx, dword [0x63dd80]
push edx
mov eax, dword [edi]
call eax
add esp, 0x18
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esi + 0x7c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x456169
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
push edi
push edi
push edi
push 5
lea edx, [ebp - 0x40]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetWaitableTimer]
test eax, eax
jne 0x4561cc
lea eax, [ebp - 0x5c]
push eax
mov ecx, esi
call fcn.00405e90
mov byte [ebp - 4], 4
cmp dword [eax + 0x18], 8
jb 0x45611c
mov eax, dword [eax + 4]
jmp 0x45611f
add eax, 4
mov ecx, dword [0x63dd80]
mov edi, dword [ecx]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_occurred_setting_scan_timer_for___ls_.
push str.pxpil::CDevLink::StartScanning
push ebx
mov edx, dword [0x63dd80]
push edx
mov eax, dword [edi]
call eax
add esp, 0x18
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esi + 0x7c]
push ecx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov edx, dword [esi + 0x84]
push edx
call edi
xor edi, edi
mov ecx, dword [esi + 0x80]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [ebp - 4], 0xffffffff
xor eax, eax
cmp eax, edi
jne 0x4562e6
cmp dword [ebp - 0x1c], ebx
jne 0x4562b3
add esi, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 0x10], eax
je 0x4562e6
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jge 0x4562e6
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x4562e6
lea eax, [esi + 0x74]
push eax
push edi
push esi
push 0x456690
push edi
push edi
call dword [sym.imp.MSVCR90.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x78], eax
cmp eax, edi
jne 0x456252
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, esi
call fcn.00405e90
mov byte [ebp - 4], 5
cmp dword [eax + 0x18], 8
jb 0x456203
mov eax, dword [eax + 4]
jmp 0x456206
add eax, 4
mov edx, dword [0x63dd80]
mov edi, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_occurred_creating_scan_thread_for___ls_.
push str.pxpil::CDevLink::StartScanning
push ebx
mov eax, dword [0x63dd80]
push eax
mov ecx, dword [edi]
call ecx
add esp, 0x18
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x5c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov edx, dword [esi + 0x7c]
push edx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov eax, dword [esi + 0x84]
push eax
jmp 0x456167
mov byte [esi + 0x58], bl
mov byte [ebp - 0x11], bl
mov eax, dword [esi + 0x104]
mov eax, dword [eax]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], eax
mov ecx, dword [esi + 0xec]
mov dword [ebp - 0x30], ecx
nop
mov eax, dword [esi + 0x104]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], eax
mov edx, dword [esi + 0xec]
mov dword [ebp - 0x38], edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x30]
call fcn.00412220
test al, al
je 0x45616b
lea ecx, [ebp - 0x30]
call fcn.00420f80
mov ecx, dword [eax + 0x1c]
call fcn.00455ee0
lea ecx, [ebp - 0x30]
call fcn.0047dfe0
jmp 0x456270
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 0x18], eax
jne 0x4562e6
mov eax, dword [esi + 0x1c]
cmp eax, ebx
jne 0x4562e2
mov ecx, dword [esi + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [esi + 0x18], 0x5a5aa5a5
mov edx, dword [esi + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x4562e6
dec eax
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.MSVCR90.dll_void____cdecl___unsigned_int__struct__EXCEPTION_POINTERS_____cdecl__set_se_translator_void____cdecl___unsigned_int__struct__EXCEPTION_POINTERS___]
add esp, 4
mov bl, byte [ebp - 0x11]
movzx ecx, bl
push ecx
push str.bRetVal
push str..DevLink.cpp
push 0xf36
mov edx, dword [ebp - 0x24]
push edx
jmp 0x455fa5