Function at 0x42aab0
Capabilities:
Create thread

Disassembly:
push ebp
lea ebp, [esp - 0x30]
sub esp, 0x30
push 0xffffffffffffffff
push 0x574832
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x601328]
xor eax, ebp
mov dword [ebp + 0x2c], 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 [ebp + 0x38]
xor ebx, ebx
mov dword [ebp + 4], eax
lea esi, [ebx + 1]
lea edi, [ebx + 7]
cmp byte [eax + 0xa0], bl
je 0x42ad4e
test byte [0x605dc4], 1
jne 0x42ab41
or dword [0x605dc4], esi
xor eax, eax
push 0x605dac
mov byte [0x605d8c], bl
mov dword [0x605da8], edi
mov dword [0x605da4], ebx
mov word [0x605d94], ax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x58dfb5
call fcn.00547e47
add esp, 4
cmp byte [0x605d8c], bl
jne 0x42abd1
lea ecx, [ebp - 0x98]
push ecx
call fcn.00409b60
lea edx, [ebp - 0x90]
push str.CIEGuard:Run:_Already_run
push edx
mov dword [ebp - 4], ebx
call fcn.00407390
add esp, 8
lea ecx, [ebp + 0x10]
lea eax, [ebp - 0x98]
call fcn.00407170
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.00406a80
cmp dword [ebp + 0x28], 8
jb 0x42ab9c
mov eax, dword [ebp + 0x14]
push eax
call fcn.00546771
add esp, 4
xor ecx, ecx
mov word [ebp + 0x14], cx
lea ecx, [ebp - 0x44]
mov dword [ebp + 0x28], edi
mov dword [ebp + 0x24], ebx
mov dword [ebp - 4], 0xffffffff
call fcn.004075b0
lea edx, [ebp - 0x44]
push edx
mov dword [ebp - 0x44], vtable.std::ios_base.0
call fcn.0054517b
add esp, 4
mov al, 1
jmp 0x42b31e
lea eax, [ebp - 0x90]
push eax
mov dword [ebp - 4], 2
call fcn.004068d0
mov byte [ebp - 4], 3
test byte [0x605dc4], 1
jne 0x42ac2a
or dword [0x605dc4], esi
xor ecx, ecx
push 0x605dac
mov byte [0x605d8c], bl
mov dword [0x605da8], edi
mov dword [0x605da4], ebx
mov word [0x605d94], cx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x58dfb5
call fcn.00547e47
add esp, 4
lea esi, [ebp + 0x10]
mov eax, 0x605d8c
call fcn.00406720
mov edi, 8
mov byte [ebp - 4], 4
cmp dword [eax + 0x18], edi
jb 0x42ac4a
mov esi, dword [eax + 4]
jmp 0x42ac4d
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.CIEGuard:Run:_Already_run
push eax
call fcn.00407390
add esp, 8
mov byte [ebp - 4], 3
cmp dword [ebp + 0x28], edi
jb 0x42ac9c
mov eax, dword [ebp + 0x14]
push eax
call fcn.00546771
add esp, 4
lea ecx, [ebp + 8]
push ecx
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
add esp, 4
push 0x2710
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
cmp al, bl
je 0x42acf5
lea ecx, [ebp + 0x10]
lea eax, [ebp - 0x90]
call fcn.00406700
push 0x24
push str..IEGuard.cpp
push eax
push 0x2710
lea ecx, [ebp + 8]
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 + 0x28], edi
jb 0x42acf5
mov edx, dword [ebp + 0x14]
push edx
call fcn.00546771
add esp, 4
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
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 eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], vtable.std::ios_base.0
call fcn.0054517b
add esp, 4
mov al, 1
jmp 0x42b31e
mov byte [eax + 0xa0], 1
cmp byte [ebp + 0x3c], bl
jne 0x42afcb
test byte [0x605dc4], 1
jne 0x42ada0
or dword [0x605dc4], esi
xor ecx, ecx
push 0x605dac
mov byte [0x605d8c], bl
mov dword [0x605da8], edi
mov dword [0x605da4], ebx
mov word [0x605d94], cx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x58dfb5
call fcn.00547e47
add esp, 4
cmp byte [0x605d8c], bl
jne 0x42ae32
lea edx, [ebp - 0x98]
push edx
call fcn.00409b60
lea eax, [ebp - 0x90]
push str.CIEGuard:Run:_Key_Exists:_SaveRegistryValues
push eax
mov dword [ebp - 4], 9
call fcn.00407390
add esp, 8
lea ecx, [ebp + 0x10]
lea eax, [ebp - 0x98]
call fcn.00407170
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0xa
call fcn.00406a80
cmp dword [ebp + 0x28], 8
jb 0x42adff
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00546771
add esp, 4
xor edx, edx
lea ecx, [ebp - 0x44]
mov dword [ebp + 0x28], edi
mov dword [ebp + 0x24], ebx
mov word [ebp + 0x14], 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
jmp 0x42afbe
lea ecx, [ebp - 0x90]
push ecx
mov dword [ebp - 4], 0xb
call fcn.004068d0
mov byte [ebp - 4], 0xc
test byte [0x605dc4], 1
jne 0x42ae8b
or dword [0x605dc4], esi
xor edx, edx
push 0x605dac
mov byte [0x605d8c], bl
mov dword [0x605da8], edi
mov dword [0x605da4], ebx
mov word [0x605d94], dx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x58dfb5
call fcn.00547e47
add esp, 4
lea esi, [ebp + 0x10]
mov eax, 0x605d8c
call fcn.00406720
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x18], 8
jb 0x42aea7
mov esi, dword [eax + 4]
jmp 0x42aeaa
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.CIEGuard:Run:_Key_Exists:_SaveRegistryValues
push eax
call fcn.00407390
mov esi, 8
add esp, 8
mov byte [ebp - 4], 0xc
cmp dword [ebp + 0x28], esi
jb 0x42aefe
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00546771
add esp, 4
lea edx, [ebp + 8]
push edx
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
add esp, 4
push 0x2710
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xe
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
cmp al, bl
je 0x42af57
lea ecx, [ebp + 0x10]
lea eax, [ebp - 0x90]
call fcn.00406700
push 0x2a
push str..IEGuard.cpp
push eax
push 0x2710
lea ecx, [ebp + 8]
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 + 0x28], esi
jb 0x42af57
mov eax, dword [ebp + 0x14]
push eax
call fcn.00546771
add esp, 4
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0xc
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 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 0x42afbe
mov ecx, dword [ebp + 4]
call fcn.0042b600
mov esi, 1
test byte [0x605dc4], 1
jne 0x42b00d
or dword [0x605dc4], esi
xor edx, edx
push 0x605dac
mov byte [0x605d8c], bl
mov dword [0x605da8], edi
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], bl
jne 0x42b09f
lea eax, [ebp - 0x98]
push eax
call fcn.00409b60
lea ecx, [ebp - 0x90]
push str.CIEGuard:Run:_Register_Guard
push ecx
mov dword [ebp - 4], 0x12
call fcn.00407390
add esp, 8
lea ecx, [ebp + 0x10]
lea eax, [ebp - 0x98]
call fcn.00407170
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0x13
call fcn.00406a80
cmp dword [ebp + 0x28], 8
jb 0x42b06c
mov edx, dword [ebp + 0x14]
push edx
call fcn.00546771
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x44]
mov dword [ebp + 0x28], edi
mov dword [ebp + 0x24], ebx
mov word [ebp + 0x14], ax
mov dword [ebp - 4], 0xffffffff
call fcn.004075b0
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x44], vtable.std::ios_base.0
call fcn.0054517b
add esp, 4
jmp 0x42b226
lea edx, [ebp - 0x90]
push edx
mov dword [ebp - 4], 0x14
call fcn.004068d0
mov byte [ebp - 4], 0x15
test byte [0x605dc4], 1
jne 0x42b0f7
or dword [0x605dc4], esi
xor eax, eax
push 0x605dac
mov byte [0x605d8c], bl
mov dword [0x605da8], edi
mov dword [0x605da4], ebx
mov word [0x605d94], ax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x58dfb5
call fcn.00547e47
add esp, 4
lea esi, [ebp + 0x10]
mov eax, 0x605d8c
call fcn.00406720
mov edi, 8
mov byte [ebp - 4], 0x16
cmp dword [eax + 0x18], edi
jb 0x42b117
mov esi, dword [eax + 4]
jmp 0x42b11a
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.CIEGuard:Run:_Register_Guard
push eax
call fcn.00407390
add esp, 8
mov byte [ebp - 4], 0x15
cmp dword [ebp + 0x28], edi
jb 0x42b169
mov edx, dword [ebp + 0x14]
push edx
call fcn.00546771
add esp, 4
lea eax, [ebp + 8]
push eax
call sub.log4cplusU.dll_public:_static_class_log4cplus::Logger___cdecl_log4cplus::Logger::getRoot_void_
add esp, 4
push 0x2710
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x17
call sub.log4cplusU.dll_public:_bool___thiscall_log4cplus::Logger::isEnabledFor_int_const
cmp al, bl
je 0x42b1c2
lea ecx, [ebp + 0x10]
lea eax, [ebp - 0x90]
call fcn.00406700
push 0x2e
push str..IEGuard.cpp
push eax
push 0x2710
lea ecx, [ebp + 8]
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 + 0x28], edi
jb 0x42b1c2
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00546771
add esp, 4
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x15
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 edx, [ebp - 0x44]
push edx
mov dword [ebp - 0x44], vtable.std::ios_base.0
call fcn.0054517b
add esp, 4
mov dword [ebp - 4], 0xffffffff
jmp 0x42b226
mov eax, dword [0x604a04]
mov edx, dword [eax + 0xc]
mov esi, dword [ebp + 4]
mov ecx, 0x604a04
call edx
add eax, 0x10
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 0x1b
cmp dword [0x60362c], 8
mov eax, dword [0x603618]
jae 0x42b258
mov eax, 0x603618
push eax
push str.Software_sIEG
lea edi, [ebp + 0xc]
call fcn.00405c00
add esp, 8
cmp dword [esi + 0x20], ebx
jne 0x42b2f6
mov ecx, dword [ebp + 0xc]
lea eax, [ebp]
push eax
push 0x20019
push ebx
push ecx
push SysReAllocString
mov dword [ebp], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x42b2f6
mov ecx, dword [esi + 0x28]
xor eax, eax
cmp ecx, ebx
je 0x42b2a5
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esi + 0x28], ebx
mov edx, dword [ebp]
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], ebx
cmp eax, ebx
jne 0x42b2f6
mov edi, dword [ebp + 4]
lea esi, [edi + 8]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x24], eax
lea eax, [ebp - 0x9c]
push eax
push ebx
push edi
push 0x49c26a
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push esi
mov dword [edi + 0x20], eax
mov byte [edi + 0xa0], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov bl, 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42b31c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2c]
xor ecx, ebp
call fcn.0054677c
add ebp, 0x30
mov esp, ebp
pop ebp
ret 8