Function at 0x41d7d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db3df
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x5194b4]
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 esi, ecx
cmp dword [esi + 8], 0
mov edi, dword [ebp + 8]
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x7c], 0
je 0x41d950
push dword [esi + 0x10]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [ebp - 0x84], ebx
test ebx, ebx
jne 0x41d971
call fcn.0040f470
mov ecx, eax
test ecx, ecx
je 0x41dd80
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esi + 0x10]
lea eax, [ebp - 0x74]
push str.Open_process__d_failed__error___d_n
push eax
call fcn.0040f370
mov esi, dword [ebp - 0x74]
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.00459880
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41d931
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.0041a360
push 3
push 0x4eb47c
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], bl
call fcn.0041a360
mov byte [ebp - 4], 2
call fcn.00459880
mov ebx, eax
lea ecx, [ebp - 0x130]
push 0xf5
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00413fd0
mov edi, eax
test esi, esi
mov byte [ebp - 4], 3
mov eax, 0x4eb03c
cmovne eax, esi
push eax
push edi
call fcn.00413140
mov eax, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x130]
call fcn.004157c0
lea ecx, [ebp - 0x40]
call fcn.00414bf0
lea ecx, [ebp - 0x28]
call fcn.00414bf0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41d950
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x7c]
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.00469a5c
mov esp, ebp
pop ebp
ret 4
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x80], eax
cmp eax, 0xffffffff
jne 0x41da96
call fcn.00459880
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41da8a
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.0041a360
push 3
push 0x4eb47c
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.0041a360
mov byte [ebp - 4], 5
call fcn.00459880
mov edi, eax
lea ecx, [ebp - 0x130]
push 0xfc
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00413fd0
mov esi, eax
push str.Create_file__
push esi
mov byte [ebp - 4], 6
call fcn.00415690
mov ecx, dword [ebp - 0x74]
mov eax, 0x4eb03c
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.00413140
push str.__failed__error_
push esi
call fcn.00415690
add esp, 0x18
mov ecx, esi
push ebx
call fcn.0041c650
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x130]
call fcn.004157c0
lea ecx, [ebp - 0x58]
call fcn.00414bf0
lea ecx, [ebp - 0x70]
call fcn.00414bf0
mov ebx, dword [ebp - 0x84]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41d950
call fcn.0040f470
mov ecx, eax
test ecx, ecx
je 0x41dd8a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x88], eax
mov dword [ebp - 4], 7
call fcn.0040f470
mov ecx, eax
test ecx, ecx
je 0x41dd94
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 0x41daf2
movzx eax, ax
push eax
call fcn.004100a0
jmp 0x41dafe
push 6
push str.__full
call fcn.00410390
mov byte [ebp - 0x75], 0
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0xa
push eax
call fcn.0043c6eb
lea eax, [ebp - 0x90]
mov dword [ebp - 0x98], eax
lea eax, [ebp - 0x75]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x98]
push eax
push 0x41c420
push 0x51be8c
call fcn.0043cfa5
add esp, 0x10
test eax, eax
je 0x41dd60
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0xc
push eax
call fcn.0043c725
mov ecx, dword [0x51be88]
lea eax, [ebp - 0x88]
add esp, 4
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00411bd0
mov edx, dword [ebp - 0x74]
or edi, 0xffffffff
mov dword [ebp - 0x7c], eax
add edx, 0xfffffff0
mov byte [ebp - 4], 7
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41db99
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x7c], 0
mov eax, 0x147
mov ecx, 0x145
cmovne ecx, eax
push 0
push 0
mov eax, ecx
or eax, 0x1000
cmp byte [esi], 0
push 0
cmove eax, ecx
push eax
push dword [ebp - 0x80]
mov eax, dword [esi + 8]
push dword [esi + 0x10]
push ebx
call eax
push dword [ebp - 0x80]
mov esi, eax
mov dword [ebp - 0x7c], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x41dd31
call fcn.00459880
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41dd31
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x23
push str.ExceptionReportExceptionReport.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], esi
mov ebx, eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.0041a360
push 3
push 0x4eb47c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0041a360
mov byte [ebp - 4], 0x10
call fcn.00459880
mov edi, eax
lea ecx, [ebp - 0x1c8]
push 0x112
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00413fd0
mov esi, eax
push str.Write_dump_failed__error_
push esi
mov byte [ebp - 4], 0x11
call fcn.00415690
add esp, 8
mov ecx, esi
push ebx
call fcn.0041c650
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1c8]
call fcn.004157c0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xf
cmp edx, 0x10
jb 0x41dccc
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41dcc2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41dd9e
push edx
push ecx
call fcn.0046963e
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 0x41dd16
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41dd0c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41dda3
push edx
push ecx
call fcn.0046963e
add esp, 8
mov ebx, dword [ebp - 0x84]
or edi, 0xffffffff
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x88]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x41d950
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
jmp 0x41d94d
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0xd
push eax
call fcn.0043c767
add esp, 4
mov byte [ebp - 4], 0xb
test al, al
jne 0x41dda8
call fcn.0043d076
push 0x80004005
call fcn.0040f1b0
push 0x80004005
call fcn.0040f1b0
push 0x80004005
call fcn.0040f1b0
call fcn.00492568
call fcn.00492568
sub esp, 8
lea eax, [ebp - 0x90]
mov ecx, esp
push eax
call fcn.004145a0
call fcn.0041b580
int3