Function at 0x10007df0
Capabilities:
Get common file path
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10080112
mov eax, dword fs:[0]
push eax
mov eax, 0x12cc
call fcn.10051b80
mov eax, dword [0x100ae254]
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 dword [ebp - 0x12c8], 0
cmp dword [0x100af988], 0
jne 0x10007e86
push 0x208
lea eax, [ebp - 0x27c]
mov dword [0x100af988], 1
push 0
push eax
call fcn.10058a20
add esp, 0xc
lea eax, [ebp - 0x27c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x10089e58
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x27c]
push eax
call fcn.10030da0
push 0x1000
lea eax, [ebp - 0x127c]
push 0
push eax
call fcn.10058a20
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x127c]
push 0x7ff
push eax
call dword [sym.imp.SHLWAPI.dll_wvnsprintfW]
mov ebx, eax
mov dword [ebp - 0x12d8], ebx
test ebx, ebx
jle 0x100082e8
call fcn.10008b70
mov ecx, eax
test ecx, ecx
je 0x10008306
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x12d4], eax
mov dword [ebp - 4], 1
mov ecx, dword [0x100af984]
test ecx, ecx
jne 0x10007f4f
push 0x100ad004
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x100af984], 0
jne 0x10007f3e
push 0x14
call fcn.10051708
add esp, 4
mov dword [ebp - 0x12d0], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x10007f28
mov ecx, eax
call fcn.10014250
jmp 0x10007f2a
xor eax, eax
mov byte [ebp - 4], 1
xor edx, edx
lea ecx, [ebp - 0x12d0]
lock or dword [ecx], edx
mov dword [0x100af984], eax
push 0x100ad004
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x100af984]
lea eax, [ebp - 0x12cc]
push eax
call fcn.10014490
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x127c]
push ecx
push dword [eax]
lea eax, [ebp - 0x12d4]
push str.__s__s
push eax
call fcn.10008430
add esp, 0x10
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov edx, dword [ebp - 0x12cc]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10007fa0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10030aa0
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
mov esi, dword [ebp - 0x12d4]
movzx eax, al
sub eax, 1
jne 0x100082c5
push 0x48
mov dword [ebp - 0x1284], 0
lea ecx, [ebp - 0x1294]
mov dword [ebp - 0x1280], 0
push str.d:jenkins.jenkinsworkspacelib_commonldssrvlds_srvldssrvcommdef.h
mov dword [ebp - 0x1284], 0
mov dword [ebp - 0x1280], 0xf
mov byte [ebp - 0x1294], 0
call fcn.10011d00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x12ac]
push 3
mov dword [ebp - 0x129c], 0
mov dword [ebp - 0x1298], 0
push 0x10089e54
mov dword [ebp - 0x129c], 0
mov dword [ebp - 0x1298], 0xf
mov byte [ebp - 0x12ac], 0
call fcn.10011d00
mov byte [ebp - 4], 6
call fcn.10030aa0
push 1
push 2
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x12d0], eax
call fcn.10004050
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1294]
push 0xffffffffffffffff
push 0x10089e38
call fcn.100133c0
push 0xffffffffffffffff
push 0x10089e3c
lea ecx, [ebp - 0x1294]
mov dword [ebp - 0x12cc], eax
call fcn.100133c0
push 0x64
mov ebx, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.10058a20
add esp, 0xc
cmp ebx, 0xffffffff
je 0x1000818a
mov ecx, dword [ebp - 0x12cc]
lea eax, [ebx - 1]
cmp ecx, eax
jae 0x1000818a
lea edx, [ecx + 1]
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x1284]
mov dword [ebp - 0x12b4], 0
mov dword [ebp - 0x12b0], 0
mov dword [ebp - 0x12b4], 0
mov dword [ebp - 0x12b0], 0xf
mov byte [ebp - 0x12c4], 0
cmp eax, edx
jb 0x10008310
sub ebx, ecx
sub eax, edx
lea ecx, [ebx - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x1280], 0x10
lea eax, [ebp - 0x1294]
cmovae eax, dword [ebp - 0x1294]
push ecx
add eax, edx
lea ecx, [ebp - 0x12c4]
push eax
call fcn.10011d00
cmp dword [ebp - 0x12b0], 0x10
lea eax, [ebp - 0x12c4]
mov dword [ebp - 0x12c8], 1
cmovae eax, dword [ebp - 0x12c4]
push eax
push 0x6f
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.10003790
mov eax, 1
add esp, 0x10
mov dword [ebp - 0x12c8], eax
and eax, 0xfffffffe
mov dword [ebp - 0x12c8], eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x12c4]
call fcn.10005870
jmp 0x1000819d
push 0x6f
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.10003790
add esp, 0xc
cmp dword [ebp - 0x1298], 0x10
lea eax, [ebp - 0x12ac]
cmovae eax, dword [ebp - 0x12ac]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.10006d70
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.10006d70
mov byte [ebp - 4], 9
test esi, esi
mov eax, 0x10089e28
cmovne eax, esi
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.100027f0
mov ecx, dword [ebp - 0x12d0]
lea edx, [ebp - 0x10c]
add esp, 0x18
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10c]
call fcn.10006f70
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x1298]
cmp edx, 0x10
jb 0x1000824b
mov ecx, dword [ebp - 0x12ac]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10008241
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10008315
push edx
push ecx
call fcn.10051738
add esp, 8
mov dword [ebp - 0x129c], 0
mov dword [ebp - 0x1298], 0xf
mov byte [ebp - 0x12ac], 0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1280]
cmp edx, 0x10
jb 0x100082a4
mov ecx, dword [ebp - 0x1294]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000829a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000831a
push edx
push ecx
call fcn.10051738
add esp, 8
mov ebx, dword [ebp - 0x12d8]
mov dword [ebp - 0x1284], 0
mov dword [ebp - 0x1280], 0xf
mov byte [ebp - 0x1294], 0
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x100082e8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
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.10051ab7
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10007a30
call fcn.10011910
call fcn.1005bb49
call fcn.1005bb49
int3