Function at 0x1000d290
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d09f9
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x1011449c]
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
push str.z12.dat
lea eax, [esi + 0x14]
xor edi, edi
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.10007150
add esp, 0xc
push edi
push 0x100e1de0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.100058c0
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000d3ea
call fcn.1005f9c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000d3d2
push 0x65
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12_grab_versionhookhomepage_1145configconfig.cpp
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], al
call fcn.100058c0
push 3
push 0x100e21cc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.100058c0
mov byte [ebp - 4], 3
call fcn.1005f9c0
mov edi, eax
lea ecx, [ebp - 0x120]
push 0x1ac
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10008480
mov esi, eax
push str.res_product_json_file_is_not_exist
push esi
mov byte [ebp - 4], 4
call fcn.10009b60
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x120]
call fcn.10009f10
lea ecx, [ebp - 0x28]
call fcn.10003f50
lea ecx, [ebp - 0x58]
call fcn.10003f50
xor edi, edi
lea ecx, [ebp - 0x40]
call fcn.10003f50
lea ecx, [ebp - 0x88]
call fcn.10008e10
jmp 0x1000d630
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push ecx
push eax
call fcn.1006bcc0
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
push 0x24
push 0x100e1d40
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.100058c0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10085840
mov edx, dword [ebp - 0x14]
add esp, 0xc
test eax, eax
mov byte [ebp - 4], 5
sete bl
cmp edx, 0x10
jb 0x1000d494
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d48a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d64e
push edx
push ecx
call fcn.10080302
add esp, 8
test bl, bl
je 0x1000d562
call fcn.1005f9c0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000d555
push 0x65
push str.d:jenkins.jenkinsworkspacelib_commoncomputerz12_grab_versionhookhomepage_1145configconfig.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.100058c0
push 3
push 0x100e21cc
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.100058c0
mov byte [ebp - 4], 8
call fcn.1005f9c0
mov edi, eax
lea ecx, [ebp - 0x120]
push 0x1b4
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10008480
mov esi, eax
push str.Decrypt_failed
push esi
mov byte [ebp - 4], 9
call fcn.10009b60
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x120]
call fcn.10009f10
lea ecx, [ebp - 0x58]
call fcn.10003f50
lea ecx, [ebp - 0x28]
call fcn.10003f50
xor edi, edi
lea ecx, [ebp - 0x70]
call fcn.10003f50
jmp 0x1000d3d2
mov eax, dword [esi]
lea ecx, [ebp - 0x70]
push ecx
mov ecx, esi
call dword [eax + 0x34]
mov edx, dword [ebp - 0x5c]
mov edi, eax
cmp edx, 0x10
jb 0x1000d5a3
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d599
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d653
push edx
push ecx
call fcn.10080302
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
cmp edx, 0x10
jb 0x1000d5e5
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d5db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d658
push edx
push ecx
call fcn.10080302
add esp, 8
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp edx, 8
jb 0x1000d630
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d626
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d65d
push edx
push ecx
call fcn.10080302
add esp, 8
mov eax, edi
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.10080681
mov esp, ebp
pop ebp
ret
call fcn.100aae05
call fcn.100aae05
call fcn.100aae05
call fcn.100aae05
int3