Function at 0x10008d20
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100856ab
mov eax, dword fs:[0]
push eax
sub esp, 0x57c
mov eax, dword [0x100ae1c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4ec], ecx
mov dword [ebp - 4], 1
call fcn.1001f000
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10008eb6
push 0x5b
push str.d:jenkins.jenkinsworkspacelib_commonpopular_sellpopular_sell_srcmain_wndmain_wnd.cc
lea ecx, [ebp - 0x480]
mov dword [ebp - 0x470], eax
mov dword [ebp - 0x46c], 0xf
mov byte [ebp - 0x480], al
call fcn.100036c0
push 3
push 0x1008c8e8
lea ecx, [ebp - 0x4e8]
mov byte [ebp - 4], 2
mov dword [ebp - 0x4d8], 0
mov dword [ebp - 0x4d4], 0xf
mov byte [ebp - 0x4e8], 0
call fcn.100036c0
mov byte [ebp - 4], 3
call fcn.1001f000
mov edi, eax
lea ecx, [ebp - 0x588]
push 0xe6
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x4e8]
push eax
call fcn.10003f40
mov esi, eax
push str.start_download
push esi
mov byte [ebp - 4], 4
call fcn.10004c90
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x588]
call fcn.10004db0
mov edx, dword [ebp - 0x4d4]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x10008e5d
mov ecx, dword [ebp - 0x4e8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10008e53
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000990b
push edx
push ecx
call fcn.1001a8f0
add esp, 8
mov edx, dword [ebp - 0x46c]
mov dword [ebp - 0x4d8], 0
mov dword [ebp - 0x4d4], 0xf
mov byte [ebp - 0x4e8], 0
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x10008eb6
mov ecx, dword [ebp - 0x480]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10008eac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009910
push edx
push ecx
call fcn.1001a8f0
add esp, 8
lea eax, [ebp - 0x4b0]
push eax
call fcn.10011270
add esp, 4
cmp dword [ebp - 0x49c], 8
lea esi, [ebp - 0x4b0]
mov ecx, dword [0x100b2538]
cmovae esi, dword [ebp - 0x4b0]
mov byte [ebp - 4], 5
test ecx, ecx
jne 0x10008f49
push 0x100ae030
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x100b2538], 0
jne 0x10008f38
push 4
call fcn.1001a8c0
add esp, 4
mov dword [ebp - 0x468], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x10008f22
mov ecx, eax
mov dword [eax], 0
call fcn.1001bb00
jmp 0x10008f24
xor eax, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x468]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x100b2538], eax
push 0x100ae030
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x100b2538]
push 0
push 0
push 1
push esi
push str.down_start
call fcn.1001bbb0
cmp dword [ebp + 0x18], 0
je 0x1000958c
cmp dword [ebp + 0x30], 0
je 0x1000958c
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0x4f0], esp
push 4
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
push str..exe
mov word [ecx], ax
call fcn.100037c0
sub esp, 0x18
mov byte [ebp - 4], 7
mov edi, esp
lea ecx, [ebp + 8]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x4d0], ecx
cmp eax, 8
jae 0x10008fdd
movups xmm0, xmmword [ecx]
movups xmmword [edi], xmm0
mov dword [edi + 0x14], 7
jmp 0x1000901f
mov esi, eax
mov ecx, edi
mov eax, 0x7ffffffe
or esi, 7
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.10003650
mov ecx, dword [ebp - 0x468]
mov dword [edi], eax
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x4d0]
push eax
call fcn.100469b0
mov eax, dword [ebp - 0x468]
add esp, 0xc
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], eax
lea eax, [ebp - 0x4c8]
push eax
mov byte [ebp - 4], 5
call fcn.10011010
add esp, 0x34
cmp dword [ebp - 0x4b8], 0
mov byte [ebp - 4], 8
je 0x10009581
push 0x208
lea eax, [ebp - 0x464]
push 0
push eax
call fcn.100474b0
add esp, 0xc
lea eax, [ebp - 0x464]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x10009581
push 0x208
lea eax, [ebp - 0x25c]
push 0
push eax
call fcn.100474b0
add esp, 0xc
lea eax, [ebp - 0x4c8]
cmp dword [ebp - 0x4b4], 8
cmovae eax, dword [ebp - 0x4c8]
push eax
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x25c]
push eax
call esi
test eax, eax
je 0x100091d7
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x25c]
push eax
call esi
test eax, eax
je 0x100091d7
call fcn.1001f000
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10009581
push 0x5b
push str.d:jenkins.jenkinsworkspacelib_commonpopular_sellpopular_sell_srcmain_wndmain_wnd.cc
lea ecx, [ebp - 0x4e8]
mov dword [ebp - 0x4d8], eax
mov dword [ebp - 0x4d4], 0xf
mov byte [ebp - 0x4e8], al
call fcn.100036c0
push 3
push 0x1008c8e8
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 9
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0xf
mov byte [ebp - 0x480], 0
call fcn.100036c0
mov byte [ebp - 4], 0xa
call fcn.1001f000
mov edi, eax
lea ecx, [ebp - 0x588]
push 0xf9
lea eax, [ebp - 0x4e8]
push eax
lea eax, [ebp - 0x480]
push eax
call fcn.10003f40
mov esi, eax
push str.file_path_error_path:
push esi
mov byte [ebp - 4], 0xb
call fcn.10004c90
lea eax, [ebp - 0x25c]
push eax
push esi
call fcn.10006a60
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x588]
call fcn.10004db0
lea ecx, [ebp - 0x480]
call fcn.100048f0
lea ecx, [ebp - 0x4e8]
call fcn.100048f0
jmp 0x10009581
mov eax, dword [ebp + 0x18]
test eax, eax
jne 0x1000920b
push eax
push 0x1008c51c
lea ecx, [ebp - 0x498]
mov dword [ebp - 0x488], eax
mov dword [ebp - 0x484], 7
mov word [ebp - 0x498], ax
call fcn.100037c0
jmp 0x10009303
xor ecx, ecx
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 7
mov word [ebp - 0x480], cx
lea edi, [eax*2 + 1]
mov byte [ebp - 4], 0xc
add edi, eax
mov edx, 2
mov eax, edi
mov dword [ebp - 0x468], edi
mul edx
push 0x100b26c6
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1001adfe
mov esi, eax
add esp, 8
test esi, esi
jne 0x10009289
push eax
push 0x1008c51c
lea ecx, [ebp - 0x498]
mov dword [ebp - 0x488], eax
mov dword [ebp - 0x484], 7
mov word [ebp - 0x498], ax
call fcn.100037c0
jmp 0x10009303
lea eax, [edi + edi]
push eax
push 0
push esi
call fcn.100474b0
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x468]
push 0
push edi
push ecx
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push esi
push eax
call fcn.100087c0
add esp, 0x20
test eax, eax
je 0x100092dc
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100092c0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x480]
call fcn.100037c0
push esi
call fcn.1001adf9
movups xmm0, xmmword [ebp - 0x480]
add esp, 4
movups xmmword [ebp - 0x498], xmm0
movq xmm0, qword [ebp - 0x470]
movq qword [ebp - 0x488], xmm0
mov byte [ebp - 4], 0xd
call fcn.10009d00
mov ecx, eax
test ecx, ecx
je 0x10009915
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x468], eax
lea eax, [ebp - 0x25c]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x468]
call fcn.10008bf0
test al, al
jne 0x10009372
lea ecx, [ebp - 0x25c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009350
sub ecx, edx
lea eax, [ebp - 0x25c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x468]
call fcn.1000bc20
cmp dword [ebp - 0x484], 8
lea esi, [ebp - 0x498]
mov byte [ebp - 4], 0xf
cmovae esi, dword [ebp - 0x498]
call fcn.10009d00
mov ecx, eax
test ecx, ecx
je 0x1000991f
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x4d0], eax
push esi
lea ecx, [ebp - 0x4d0]
mov byte [ebp - 4], 0x10
call fcn.10008bf0
test al, al
jne 0x100093ec
test esi, esi
jne 0x100093c5
xor ecx, ecx
jmp 0x100093df
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100093d0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x4d0]
call fcn.1000bc20
mov edi, dword [ebp - 0x4ec]
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 0x11
push dword [edi + 0x58]
push 0x124f80
push 0
push eax
lea eax, [ebp - 0x4d0]
push eax
call fcn.1000be90
mov edx, dword [ebp - 0x4d0]
add esp, 0x14
test eax, eax
mov byte [ebp - 4], 0xf
sete byte [ebp - 0x4c9]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10009443
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x468]
mov byte [ebp - 4], 0xd
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10009462
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x4c9], 0
je 0x100095d4
cmp dword [ebp - 0x49c], 8
lea eax, [ebp - 0x4b0]
push 0
cmovae eax, dword [ebp - 0x4b0]
push 0
push 1
push eax
push str.down_fail
call fcn.10009bb0
mov ecx, eax
call fcn.1001bbb0
call fcn.1001f000
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10009576
push 0x5b
push str.d:jenkins.jenkinsworkspacelib_commonpopular_sellpopular_sell_srcmain_wndmain_wnd.cc
lea ecx, [ebp - 0x4e8]
mov dword [ebp - 0x4d8], eax
mov dword [ebp - 0x4d4], 0xf
mov byte [ebp - 0x4e8], al
call fcn.100036c0
push 3
push 0x1008c8e8
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0xf
mov byte [ebp - 0x480], 0
call fcn.100036c0
mov byte [ebp - 4], 0x13
call fcn.1001f000
mov edi, eax
lea ecx, [ebp - 0x588]
push 0x101
lea eax, [ebp - 0x4e8]
push eax
lea eax, [ebp - 0x480]
push eax
call fcn.10003f40
mov esi, eax
mov byte [ebp - 4], 0x14
push str.download_fail
push esi
call fcn.10004c90
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x588]
call fcn.10004db0
lea ecx, [ebp - 0x480]
call fcn.100048f0
lea ecx, [ebp - 0x4e8]
call fcn.100048f0
lea ecx, [ebp - 0x498]
call fcn.10002f40
lea ecx, [ebp - 0x4c8]
call fcn.10002f40
lea ecx, [ebp - 0x4b0]
call fcn.10002f40
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x100098a4
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000989a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009929
jmp 0x1000989a
push 0x42
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.100474b0
push 0x21
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.1002f570
add esp, 0x18
lea ecx, [ebp - 0x54]
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push ecx
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x100096ee
cmp dword [ebp - 0x49c], 8
lea eax, [ebp - 0x4b0]
push 0
cmovae eax, dword [ebp - 0x4b0]
push 0
push 1
push eax
push 0x1008cc8c
call fcn.10009bb0
mov ecx, eax
call fcn.1001bbb0
call fcn.1001f000
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10009576
push 0x5b
push str.d:jenkins.jenkinsworkspacelib_commonpopular_sellpopular_sell_srcmain_wndmain_wnd.cc
lea ecx, [ebp - 0x4e8]
mov dword [ebp - 0x4d8], eax
mov dword [ebp - 0x4d4], 0xf
mov byte [ebp - 0x4e8], al
call fcn.100036c0
push 3
push 0x1008c8e8
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0xf
mov byte [ebp - 0x480], 0
call fcn.100036c0
mov byte [ebp - 4], 0x16
call fcn.1001f000
mov edi, eax
lea ecx, [ebp - 0x588]
push 0x109
lea eax, [ebp - 0x4e8]
push eax
lea eax, [ebp - 0x480]
push eax
call fcn.10003f40
mov esi, eax
mov byte [ebp - 4], 0x17
push str.file_check_fail
jmp 0x10009544
lea ecx, [ebp - 0x25c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100096f7
sub ecx, edx
lea eax, [ebp - 0x25c]
sar ecx, 1
push ecx
push eax
lea ecx, [edi + 0xa0]
call fcn.100037c0
lea ecx, [edi + 0x28]
call fcn.10003490
cmp dword [edi + 0x94], 0
jne 0x10009797
push 0x2c
call fcn.1001a8c0
mov esi, eax
add esp, 4
mov dword [ebp - 0x4f0], esi
mov byte [ebp - 4], 0x18
test esi, esi
je 0x1000975a
push 0x2c
push 0
push esi
call fcn.100474b0
add esp, 0xc
mov ecx, esi
call fcn.1000fa00
jmp 0x1000975c
xor eax, eax
push 0x1401
push dword [edi + 4]
mov ecx, eax
mov byte [ebp - 4], 0xd
mov dword [edi + 0x94], eax
call fcn.100108a0
mov ecx, dword [edi + 0x94]
push 1
call fcn.10010b50
push 0
push 0x493e0
push 0x3e9
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [ebp - 0x484]
cmp edx, 8
jb 0x100097d7
mov ecx, dword [ebp - 0x498]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100097cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000992e
push edx
push ecx
call fcn.1001a8f0
add esp, 8
mov edx, dword [ebp - 0x4b4]
xor eax, eax
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 7
mov word [ebp - 0x498], ax
cmp edx, 8
jb 0x10009834
mov ecx, dword [ebp - 0x4c8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000982a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009933
push edx
push ecx
call fcn.1001a8f0
add esp, 8
mov edx, dword [ebp - 0x49c]
xor eax, eax
mov dword [ebp - 0x4b8], 0
mov dword [ebp - 0x4b4], 7
mov word [ebp - 0x4c8], ax
cmp edx, 8
jb 0x10009597
mov ecx, dword [ebp - 0x4b0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000988b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009938
push edx
push ecx
call fcn.1001a8f0
add esp, 8
jmp 0x10009597
push edx
push ecx
call fcn.1001a8f0
add esp, 8
mov edx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp edx, 8
jb 0x100098ee
mov ecx, dword [ebp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100098e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000993d
push edx
push ecx
call fcn.1001a8f0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001ac61
mov esp, ebp
pop ebp
ret 0x30
call fcn.1004a9c9
call fcn.1004a9c9
push 0x80004005
call fcn.10008b80
push 0x80004005
call fcn.10008b80
call fcn.1004a9c9
call fcn.1004a9c9
call fcn.1004a9c9
call fcn.1004a9c9
call fcn.1004a9c9
int3