Function at 0x445e20
Capabilities:
Create thread

Disassembly:
push ebp
lea ebp, [esp - 0x44]
sub esp, 0x44
push 0xffffffffffffffff
push 0x587c02
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x601328]
xor eax, ebp
mov dword [ebp + 0x40], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp + 8]
push eax
call fcn.004d4fd4
add esp, 4
xor edi, edi
mov ebx, 1
mov dword [ebp - 4], edi
lea esi, [edi + 7]
test byte [0x605dc4], bl
jne 0x445eb1
or dword [0x605dc4], ebx
xor ecx, ecx
push 0x605dac
mov byte [0x605d8c], 0
mov dword [0x605da8], esi
mov dword [0x605da4], edi
mov word [0x605d94], cx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x58dfb5
call fcn.00547e47
add esp, 4
cmp byte [0x605d8c], 0
jne 0x4460cd
lea edx, [ebp - 0x98]
push edx
call fcn.00409b60
lea eax, [ebp + 8]
push eax
push 0x5967ac
lea ecx, [ebp - 0x90]
push str.vprot.exe_OnSiteSafetyUpdateDB__now
push ecx
mov byte [ebp - 4], 1
call fcn.00407390
add esp, 8
push eax
call fcn.00407390
add esp, 8
push eax
call fcn.00411b20
add esp, 8
lea ecx, [ebp + 0x24]
lea eax, [ebp - 0x98]
call fcn.00407170
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 2
call fcn.00406a80
cmp dword [ebp + 0x3c], 8
jb 0x445f29
mov edx, dword [ebp + 0x28]
push edx
call fcn.00546771
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x44]
mov dword [ebp + 0x3c], esi
mov dword [ebp + 0x38], edi
mov word [ebp + 0x28], ax
mov byte [ebp - 4], al
call fcn.004075b0
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x44], vtable.std::ios_base.0
call fcn.0054517b
add esp, 4
xor edi, edi
test byte [0x605dc4], 1
lea esi, [edi + 7]
jne 0x445f9c
or dword [0x605dc4], 1
xor ecx, ecx
push 0x605dac
mov byte [0x605d8c], 0
mov dword [0x605da8], esi
mov dword [0x605da4], edi
mov word [0x605d94], cx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x58dfb5
call fcn.00547e47
add esp, 4
cmp byte [0x605d8c], 0
jne 0x44626d
lea edx, [ebp - 0x98]
push edx
call fcn.00409b60
push 0x60364c
push 0x5967ac
lea eax, [ebp - 0x90]
push str.vprot.exe_OnSiteSafetyUpdateDB__update
push eax
mov byte [ebp - 4], 0xa
call fcn.00407390
add esp, 8
push eax
call fcn.00407390
add esp, 8
push eax
call fcn.00411b20
add esp, 8
lea ecx, [ebp + 0x24]
lea eax, [ebp - 0x98]
call fcn.00407170
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 0xb
call fcn.00406a80
cmp dword [ebp + 0x3c], 8
jb 0x446015
mov ecx, dword [ebp + 0x28]
push ecx
call fcn.00546771
add esp, 4
xor edx, edx
lea ecx, [ebp - 0x44]
mov dword [ebp + 0x3c], esi
mov dword [ebp + 0x38], edi
mov word [ebp + 0x28], dx
mov byte [ebp - 4], dl
call fcn.004075b0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], vtable.std::ios_base.0
call fcn.0054517b
add esp, 4
call fcn.004c864a
test al, al
jne 0x446055
call fcn.004a9c22
test al, al
je 0x446410
lea edi, [ebp + 8]
call fcn.004d4dd9
mov edi, 0x60364c
mov esi, eax
mov ebx, edx
call fcn.004d4dd9
sub esi, eax
sbb ebx, edx
mov dword [ebp + 4], ebx
js 0x446410
jg 0x446082
test esi, esi
jb 0x446410
mov edx, dword [ebp + 0x4c]
push 0
push 0
push 1
push 0
mov dword [0x6036b8], edx
mov dword [0x6036bc], 0xbe6
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0x6036b0
push 0
push 0x6036a8
push 0x46e0b2
push 0
push 0
mov dword [0x6036b4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x6036ac], eax
jmp 0x4464e1
lea edx, [ebp - 0x90]
push edx
mov byte [ebp - 4], 3
call fcn.004068d0
mov byte [ebp - 4], 4
test byte [0x605dc4], 1
jne 0x446123
or dword [0x605dc4], ebx
xor eax, eax
push 0x605dac
mov byte [0x605d8c], 0
mov dword [0x605da8], esi
mov dword [0x605da4], edi
mov word [0x605d94], ax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x58dfb5
call fcn.00547e47
add esp, 4
lea esi, [ebp + 0x24]
mov eax, 0x605d8c
call fcn.00406720
mov ebx, 8
mov byte [ebp - 4], 5
cmp dword [eax + 0x18], ebx
jb 0x446143
mov esi, dword [eax + 4]
jmp 0x446146
lea esi, [eax + 4]
lea ecx, [ebp - 0x90]
push 0x5950f8
push ecx
call fcn.00407390
add esp, 8
push esi
push eax
call fcn.00407390
add esp, 8
push 0x5950f0
push eax
call fcn.00407390
add esp, 8
push str.vprot.exe_OnSiteSafetyUpdateDB__now
push eax
call fcn.00407390
add esp, 8
push 0x5967ac
push eax
call fcn.00407390
add esp, 8
lea edx, [ebp + 8]
push edx
push eax
call fcn.00411b20
add esp, 8
mov byte [ebp - 4], 4
cmp dword [ebp + 0x3c], ebx
jb 0x4461b0
mov eax, dword [ebp + 0x28]
push eax
call fcn.00546771
add esp, 4
lea ecx, [ebp]
push ecx
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
add esp, 4
push 0x2710
lea ecx, [ebp]
mov byte [ebp - 4], 6
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x44620c
lea ecx, [ebp + 0x24]
lea eax, [ebp - 0x90]
call fcn.00406700
push 0x379
push str..WinMain.cpp
push eax
push 0x2710
lea ecx, [ebp]
mov byte [ebp - 4], 7
call sub.log4cplusU.dll_public:_void___thiscall_log4cplus::Logger::forcedLog_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int_const
cmp dword [ebp + 0x3c], ebx
jb 0x44620c
mov edx, dword [ebp + 0x28]
push edx
call fcn.00546771
add esp, 4
lea ecx, [ebp]
mov byte [ebp - 4], 4
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00406750
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], vtable.std::ios_base.0
call fcn.0054517b
add esp, 4
mov dword [ebp - 4], edi
jmp 0x445f53
lea ecx, [ebp - 0x90]
push ecx
mov byte [ebp - 4], 0xc
call fcn.004068d0
mov bl, 0xd
mov byte [ebp - 4], bl
test byte [0x605dc4], 1
jne 0x4462c6
or dword [0x605dc4], 1
xor edx, edx
push 0x605dac
mov byte [0x605d8c], 0
mov dword [0x605da8], esi
mov dword [0x605da4], edi
mov word [0x605d94], dx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x58dfb5
call fcn.00547e47
add esp, 4
lea esi, [ebp + 0x24]
mov eax, 0x605d8c
call fcn.00406720
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x18], 8
jb 0x4462e2
mov esi, dword [eax + 4]
jmp 0x4462e5
lea esi, [eax + 4]
lea eax, [ebp - 0x90]
push 0x5950f8
push eax
call fcn.00407390
add esp, 8
push esi
push eax
call fcn.00407390
add esp, 8
push 0x5950f0
push eax
call fcn.00407390
add esp, 8
push str.vprot.exe_OnSiteSafetyUpdateDB__update
push eax
call fcn.00407390
add esp, 8
push 0x5967ac
push eax
call fcn.00407390
add esp, 8
push 0x60364c
push eax
call fcn.00411b20
mov esi, 8
add esp, 8
mov byte [ebp - 4], bl
cmp dword [ebp + 0x3c], esi
jb 0x446354
mov ecx, dword [ebp + 0x28]
push ecx
call fcn.00546771
add esp, 4
lea edx, [ebp]
push edx
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
add esp, 4
push 0x2710
lea ecx, [ebp]
mov byte [ebp - 4], 0xf
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x4463b0
lea ecx, [ebp + 0x24]
lea eax, [ebp - 0x90]
call fcn.00406700
push 0x37a
push str..WinMain.cpp
push eax
push 0x2710
lea ecx, [ebp]
mov byte [ebp - 4], 0x10
call sub.log4cplusU.dll_public:_void___thiscall_log4cplus::Logger::forcedLog_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int_const
cmp dword [ebp + 0x3c], esi
jb 0x4463b0
mov eax, dword [ebp + 0x28]
push eax
call fcn.00546771
add esp, 4
lea ecx, [ebp]
mov byte [ebp - 4], bl
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xc
call fcn.00406750
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x44], vtable.std::ios_base.0
call fcn.0054517b
add esp, 4
mov dword [ebp - 4], edi
jmp 0x44603f
xor edi, edi
test byte [0x605dc4], 1
mov esi, 7
jne 0x44645a
or dword [0x605dc4], 1
xor eax, eax
push 0x605dac
mov byte [0x605d8c], 0
mov dword [0x605da8], esi
mov dword [0x605da4], edi
mov word [0x605d94], ax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x58dfb5
call fcn.00547e47
add esp, 4
cmp byte [0x605d8c], 0
jne 0x446514
lea ecx, [ebp - 0x98]
push ecx
call fcn.00409b60
lea edx, [ebp - 0x90]
push str.VProt::CSiteSafetyThread::UpdateSiteSafetyDB_Site_safety_db_is_up_do_date__no_need_for_update
push edx
mov byte [ebp - 4], 0x13
call fcn.00407390
add esp, 8
lea ecx, [ebp + 0x24]
lea eax, [ebp - 0x98]
call fcn.00407170
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 0x14
call fcn.00406a80
cmp dword [ebp + 0x3c], 8
jb 0x4464b7
mov eax, dword [ebp + 0x28]
push eax
call fcn.00546771
add esp, 4
xor ecx, ecx
mov word [ebp + 0x28], cx
mov byte [ebp - 4], cl
lea ecx, [ebp - 0x44]
mov dword [ebp + 0x3c], esi
mov dword [ebp + 0x38], edi
call fcn.004075b0
lea edx, [ebp - 0x44]
mov dword [ebp - 0x44], vtable.std::ios_base.0
push edx
call fcn.0054517b
add esp, 4
cmp dword [ebp + 0x20], 8
jb 0x4464f3
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00546771
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x40]
xor ecx, ebp
call fcn.0054677c
add ebp, 0x44
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x90]
push eax
mov byte [ebp - 4], 0x15
call fcn.004068d0
mov bl, 0x16
mov byte [ebp - 4], bl
test byte [0x605dc4], 1
jne 0x44656d
or dword [0x605dc4], 1
xor ecx, ecx
push 0x605dac
mov byte [0x605d8c], 0
mov dword [0x605da8], esi
mov dword [0x605da4], edi
mov word [0x605d94], cx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x58dfb5
call fcn.00547e47
add esp, 4
lea esi, [ebp + 0x24]
mov eax, 0x605d8c
call fcn.00406720
mov edi, 8
mov byte [ebp - 4], 0x17
cmp dword [eax + 0x18], edi
jb 0x44658d
mov esi, dword [eax + 4]
jmp 0x446590
lea esi, [eax + 4]
lea edx, [ebp - 0x90]
push 0x5950f8
push edx
call fcn.00407390
add esp, 8
push esi
push eax
call fcn.00407390
add esp, 8
push 0x5950f0
push eax
call fcn.00407390
add esp, 8
push str.VProt::CSiteSafetyThread::UpdateSiteSafetyDB_Site_safety_db_is_up_do_date__no_need_for_update
push eax
call fcn.00407390
add esp, 8
mov byte [ebp - 4], bl
cmp dword [ebp + 0x3c], edi
jb 0x4465de
mov eax, dword [ebp + 0x28]
push eax
call fcn.00546771
add esp, 4
lea ecx, [ebp]
push ecx
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
add esp, 4
push 0x2710
lea ecx, [ebp]
mov byte [ebp - 4], 0x18
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x44663a
lea ecx, [ebp + 0x24]
lea eax, [ebp - 0x90]
call fcn.00406700
push 0x383
push str..WinMain.cpp
push eax
push 0x2710
lea ecx, [ebp]
mov byte [ebp - 4], 0x19
call sub.log4cplusU.dll_public:_void___thiscall_log4cplus::Logger::forcedLog_int__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___char_const___int_const
cmp dword [ebp + 0x3c], edi
jb 0x44663a
mov edx, dword [ebp + 0x28]
push edx
call fcn.00546771
add esp, 4
lea ecx, [ebp]
mov byte [ebp - 4], bl
call sub.log4cplusU.dll_public_virtual:_void___thiscall_log4cplus::Logger::destructor_void_
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x15
call fcn.00406750
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], vtable.std::ios_base.0
push eax
jmp 0x4464d9