Function at 0x1000d2a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cd789
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x1010f404]
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.10007030
add esp, 0xc
push edi
push 0x100ddde0
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.100057a0
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 0x1000d3fa
call fcn.1005e780
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000d3e2
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.100057a0
push 3
push 0x100de1bc
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.100057a0
mov byte [ebp - 4], 3
call fcn.1005e780
mov edi, eax
lea ecx, [ebp - 0x120]
push 0x1b3
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.10008360
mov esi, eax
push str.res_product_json_file_is_not_exist
push esi
mov byte [ebp - 4], 4
call fcn.10009a40
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x120]
call fcn.10009f30
lea ecx, [ebp - 0x28]
call fcn.10003e30
lea ecx, [ebp - 0x58]
call fcn.10003e30
xor edi, edi
lea ecx, [ebp - 0x40]
call fcn.10003e30
lea ecx, [ebp - 0x88]
call fcn.10008cf0
jmp 0x1000d640
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push ecx
push eax
call fcn.1006a560
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
push 0x24
push 0x100ddd40
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.100057a0
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.10082650
mov edx, dword [ebp - 0x14]
add esp, 0xc
test eax, eax
mov byte [ebp - 4], 5
sete bl
cmp edx, 0x10
jb 0x1000d4a4
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d49a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d65e
push edx
push ecx
call fcn.1007d115
add esp, 8
test bl, bl
je 0x1000d572
call fcn.1005e780
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1000d565
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.100057a0
push 3
push 0x100de1bc
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.100057a0
mov byte [ebp - 4], 8
call fcn.1005e780
mov edi, eax
lea ecx, [ebp - 0x120]
push 0x1bb
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10008360
mov esi, eax
push str.Decrypt_failed
push esi
mov byte [ebp - 4], 9
call fcn.10009a40
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x120]
call fcn.10009f30
lea ecx, [ebp - 0x58]
call fcn.10003e30
lea ecx, [ebp - 0x28]
call fcn.10003e30
xor edi, edi
lea ecx, [ebp - 0x70]
call fcn.10003e30
jmp 0x1000d3e2
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 0x1000d5b3
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d5a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d663
push edx
push ecx
call fcn.1007d115
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 0x1000d5f5
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d5eb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d668
push edx
push ecx
call fcn.1007d115
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 0x1000d640
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000d636
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000d66d
push edx
push ecx
call fcn.1007d115
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.1007d494
mov esp, ebp
pop ebp
ret
call fcn.100a7ba5
call fcn.100a7ba5
call fcn.100a7ba5
call fcn.100a7ba5
int3