Function at 0x452090
Capabilities:
Create thread
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a18bd
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x564
mov eax, dword [0x50c0b4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x194], ecx
mov byte [ebp - 0x195], 0
mov dword [ebp - 4], 0
push 0x4b0094
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x194]
mov dword [ecx], eax
mov edx, dword [ebp - 0x194]
cmp dword [edx], 0
jne 0x4521e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x200], eax
push 1
push 2
lea ecx, [ebp - 0x314]
call fcn.00422b90
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 1
push str.CreateEvent_for_buffer_ready_failed__0x
lea eax, [ebp - 0x314]
push eax
call fcn.00409c40
add esp, 8
mov dword [ebp - 0x1b8], eax
push 0x442c30
mov ecx, dword [ebp - 0x1b8]
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x200]
push ecx
mov ecx, dword [ebp - 0x208]
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov dword [ebp - 0x210], eax
push 0x4b00bc
mov edx, dword [ebp - 0x210]
push edx
call fcn.00409c40
add esp, 8
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x314]
call fcn.0044ad00
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0x220], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x220]
push edx
lea ecx, [ebp - 0x264]
call fcn.00429c80
push 0x4c4e90
lea eax, [ebp - 0x264]
push eax
call sub.MSVCR110.dll__CxxThrowException
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.0042a460
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x314]
call fcn.00432780
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x452212
push str.Already_initialized
lea ecx, [ebp - 0x258]
call fcn.00429cc0
push 0x4c4e90
lea ecx, [ebp - 0x258]
push ecx
call sub.MSVCR110.dll__CxxThrowException
push str.DBWIN_DATA_READY
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 0x194]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x194]
cmp dword [eax + 4], 0
jne 0x452322
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1e0], eax
push 1
push 2
lea ecx, [ebp - 0x574]
call fcn.00422b90
mov dword [ebp - 0x22c], eax
mov byte [ebp - 4], 3
push str.CreateEvent_for_data_ready_failed__0x
lea ecx, [ebp - 0x574]
push ecx
call fcn.00409c40
add esp, 8
mov dword [ebp - 0x1bc], eax
push 0x442c30
mov ecx, dword [ebp - 0x1bc]
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov dword [ebp - 0x1ac], eax
mov edx, dword [ebp - 0x1e0]
push edx
mov ecx, dword [ebp - 0x1ac]
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov dword [ebp - 0x1e8], eax
push 0x4b0120
mov eax, dword [ebp - 0x1e8]
push eax
call fcn.00409c40
add esp, 8
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x574]
call fcn.0044ad00
mov dword [ebp - 0x1b4], eax
mov edx, dword [ebp - 0x1b4]
mov dword [ebp - 0x1f0], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1f0]
push eax
lea ecx, [ebp - 0x240]
call fcn.00429c80
push 0x4c4e90
lea ecx, [ebp - 0x240]
push ecx
call sub.MSVCR110.dll__CxxThrowException
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.0042a460
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x574]
call fcn.00432780
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edx, dword [ebp - 0x194]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x194]
cmp dword [eax + 8], 0
jne 0x45242f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x214], eax
push 1
push 2
lea ecx, [ebp - 0x4dc]
call fcn.00422b90
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 5
push str.CreateEvent_for_exit_event_failed__0x
lea ecx, [ebp - 0x4dc]
push ecx
call fcn.00409c40
add esp, 8
mov dword [ebp - 0x1f8], eax
push 0x442c30
mov ecx, dword [ebp - 0x1f8]
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov dword [ebp - 0x1c4], eax
mov edx, dword [ebp - 0x214]
push edx
mov ecx, dword [ebp - 0x1c4]
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov dword [ebp - 0x1f4], eax
push 0x4b014c
mov eax, dword [ebp - 0x1f4]
push eax
call fcn.00409c40
add esp, 8
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x4dc]
call fcn.0044ad00
mov dword [ebp - 0x1cc], eax
mov edx, dword [ebp - 0x1cc]
mov dword [ebp - 0x20c], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00429c80
push 0x4c4e90
lea ecx, [ebp - 0x24c]
push ecx
call sub.MSVCR110.dll__CxxThrowException
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5c]
call fcn.0042a460
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4dc]
call fcn.00432780
push 0x4b0030
push 0x1000
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edx, dword [ebp - 0x194]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x194]
cmp dword [eax + 0xc], 0
jne 0x45254c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1fc], eax
push 1
push 2
lea ecx, [ebp - 0x3ac]
call fcn.00422b90
mov dword [ebp - 0x230], eax
mov byte [ebp - 4], 7
push str.CreateFileMapping_failed__0x
lea ecx, [ebp - 0x3ac]
push ecx
call fcn.00409c40
add esp, 8
mov dword [ebp - 0x1d4], eax
push 0x442c30
mov ecx, dword [ebp - 0x1d4]
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov dword [ebp - 0x1dc], eax
mov edx, dword [ebp - 0x1fc]
push edx
mov ecx, dword [ebp - 0x1dc]
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov dword [ebp - 0x21c], eax
push 0x4b004c
mov eax, dword [ebp - 0x21c]
push eax
call fcn.00409c40
add esp, 8
lea ecx, [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x3ac]
call fcn.0044ad00
mov dword [ebp - 0x1e4], eax
mov edx, dword [ebp - 0x1e4]
mov dword [ebp - 0x204], edx
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x204]
push eax
lea ecx, [ebp - 0x270]
call fcn.00429c80
push 0x4c4e90
lea ecx, [ebp - 0x270]
push ecx
call sub.MSVCR110.dll__CxxThrowException
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x8c]
call fcn.0042a460
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3ac]
call fcn.00432780
push 0
push 0
push 0
push 4
mov edx, dword [ebp - 0x194]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [ebp - 0x194]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x194]
cmp dword [edx + 0x10], 0
jne 0x452663
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1a0], eax
push 1
push 2
lea ecx, [ebp - 0x444]
call fcn.00422b90
mov dword [ebp - 0x228], eax
mov byte [ebp - 4], 9
push str.MapViewOfFile_failed__0x
lea eax, [ebp - 0x444]
push eax
call fcn.00409c40
add esp, 8
mov dword [ebp - 0x1ec], eax
push 0x442c30
mov ecx, dword [ebp - 0x1ec]
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov dword [ebp - 0x1c0], eax
mov ecx, dword [ebp - 0x1a0]
push ecx
mov ecx, dword [ebp - 0x1c0]
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov dword [ebp - 0x1c8], eax
push 0x4b0070
mov edx, dword [ebp - 0x1c8]
push edx
call fcn.00409c40
add esp, 8
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x444]
call fcn.0044ad00
mov dword [ebp - 0x1d0], eax
mov ecx, dword [ebp - 0x1d0]
mov dword [ebp - 0x1d8], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x1d8]
push edx
lea ecx, [ebp - 0x27c]
call fcn.00429c80
push 0x4c4e90
lea eax, [ebp - 0x27c]
push eax
call sub.MSVCR110.dll__CxxThrowException
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x74]
call fcn.0042a460
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x444]
call fcn.00432780
push 0
push 0
mov ecx, dword [ebp - 0x194]
push ecx
push 0x4527b0
push 0
push 0
call dword [sym.imp.MSVCR110.dll__beginthreadex]
add esp, 0x18
mov edx, dword [ebp - 0x194]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x194]
cmp dword [eax + 0x14], 0
je 0x4526a1
mov dword [ebp - 0x19c], 1
jmp 0x4526ab
mov dword [ebp - 0x19c], 0
mov cl, byte [ebp - 0x19c]
mov byte [ebp - 0x195], cl
jmp 0x45271f
mov dword [ebp - 4], 0xffffffff
jmp 0x45272f
mov al, byte [ebp - 0x195]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049a2a4
mov esp, ebp
pop ebp
ret 4