Function at 0x412c50
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e0b23
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x51d27c]
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 ebx, dword [ebp + 8]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x78], 0
je 0x4131a3
push dword [esi + 0x10]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
mov dword [ebp - 0x80], edi
test edi, edi
jne 0x412dd2
call fcn.00404110
mov ecx, eax
test ecx, ecx
je 0x4131c4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], edi
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.00404010
mov esi, dword [ebp - 0x74]
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call fcn.00448b40
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x412daf
push 0x5f
push str.d:jenkins.jenkinsworkspacelib_commondumpuperdump_uperexceptionreportexceptionreport.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.00409490
push 3
push 0x4ef538
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.00409490
mov byte [ebp - 4], 2
call fcn.00448b40
mov ebx, eax
lea ecx, [ebp - 0x11c]
push 0xd7
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00405ef0
mov edi, eax
test esi, esi
mov byte [ebp - 4], 3
mov eax, 0x4ee990
cmovne eax, esi
push eax
push edi
call fcn.00405200
mov eax, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x11c]
call fcn.004070c0
lea ecx, [ebp - 0x40]
call fcn.00406910
lea ecx, [ebp - 0x28]
call fcn.00406910
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4131a3
mov ecx, dword [esi]
push esi
jmp 0x41319e
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x7c], eax
cmp eax, 0xffffffff
jne 0x412ef4
call fcn.00448b40
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x412ee8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x5f
push str.d:jenkins.jenkinsworkspacelib_commondumpuperdump_uperexceptionreportexceptionreport.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.00409490
push 3
push 0x4ef538
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.00409490
mov byte [ebp - 4], 5
call fcn.00448b40
mov edi, eax
lea ecx, [ebp - 0x11c]
push 0xde
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00405ef0
mov esi, eax
push str.Create_file__
push esi
mov byte [ebp - 4], 6
call fcn.00406eb0
mov ecx, dword [ebp - 0x74]
mov eax, 0x4ee990
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.00405200
push str.__failed__error_
push esi
call fcn.00406eb0
add esp, 0x18
mov ecx, esi
push ebx
call fcn.00411650
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x11c]
call fcn.004070c0
lea ecx, [ebp - 0x58]
call fcn.00406910
lea ecx, [ebp - 0x70]
call fcn.00406910
mov edi, dword [ebp - 0x80]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4131a3
call fcn.00404110
mov ecx, eax
test ecx, ecx
je 0x4131ce
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x84], eax
mov dword [ebp - 4], 7
call fcn.00404110
mov ecx, eax
test ecx, ecx
je 0x4131d8
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 0x412f50
movzx eax, ax
push eax
call fcn.00404d40
jmp 0x412f5c
push 6
push str.__full
call fcn.00405030
mov ecx, dword [0x51fcc4]
mov byte [ebp - 4], 9
test ecx, ecx
jne 0x412fbe
push 0x51c13c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x51fcc4], 0
jne 0x412fad
push 0x48
call fcn.00458b87
add esp, 4
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 0xa
test eax, eax
je 0x412f9e
mov ecx, eax
call fcn.00405d60
mov ecx, eax
jmp 0x412fa0
xor ecx, ecx
mov byte [ebp - 4], 9
xchg dword [ebp - 0x78], eax
mov dword [0x51fcc4], ecx
push 0x51c13c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x51fcc4]
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.004078f0
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 0x412ff2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x78], 0
mov ecx, 0x1967
push 0
push 0
push 0
mov eax, 0x1965
cmovne eax, ecx
push eax
push dword [ebp - 0x7c]
mov eax, dword [esi + 8]
push dword [esi + 0x10]
push edi
call eax
push dword [ebp - 0x7c]
mov esi, eax
mov dword [ebp - 0x78], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x41317a
call fcn.00448b40
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x41317a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x5f
push str.d:jenkins.jenkinsworkspacelib_commondumpuperdump_uperexceptionreportexceptionreport.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.00409490
push 3
push 0x4ef538
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00409490
mov byte [ebp - 4], 0xc
call fcn.00448b40
mov edi, eax
lea ecx, [ebp - 0x1b4]
push 0xf6
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00405ef0
mov esi, eax
push str.Write_dump_failed__error_
push esi
mov byte [ebp - 4], 0xd
call fcn.00406eb0
add esp, 8
mov ecx, esi
push ebx
call fcn.00411650
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1b4]
call fcn.004070c0
mov edx, dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
cmp edx, 0x10
jb 0x413118
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41310e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4131e2
push edx
push ecx
call fcn.00458729
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 0x413162
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413158
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4131e7
push edx
push ecx
call fcn.00458729
add esp, 8
mov edi, dword [ebp - 0x80]
or ebx, 0xffffffff
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
push edi
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 0x4131a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x78]
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.00458b47
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00403e50
push 0x80004005
call fcn.00403e50
push 0x80004005
call fcn.00403e50
call fcn.00496138
call fcn.00496138
int3