Function at 0x40b480
Capabilities:
Create thread

Disassembly:
push ebp
lea ebp, [esp - 0x48]
sub esp, 0x48
push 0xffffffffffffffff
push 0x56cb7a
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x601328]
xor eax, ebp
mov dword [ebp + 0x44], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [0x605b84]
xor esi, esi
test byte [0x605dc4], 1
mov dword [ebp + 0x1c], eax
lea edi, [esi + 7]
jne 0x40b507
or dword [0x605dc4], 1
xor ecx, ecx
push 0x605dac
mov byte [0x605d8c], 0
mov dword [0x605da8], edi
mov dword [0x605da4], esi
mov word [0x605d94], cx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x58dfb5
call fcn.00547e47
add esp, 4
cmp byte [0x605d8c], 0
jne 0x40b6ee
lea edx, [ebp - 0x98]
push edx
call fcn.00409b60
lea eax, [ebp - 0x90]
push str.CChromeSAPGuard::Run__
push eax
mov dword [ebp - 4], esi
call fcn.00407390
add esp, 8
lea ecx, [ebp + 0x28]
lea eax, [ebp - 0x98]
call fcn.00407170
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 1
call fcn.00406a80
cmp dword [ebp + 0x40], 8
jb 0x40b563
mov ecx, dword [ebp + 0x2c]
push ecx
call fcn.00546771
add esp, 4
xor edx, edx
lea ecx, [ebp - 0x44]
mov dword [ebp + 0x40], edi
mov dword [ebp + 0x3c], esi
mov word [ebp + 0x2c], dx
mov dword [ebp - 4], 0xffffffff
call fcn.004075b0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], vtable.std::ios_base.0
call fcn.0054517b
add esp, 4
mov eax, dword [ebp + 0x1c]
xor ebx, ebx
mov edi, 8
cmp dword [eax + 0xc8], ebx
je 0x40b9fc
cmp dword [eax + 0xcc], ebx
je 0x40b9fc
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
push ebx
push 1
mov esi, eax
push ebx
add esi, 0x118
call edi
lea edx, [esi + 8]
push edx
push ebx
push esi
push 0x46e0b2
push ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
call ebx
push 0
push 0
mov dword [esi + 4], eax
mov esi, dword [ebp + 0x1c]
push 1
push 0
add esi, 0x128
call edi
mov dword [esi + 0xc], eax
lea eax, [esi + 8]
push eax
push 0
push esi
push 0x46e0b2
push 0
push 0
call ebx
xor edi, edi
test byte [0x605dc4], 1
mov dword [esi + 4], eax
mov esi, 7
jne 0x40b659
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 0x40b87b
lea edx, [ebp - 0x98]
push edx
call fcn.00409b60
lea eax, [ebp - 0x90]
push str.CChromeSAPGuard::Run____true
push eax
mov dword [ebp - 4], 0x12
call fcn.00407390
add esp, 8
lea ecx, [ebp + 0x28]
lea eax, [ebp - 0x98]
call fcn.00407170
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0x13
call fcn.00406a80
cmp dword [ebp + 0x40], 8
jb 0x40b6b9
mov ecx, dword [ebp + 0x2c]
push ecx
call fcn.00546771
add esp, 4
xor edx, edx
lea ecx, [ebp - 0x44]
mov dword [ebp + 0x40], esi
mov dword [ebp + 0x3c], edi
mov word [ebp + 0x2c], dx
mov dword [ebp - 4], 0xffffffff
call fcn.004075b0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], vtable.std::ios_base.0
call fcn.0054517b
add esp, 4
mov al, 1
jmp 0x40bad4
lea ecx, [ebp - 0x90]
push ecx
mov dword [ebp - 4], 2
call fcn.004068d0
mov bl, 3
mov byte [ebp - 4], bl
test byte [0x605dc4], 1
jne 0x40b74a
or dword [0x605dc4], 1
xor edx, edx
push 0x605dac
mov byte [0x605d8c], 0
mov dword [0x605da8], edi
mov dword [0x605da4], esi
mov word [0x605d94], dx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x58dfb5
call fcn.00547e47
add esp, 4
lea esi, [ebp + 0x28]
mov eax, 0x605d8c
call fcn.00406720
mov edi, 8
mov byte [ebp - 4], 4
cmp dword [eax + 0x18], edi
jb 0x40b76a
mov esi, dword [eax + 4]
jmp 0x40b76d
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.CChromeSAPGuard::Run__
push eax
call fcn.00407390
add esp, 8
mov byte [ebp - 4], bl
cmp dword [ebp + 0x40], edi
jb 0x40b7bb
mov ecx, dword [ebp + 0x2c]
push ecx
call fcn.00546771
add esp, 4
lea edx, [ebp + 0x20]
push edx
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
add esp, 4
push 0x2710
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 5
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x40b817
lea ecx, [ebp + 0x28]
lea eax, [ebp - 0x90]
call fcn.00406700
push 0xac
push str..ChromeSAPGuard.cpp
push eax
push 0x2710
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 6
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 + 0x40], edi
jb 0x40b817
mov eax, dword [ebp + 0x2c]
push eax
call fcn.00546771
add esp, 4
lea ecx, [ebp + 0x20]
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], 2
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], 0xffffffff
jmp 0x40b591
lea ecx, [ebp - 0x90]
push ecx
mov dword [ebp - 4], 0x14
call fcn.004068d0
mov bl, 0x15
mov byte [ebp - 4], bl
test byte [0x605dc4], 1
jne 0x40b8d7
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 + 0x28]
mov eax, 0x605d8c
call fcn.00406720
mov edi, 8
mov byte [ebp - 4], 0x16
cmp dword [eax + 0x18], edi
jb 0x40b8f7
mov esi, dword [eax + 4]
jmp 0x40b8fa
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.CChromeSAPGuard::Run____true
push eax
call fcn.00407390
add esp, 8
mov byte [ebp - 4], bl
cmp dword [ebp + 0x40], edi
jb 0x40b948
mov ecx, dword [ebp + 0x2c]
push ecx
call fcn.00546771
add esp, 4
lea edx, [ebp + 0x20]
push edx
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
add esp, 4
push 0x2710
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x17
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x40b9a4
lea ecx, [ebp + 0x28]
lea eax, [ebp - 0x90]
call fcn.00406700
push 0xba
push str..ChromeSAPGuard.cpp
push eax
push 0x2710
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0x18
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 + 0x40], edi
jb 0x40b9a4
mov eax, dword [ebp + 0x2c]
push eax
call fcn.00546771
add esp, 4
lea ecx, [ebp + 0x20]
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], 0x14
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 al, 1
jmp 0x40bad4
test byte [0x605dc4], 1
mov esi, 7
jne 0x40ba45
or dword [0x605dc4], 1
xor edx, edx
push 0x605dac
mov byte [0x605d8c], 0
mov dword [0x605da8], esi
mov dword [0x605da4], ebx
mov word [0x605d94], dx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x58dfb5
call fcn.00547e47
add esp, 4
cmp byte [0x605d8c], 0
jne 0x40baf3
lea eax, [ebp - 0x98]
push eax
call fcn.00409b60
lea ecx, [ebp - 0x90]
push str.CChromeSAPGuard::Run____false._Events_didnt_created.
push ecx
mov dword [ebp - 4], 9
call fcn.00407390
add esp, 8
lea ecx, [ebp + 0x28]
lea eax, [ebp - 0x98]
call fcn.00407170
lea ecx, [ebp + 0x28]
mov byte [ebp - 4], 0xa
call fcn.00406a80
cmp dword [ebp + 0x40], edi
jb 0x40baa4
mov edx, dword [ebp + 0x2c]
push edx
call fcn.00546771
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x44]
mov dword [ebp + 0x40], esi
mov dword [ebp + 0x3c], ebx
mov word [ebp + 0x2c], ax
mov dword [ebp - 4], 0xffffffff
call fcn.004075b0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], vtable.std::ios_base.0
push ecx
call fcn.0054517b
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x44]
xor ecx, ebp
call fcn.0054677c
add ebp, 0x48
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x90]
push edx
mov dword [ebp - 4], 0xb
call fcn.004068d0
mov bl, 0xc
mov byte [ebp - 4], bl
test byte [0x605dc4], 1
jne 0x40bb52
or dword [0x605dc4], 1
xor eax, eax
push 0x605dac
mov byte [0x605d8c], 0
mov dword [0x605da8], esi
mov dword [0x605da4], 0
mov word [0x605d94], ax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x58dfb5
call fcn.00547e47
add esp, 4
lea esi, [ebp]
mov eax, 0x605d8c
call fcn.00406720
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x18], edi
jb 0x40bb6d
mov esi, dword [eax + 4]
jmp 0x40bb70
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.CChromeSAPGuard::Run____false._Events_didnt_created.
push eax
call fcn.00407390
add esp, 8
mov byte [ebp - 4], bl
cmp dword [ebp + 0x18], edi
jb 0x40bbbe
mov edx, dword [ebp + 4]
push edx
call fcn.00546771
add esp, 4
lea eax, [ebp + 0x20]
push eax
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
add esp, 4
push 0x2710
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0xe
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
test al, al
je 0x40bc1a
lea ecx, [ebp]
lea eax, [ebp - 0x90]
call fcn.00406700
push 0xb0
push str..ChromeSAPGuard.cpp
push eax
push 0x2710
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 0xf
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 + 0x18], edi
jb 0x40bc1a
mov ecx, dword [ebp + 4]
push ecx
call fcn.00546771
add esp, 4
lea ecx, [ebp + 0x20]
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], 0xb
call fcn.00406750
lea edx, [ebp - 0x44]
mov dword [ebp - 0x44], vtable.std::ios_base.0
push edx
jmp 0x40baca