Function at 0x41b3c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cfe43
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x51352c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 8], 0
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], 0
je 0x41b985
push dword [edi + 0x10]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x7c], esi
test esi, esi
jne 0x41b546
call fcn.0040d0d0
mov ecx, eax
test ecx, ecx
je 0x41b9a6
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x7c], eax
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [edi + 0x10]
lea eax, [ebp - 0x7c]
push str.Open_process__d_failed__error___d_n
push eax
call fcn.0040cfd0
mov esi, dword [ebp - 0x7c]
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.00455070
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41b523
push 0x23
push str.ExceptionReportExceptionReport.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.00418050
push 3
push 0x4dedc4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00418050
mov byte [ebp - 4], 2
call fcn.00455070
mov ebx, eax
lea ecx, [ebp - 0x11c]
push 0xe7
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00411d60
mov edi, eax
test esi, esi
mov byte [ebp - 4], 3
mov eax, 0x4de984
cmovne eax, esi
push eax
push edi
call fcn.00410fc0
mov eax, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x11c]
call fcn.004134e0
lea ecx, [ebp - 0x40]
call fcn.00412930
lea ecx, [ebp - 0x28]
call fcn.00412930
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41b985
mov ecx, dword [esi]
push esi
jmp 0x41b980
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x80], eax
cmp eax, 0xffffffff
jne 0x41b668
call fcn.00455070
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41b65c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x23
push str.ExceptionReportExceptionReport.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov ebx, eax
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.00418050
push 3
push 0x4dedc4
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 4
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.00418050
mov byte [ebp - 4], 5
call fcn.00455070
mov edi, eax
lea ecx, [ebp - 0x11c]
push 0xee
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00411d60
mov esi, eax
push str.Create_file__
push esi
mov byte [ebp - 4], 6
call fcn.004133b0
mov ecx, dword [ebp - 0x78]
mov eax, 0x4de984
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.00410fc0
push str.__failed__error_
push esi
call fcn.004133b0
add esp, 0x18
mov ecx, esi
push ebx
call fcn.0041a1f0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x11c]
call fcn.004134e0
lea ecx, [ebp - 0x58]
call fcn.00412930
lea ecx, [ebp - 0x70]
call fcn.00412930
mov esi, dword [ebp - 0x7c]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41b985
call fcn.0040d0d0
mov ecx, eax
test ecx, ecx
je 0x41b9b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x84], eax
mov dword [ebp - 4], 7
call fcn.0040d0d0
mov ecx, eax
test ecx, ecx
je 0x41b9ba
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x74], eax
mov eax, str.__full
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x74]
test eax, 0xffff0000
jne 0x41b6c4
movzx eax, ax
push eax
call fcn.0040dd40
jmp 0x41b6d0
push 6
push str.__full
call fcn.0040e030
mov ecx, dword [0x515f48]
mov byte [ebp - 4], 9
test ecx, ecx
jne 0x41b73b
push 0x5121f0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x515f48], 0
jne 0x41b722
push 0x1c
call fcn.0046526d
mov esi, eax
add esp, 4
mov dword [ebp - 0x78], esi
test esi, esi
je 0x41b717
lea eax, [esi + 4]
mov dword [esi], vtable._BaseModule::CCriticalSection.0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
jmp 0x41b719
xor esi, esi
mov dword [0x515f48], esi
mov esi, dword [ebp - 0x7c]
push 0x5121f0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x515f48]
test ecx, ecx
jne 0x41b73b
xor eax, eax
jmp 0x41b791
mov eax, dword [0x515f44]
test eax, eax
jne 0x41b791
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp dword [0x515f44], 0
jne 0x41b781
push 0x48
call fcn.0046526d
add esp, 4
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x41b772
mov ecx, eax
call fcn.0040f250
mov ecx, eax
jmp 0x41b774
xor ecx, ecx
mov byte [ebp - 4], 9
xchg dword [ebp - 0x78], eax
mov dword [0x515f44], ecx
mov eax, dword [0x515f48]
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [0x515f44]
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
call fcn.0040f9e0
mov edx, dword [ebp - 0x74]
or ebx, 0xffffffff
mov dword [ebp - 0x78], eax
add edx, 0xfffffff0
mov byte [ebp - 4], 7
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41b7c7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x78], 0
mov eax, 0x147
mov ecx, 0x145
cmovne ecx, eax
push 0
push 0
mov eax, ecx
or eax, 0x1000
cmp byte [edi], 0
push 0
cmove eax, ecx
push eax
push dword [ebp - 0x80]
mov eax, dword [edi + 8]
push dword [edi + 0x10]
push esi
call eax
push dword [ebp - 0x80]
mov edi, eax
mov dword [ebp - 0x74], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x41b95c
call fcn.00455070
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41b95c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x23
push str.ExceptionReportExceptionReport.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], edi
mov ebx, eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00418050
push 3
push 0x4dedc4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00418050
mov byte [ebp - 4], 0xc
call fcn.00455070
mov edi, eax
lea ecx, [ebp - 0x1b4]
push 0x104
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00411d60
mov esi, eax
push str.Write_dump_failed__error_
push esi
mov byte [ebp - 4], 0xd
call fcn.004133b0
add esp, 8
mov ecx, esi
push ebx
call fcn.0041a1f0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1b4]
call fcn.004134e0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
cmp edx, 0x10
jb 0x41b8fa
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b8f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b9c4
push edx
push ecx
call fcn.00464e0e
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x41b944
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b93a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b9c9
push edx
push ecx
call fcn.00464e0e
add esp, 8
mov esi, dword [ebp - 0x7c]
or ebx, 0xffffffff
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x84]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x41b985
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046522d
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.0040ce10
push 0x80004005
call fcn.0040ce10
push 0x80004005
call fcn.0040ce10
call fcn.00486f58
call fcn.00486f58
int3