Function at 0x41d750
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47f7d0
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push esi
push edi
mov eax, dword [0x4a7018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xc4], edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
lea eax, [edi + 0xc]
mov dword [edi], 0xffffffff
push 0x7d0
push eax
mov dword [edi + 4], 0xffffffff
mov dword [edi + 8], 0xffffffff
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov dword [edi + 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x28], eax
mov dword [ebp + 0x14], ebx
mov dword [edi + 0x2c], edx
mov eax, dword [ebp + 0x18]
mov dword [ebp + 0x18], ebx
mov dword [edi + 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp + 0x1c], ebx
mov dword [edi + 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x10], ebx
mov dword [edi + 0x38], eax
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x24]
push ebx
push 0xffffffffffffffff
mov byte [ebp - 4], 8
mov esi, dword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
push edi
push dword [ebp + 0x38]
mov dword [edi + 0x40], eax
mov eax, dword [ebp + 0x28]
mov dword [edi + 0x44], ecx
mov ecx, dword [ebp + 0x2c]
push edx
mov dword [edi + 0x48], eax
mov eax, dword [ebp + 0x30]
mov dword [edi + 0x4c], ecx
mov ecx, dword [ebp + 0x34]
push edi
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], ecx
call esi
test eax, eax
jne 0x41d87c
push ecx
lea ecx, [ebp - 0xb8]
call fcn.004064e0
mov byte [ebp - 4], 9
push ecx
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x20], str..._.._util_win_exception_handler_server.cc
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xb6
mov dword [ebp - 0x14], 2
call fcn.0041b720
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xb8]
mov edx, str.RegisterWaitForSingleObject_crash_dump_requested
mov dword [ebp - 0x10], 1
call fcn.00405b50
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], 8
call fcn.0041b540
push 0
push 0xffffffffffffffff
push edi
push dword [ebp + 0x3c]
lea eax, [edi + 4]
push dword [edi + 0x30]
push eax
call esi
test eax, eax
jne 0x41d8f8
push ecx
lea ecx, [ebp - 0xb8]
call fcn.004064e0
mov byte [ebp - 4], 0xb
push ecx
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x20], str..._.._util_win_exception_handler_server.cc
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xbf
mov dword [ebp - 0x14], 2
call fcn.0041b720
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xb8]
mov edx, str.RegisterWaitForSingleObject_non_crash_dump_requested
mov dword [ebp - 0x10], 2
call fcn.00405b50
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], 8
xor ebx, ebx
call fcn.0041b540
push 8
push 0xffffffffffffffff
push edi
push dword [ebp + 0x40]
lea eax, [edi + 8]
push dword [edi + 0x38]
push eax
call esi
test eax, eax
jne 0x41d974
push ecx
lea ecx, [ebp - 0xb8]
call fcn.004064e0
mov byte [ebp - 4], 0xd
push ecx
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x20], str..._.._util_win_exception_handler_server.cc
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xc8
mov dword [ebp - 0x14], 2
call fcn.0041b720
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xb8]
mov edx, str.RegisterWaitForSingleObject_process_end
mov dword [ebp - 0x10], 4
call fcn.00405b50
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], 8
xor ebx, ebx
call fcn.0041b540
mov byte [ebp - 4], 0xf
mov eax, dword [ebp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41da1c
push eax
call esi
test eax, eax
jne 0x41da02
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
lea ecx, [ebp - 0xc0]
mov esi, eax
call fcn.004064e0
push ecx
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x28], str..._.._util_win_scoped_handle.cc
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0x1c
mov dword [ebp - 0x1c], 4
call fcn.0041b720
mov edx, str.Check_failed:_CloseHandle_handle_
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0xc0]
mov ebx, 8
call fcn.00405b50
mov edx, 0x494710
mov ecx, eax
call fcn.00405b50
mov edx, 0x496a38
mov ecx, eax
call fcn.00405b50
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, 8
je 0x41da15
lea ecx, [ebp - 0xc0]
and ebx, 0xfffffff7
call fcn.0041bc20
mov dword [ebp + 0x10], 0
mov byte [ebp - 4], 0x10
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x41dabc
push eax
call esi
test eax, eax
jne 0x41daa2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
lea ecx, [ebp - 0xc0]
mov esi, eax
call fcn.004064e0
push ecx
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x28], str..._.._util_win_scoped_handle.cc
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0x1c
mov dword [ebp - 0x1c], 4
call fcn.0041b720
mov edx, str.Check_failed:_CloseHandle_handle_
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0xc0]
or ebx, 0x10
call fcn.00405b50
mov edx, 0x494710
mov ecx, eax
call fcn.00405b50
mov edx, 0x496a38
mov ecx, eax
call fcn.00405b50
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, 0x10
je 0x41dab5
lea ecx, [ebp - 0xc0]
and ebx, 0xffffffef
call fcn.0041bc20
mov dword [ebp + 0x14], 0
mov byte [ebp - 4], 0x11
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x41db5c
push eax
call esi
test eax, eax
jne 0x41db42
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
lea ecx, [ebp - 0xc0]
mov esi, eax
call fcn.004064e0
push ecx
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x28], str..._.._util_win_scoped_handle.cc
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0x1c
mov dword [ebp - 0x1c], 4
call fcn.0041b720
mov edx, str.Check_failed:_CloseHandle_handle_
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0xc0]
or ebx, 0x20
call fcn.00405b50
mov edx, 0x494710
mov ecx, eax
call fcn.00405b50
mov edx, 0x496a38
mov ecx, eax
call fcn.00405b50
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, 0x20
je 0x41db55
lea ecx, [ebp - 0xc0]
and ebx, 0xffffffdf
call fcn.0041bc20
mov dword [ebp + 0x18], 0
mov dword [ebp - 4], 0x12
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x41dbef
push eax
call esi
test eax, eax
jne 0x41dbdf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
lea ecx, [ebp - 0xc0]
mov esi, eax
call fcn.004064e0
push ecx
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x28], str..._.._util_win_scoped_handle.cc
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0x1c
mov dword [ebp - 0x1c], 4
call fcn.0041b720
mov edx, str.Check_failed:_CloseHandle_handle_
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0xc0]
or ebx, 0x40
call fcn.00405b50
mov edx, 0x494710
mov ecx, eax
call fcn.00405b50
mov edx, 0x496a38
mov ecx, eax
call fcn.00405b50
test bl, 0x40
je 0x41dbef
lea ecx, [ebp - 0xc0]
call fcn.0041bc20
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x3c