Function at 0x10045d10
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009e2a2
mov eax, dword fs:[0]
push eax
sub esp, 0x4fc
mov eax, dword [0x100cb8d4]
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 ebx, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x460], edi
call fcn.1006f1a0
push 0x104
lea eax, [ebp - 0x218]
push eax
lea eax, [ebx + 0xc]
push eax
call fcn.10042190
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xfffffff
jb 0x10045efa
call fcn.1002d450
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10045ef0
push 0x65
push str.d:jenkins.jenkinsworkspacecore_libldsutilspublic_srcldsutilsldsutilswintoastwintoastlib.cpp
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], al
call fcn.10007eb0
push 3
push 0x100a17bc
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
call fcn.10007eb0
mov byte [ebp - 4], 1
call fcn.1002d450
mov edi, eax
lea ecx, [ebp - 0x508]
push 0x233
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.100047d0
mov esi, eax
push str.Error__shell_link_not_found._Try_to_create_a_new_one_in:
push esi
mov byte [ebp - 4], 2
call fcn.10005940
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.10002df0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x508]
call fcn.10005b70
mov edx, dword [ebp - 0x424]
cmp edx, 0x10
jb 0x10045e9b
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10045e91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004616f
push edx
push ecx
call fcn.1002ef38
add esp, 8
mov edx, dword [ebp - 0x43c]
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
cmp edx, 0x10
jb 0x10045ef0
mov ecx, dword [ebp - 0x450]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10045ee6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10046174
push edx
push ecx
call fcn.1002ef38
add esp, 8
mov eax, 0x80004005
jmp 0x10046151
mov dword [ebp - 0x45c], 0
lea eax, [ebp - 0x45c]
mov dword [ebp - 4], 3
push eax
push 0x100a18f4
push 1
push 0
push 0x100a3cd8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x1004612e
mov dword [ebp - 0x458], 0
mov eax, dword [ebp - 0x45c]
lea edx, [ebp - 0x458]
push edx
push 0x100a1970
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 4
call dword [ecx]
mov esi, eax
test esi, esi
js 0x10046110
mov eax, dword [ebp - 0x458]
lea edx, [ebp - 0x218]
push 2
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov esi, eax
test esi, esi
js 0x10046110
mov dword [ebp - 0x454], 0
lea eax, [ebp - 0x454]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x45c]
call fcn.1003ec30
mov esi, eax
test esi, esi
js 0x100460f2
mov eax, dword [ebp - 0x454]
lea edx, [ebp - 0x470]
push edx
push 0x100a3cf8
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov esi, eax
test esi, esi
js 0x100460f2
push 0x104
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x470]
push eax
call dword [0x100d2688]
mov esi, eax
mov byte [edi], 0
test esi, esi
js 0x1004604c
lea ecx, [ebp - 0x420]
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10045ff5
sub ecx, edi
lea edi, [ebx + 0x24]
sar ecx, 1
cmp dword [ebx + 0x38], 8
jb 0x10046010
mov edi, dword [ebx + 0x24]
mov edx, dword [ebx + 0x34]
cmp edx, ecx
jne 0x10046046
lea ecx, [ebp - 0x420]
test edx, edx
je 0x100460e5
mov eax, ecx
sub edi, eax
nop dword [eax]
mov ax, word [ecx + edi]
cmp ax, word [ecx]
jne 0x10046046
add ecx, 2
sub edx, 1
jne 0x10046030
jmp 0x100460e5
mov edi, dword [ebp - 0x460]
cmp dword [ebx + 8], 2
jne 0x100460e0
lea eax, [ebp - 0x470]
mov byte [edi], 1
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
cmp dword [ebx + 0x38], 8
lea eax, [ebx + 0x24]
jb 0x10046071
mov eax, dword [eax]
lea ecx, [ebp - 0x470]
push ecx
push eax
call fcn.10040470
mov esi, eax
add esp, 8
test esi, esi
js 0x100460e5
mov eax, dword [ebp - 0x454]
lea edx, [ebp - 0x470]
push edx
push 0x100a3cf8
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
test esi, esi
js 0x100460e5
mov eax, dword [ebp - 0x454]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
js 0x100460e5
mov eax, dword [ebp - 0x458]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
test eax, eax
js 0x100460e5
mov eax, dword [ebp - 0x458]
lea edx, [ebp - 0x218]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
jmp 0x100460e5
mov esi, 0x80004005
lea eax, [ebp - 0x470]
push eax
call dword [sym.imp.ole32.dll_PropVariantClear]
mov ecx, dword [ebp - 0x454]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x10046110
mov dword [ebp - 0x454], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x458]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x1004612e
mov dword [ebp - 0x458], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x45c]
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x1004614f
mov dword [ebp - 0x45c], 0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, esi
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.1002f2ae
mov esp, ebp
pop ebp
ret 4
call fcn.10072639
call fcn.10072639
int3