Function at 0x429ac0
Capabilities:
Check if file exists
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4b53
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x4d6390]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0xa8], ecx
xor ecx, ecx
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x94], eax
mov byte [ebp - 0x5d], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], cx
mov byte [ebp - 4], 1
cmp dword [eax + 0x10], ecx
jne 0x429c3a
call fcn.00433d90
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42a2b5
push 0x55
push str.d:jenkins.jenkinsworkspacepay_groupdll_repairdll_repairdll_repair_srcutils.cc
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], al
call fcn.0040a100
push 3
push 0x4abab4
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
call fcn.0040a100
mov byte [ebp - 4], 3
call fcn.00433d90
mov edi, eax
lea ecx, [ebp - 0x170]
push 0xe5
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00405130
mov esi, eax
mov eax, dword [ebp - 0xa4]
mov ecx, eax
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 8
jb 0x429bec
mov ecx, dword [eax]
test ecx, ecx
mov eax, 0x4ab884
cmovne eax, ecx
push eax
push esi
call fcn.004043f0
push str._download_url_is_empty
push esi
call fcn.004060d0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x170]
call fcn.00406330
lea ecx, [ebp - 0x90]
call fcn.00405aa0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.00405aa0
jmp 0x42a2b5
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x429c44
mov eax, dword [edi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x429d93
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x5c], eax
cmp eax, 0xb7
je 0x429d93
call fcn.00433d90
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x429d69
push 0x55
push str.d:jenkins.jenkinsworkspacepay_groupdll_repairdll_repairdll_repair_srcutils.cc
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], al
call fcn.0040a100
push 3
push 0x4abab4
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 5
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
call fcn.0040a100
mov byte [ebp - 4], 6
call fcn.00433d90
mov dword [ebp - 0xa0], eax
lea ecx, [ebp - 0x170]
push 0xec
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00405130
mov esi, eax
push str.create_dir:
push esi
mov byte [ebp - 4], 7
call fcn.004060d0
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x429d12
mov edi, dword [edi]
test edi, edi
mov eax, 0x4ab884
cmovne eax, edi
push eax
push esi
call fcn.004043f0
push str._failed__err:
push esi
call fcn.004060d0
add esp, 0x10
mov ecx, esi
push dword [ebp - 0x5c]
call fcn.00405f30
mov ecx, dword [ebp - 0xa0]
push esi
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x170]
call fcn.00406330
lea ecx, [ebp - 0x90]
call fcn.00405aa0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.00405aa0
mov ecx, str.mkdir_failed
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429d71
sub ecx, edx
sar ecx, 1
push ecx
push str.mkdir_failed
lea ecx, [ebp - 0x40]
call fcn.0040a200
jmp 0x42a2b5
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x429d9d
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x429db9
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x429db2
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x5c], esi
jb 0x429dc7
mov eax, dword [esi]
mov dword [ebp - 0x5c], eax
call fcn.00407a50
mov ecx, eax
test ecx, ecx
je 0x42a58b
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x9c], eax
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 8
call fcn.00406930
test al, al
jne 0x429e2d
mov edx, dword [ebp - 0x5c]
test edx, edx
jne 0x429e07
xor ecx, ecx
jmp 0x429e20
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x5c], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429e10
sub ecx, dword [ebp - 0x5c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x9c]
call fcn.00408200
mov eax, dword [ebp - 0x94]
mov byte [ebp - 4], 9
cmp dword [eax + 0x14], 8
jb 0x429e45
mov eax, dword [eax]
mov dword [ebp - 0x94], eax
call fcn.00407a50
mov ecx, eax
test ecx, ecx
je 0x42a595
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x98], eax
push dword [ebp - 0x94]
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xa
call fcn.00406930
test al, al
jne 0x429eb0
mov edx, dword [ebp - 0x94]
test edx, edx
jne 0x429e8b
xor ecx, ecx
jmp 0x429ea3
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x5c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429e93
sub ecx, dword [ebp - 0x5c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x98]
call fcn.00408200
push dword [ebp - 0xa8]
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 0xb
push 0x3a980
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.004468b0
mov edx, dword [ebp - 0x98]
or ecx, 0xffffffff
mov dword [ebp - 0x5c], eax
add esp, 0x10
mov byte [ebp - 4], 9
add edx, 0xfffffff0
mov eax, ecx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x429eff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
mov edx, dword [ebp - 0x9c]
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x429f1e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x5c], 0
jne 0x42a048
call fcn.00433d90
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42a01e
push 0x55
push str.d:jenkins.jenkinsworkspacepay_groupdll_repairdll_repairdll_repair_srcutils.cc
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], al
call fcn.0040a100
push 3
push 0x4abab4
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
call fcn.0040a100
mov byte [ebp - 4], 0xd
call fcn.00433d90
mov edi, eax
lea ecx, [ebp - 0x170]
push 0xf8
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00405130
mov esi, eax
push str.download
push esi
mov byte [ebp - 4], 0xe
call fcn.004043f0
mov eax, dword [ebp - 0xa4]
add esp, 8
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x429fd5
mov ecx, dword [eax]
test ecx, ecx
mov eax, 0x4ab884
cmovne eax, ecx
push eax
push esi
call fcn.004043f0
push str._failed
push esi
call fcn.004060d0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x170]
call fcn.00406330
lea ecx, [ebp - 0x90]
call fcn.00405aa0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.00405aa0
mov ecx, str.download_failed
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a026
sub ecx, edx
sar ecx, 1
push ecx
push str.download_failed
lea ecx, [ebp - 0x40]
call fcn.0040a200
jmp 0x42a2b5
cmp dword [esi + 0x14], 8
jb 0x42a050
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42a152
call fcn.00433d90
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42a126
push 0x55
push str.d:jenkins.jenkinsworkspacepay_groupdll_repairdll_repairdll_repair_srcutils.cc
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], al
call fcn.0040a100
push 3
push 0x4abab4
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
call fcn.0040a100
mov byte [ebp - 4], 0x10
call fcn.00433d90
mov edi, eax
lea ecx, [ebp - 0x170]
push 0xfe
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00405130
mov esi, eax
push str.setup_package_is_not_exist
push esi
mov byte [ebp - 4], 0x11
call fcn.004060d0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x170]
call fcn.00406330
lea ecx, [ebp - 0x90]
call fcn.00405aa0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.00405aa0
mov ecx, str.path_notexist
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a130
sub ecx, edx
sar ecx, 1
push ecx
push str.path_notexist
lea ecx, [ebp - 0x40]
call fcn.0040a200
jmp 0x42a2b5
push 0
push dword [ebp - 0xa8]
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x3a980
push eax
push dword [ebp - 0xa0]
call fcn.0042c1d0
add esp, 0x10
test al, al
jne 0x42a2a0
call fcn.00433d90
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x42a279
push 0x55
push str.d:jenkins.jenkinsworkspacepay_groupdll_repairdll_repairdll_repair_srcutils.cc
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], al
call fcn.0040a100
push 3
push 0x4abab4
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
call fcn.0040a100
mov byte [ebp - 4], 0x13
call fcn.00433d90
mov edi, eax
lea ecx, [ebp - 0x170]
push 0x105
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00405130
mov esi, eax
push str.run_app_failed__cmd:
push esi
mov byte [ebp - 4], 0x14
call fcn.004060d0
mov ecx, dword [ebp - 0xa0]
add esp, 8
cmp dword [ecx + 0x14], 8
jb 0x42a226
mov ecx, dword [ecx]
test ecx, ecx
mov eax, 0x4ab884
cmovne eax, ecx
push eax
push esi
call fcn.004043f0
push str.__wait:
push esi
call fcn.004060d0
add esp, 0x10
mov ecx, esi
push dword [ebp - 0x5c]
call fcn.00405f30
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x170]
call fcn.00406330
lea ecx, [ebp - 0x90]
call fcn.00405aa0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.00405aa0
mov ecx, str.runapp_failed
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a281
sub ecx, edx
sar ecx, 1
push ecx
push str.runapp_failed
lea ecx, [ebp - 0x40]
call fcn.0040a200
jmp 0x42a2b5
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call fcn.004291a0
add esp, 4
mov byte [ebp - 0x5d], 1
cmp dword [ebp - 0x30], 0
je 0x42a537
push dword [ebp - 0xa4]
lea ecx, [ebp - 0x28]
call fcn.0040d460
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
mov byte [ebp - 4], 0x15
lea eax, [edx + eax*2]
lea edx, [ebp - 0x28]
mov esi, eax
cmovae edx, dword [ebp - 0x28]
xor edi, edi
sub esi, edx
xor ecx, ecx
inc esi
shr esi, 1
cmp edx, eax
cmova esi, edi
test esi, esi
je 0x42a311
lea eax, [ecx + 0x5f]
cmp word [edx], 0x20
jne 0x42a309
mov word [edx], ax
inc ecx
add edx, 2
cmp ecx, esi
jne 0x42a300
mov ecx, str.lib_name
mov dword [ebp - 0xc8], edi
xor eax, eax
mov dword [ebp - 0xc4], 7
mov word [ebp - 0xd8], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42a332
sub ecx, edx
sar ecx, 1
push ecx
push str.lib_name
lea ecx, [ebp - 0xd8]
call fcn.0040a200
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0xc0]
push str.ex_ary_
push eax
call fcn.00418930
add esp, 0xc
push 2
push 0x4b1d24
mov ecx, eax
mov byte [ebp - 4], 0x17
call fcn.00409f70
mov dword [ebp - 0x68], 0
xor ecx, ecx
mov dword [ebp - 0x64], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x78], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x68], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x78]
push eax
mov byte [ebp - 4], 0x18
call fcn.00409f70
xor ecx, ecx
mov byte [ebp - 4], 0x17
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x90], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x64]
movq qword [ebp - 0x80], xmm0
cmp edx, 8
jb 0x42a435
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a42b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a59f
push edx
push ecx
call fcn.0045801e
add esp, 8
mov edx, dword [ebp - 0xac]
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
mov byte [ebp - 4], 0x16
cmp edx, 8
jb 0x42a48d
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a483
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a5a4
push edx
push ecx
call fcn.0045801e
add esp, 8
xor eax, eax
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], ax
cmp dword [ebp - 0x7c], 8
lea eax, [ebp - 0x90]
push dword [ebp - 0x80]
cmovae eax, dword [ebp - 0x90]
lea ecx, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0x19
call fcn.00409f70
lea ecx, [ebp - 0x90]
call fcn.00405af0
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x15
call fcn.00405af0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0042c700
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.00405af0
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x42a537
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a52d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a5a9
push edx
push ecx
call fcn.0045801e
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x42a56d
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a563
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a5ae
push edx
push ecx
call fcn.0045801e
add esp, 8
mov al, byte [ebp - 0x5d]
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.004582e2
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00406910
push 0x80004005
call fcn.00406910
call fcn.0047cbf9
call fcn.0047cbf9
call fcn.0047cbf9
call fcn.0047cbf9
int3