Function at 0x560730
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ae011
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebx
push esi
push edi
mov eax, dword [0x614040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x60]
mov edi, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x64], 0x61fed0
mov dword [ebp - 0x50], 0
call fcn.00402f60
push dword [ebp - 0x60]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x60]
test eax, eax
sete bl
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x5607aa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x5607d3
push 0x6098b4
lea eax, [ebp - 0x8c]
mov dword [0x61ff14], 0x9ca06
push eax
mov dword [ebp - 0x8c], 0xdce
call fcn.0052d791
mov esi, dword [ebp + 0xc]
push esi
push 4
push ecx
push 0
mov byte [0x61ff34], 0
call fcn.0055e5c0
test al, al
jne 0x560807
push 0x6098b4
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], 0xdd5
push eax
call fcn.0052d791
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
call dword [sym.imp.SUCMLIB.dll_Ordinal_80]
xor ecx, ecx
cmp esi, 0x9fbf1
jne 0x560827
mov ecx, 1
mov eax, dword [0x61fa24]
test eax, eax
je 0x56083e
push 2
push dword [ebp - 0x20]
push dword [ecx*4 + 0x61feb8]
call eax
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x20]
push 0x10ed
push eax
mov edx, dword [ecx]
call dword [edx + 0x68]
push dword [ebp - 0x20]
call dword [0x61f99c]
test al, al
lea eax, [ebp - 0x20]
push eax
jne 0x560886
call dword [sym.imp.SUCMLIB.dll_Ordinal_82]
push 0x6098b4
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0xde4
push eax
call fcn.0052d791
call dword [sym.imp.SUCMLIB.dll_Ordinal_82]
lea eax, [ebp - 0x18]
mov byte [ebp - 0x21], 0xff
push eax
mov dword [ebp - 0x18], 0
call dword [sym.imp.SUCMLIB.dll_Ordinal_73]
mov ecx, dword [ebp - 0x18]
push edi
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea eax, [ebp - 0x21]
push eax
push 0
push dword [ebp - 0x18]
call dword [0x61f974]
test al, al
jne 0x5608dc
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.SUCMLIB.dll_Ordinal_76]
push 0x6098b4
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0xdf3
push eax
call fcn.0052d791
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
mov esi, eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
imul eax, dword [esi + 8]
mov dword [ebx], eax
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
mov esi, eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
imul eax, dword [esi + 8]
mov dword [ebx + 4], eax
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebx + 8], eax
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov dword [ebx + 0xc], eax
mov eax, dword [ecx]
call dword [eax + 4]
fld qword [eax + 0x10]
call fcn.0052ea70
mov dword [ebx + 0x10], eax
mov eax, 0x128e
mov word [ebx + 0x14], ax
lea eax, [ebp - 0x18]
push eax
mov byte [ebx + 0x16], 0
call dword [sym.imp.SUCMLIB.dll_Ordinal_76]
mov eax, dword [ebp + 0x18]
xor ecx, ecx
xor edi, edi
mov dword [ebp - 0x40], ecx
xor esi, esi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ecx
test eax, eax
jne 0x5609e1
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
mov dword [ebp - 0x30], edi
lea eax, [edi - 1]
add eax, esi
cdq
idiv edi
mov ecx, eax
lea eax, [edi - 1]
add eax, ebx
cdq
idiv edi
mov edi, eax
mov dword [ebp - 0x34], edi
cmp edi, ecx
jg 0x5609a9
mov edi, ecx
mov dword [ebp - 0x34], ecx
mov eax, ebx
mov ebx, dword [ebp + 0x14]
cdq
idiv edi
mov ecx, eax
mov eax, esi
cdq
idiv edi
mov esi, eax
mov eax, dword [ebp - 0x30]
sub eax, ecx
mov dword [ebp - 0x28], esi
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x30]
sub eax, esi
mov esi, dword [ebp - 0x30]
cdq
sub eax, edx
mov dword [ebp - 0x2c], esi
mov edx, eax
sar edx, 1
mov dword [ebp - 0x54], edx
jmp 0x560a4f
cmp eax, 1
jne 0x560a23
mov eax, dword [ebx + 0x10]
cdq
idiv dword [ebp + 0x1c]
mov edi, eax
mov dword [ebp - 0x34], eax
cmp edi, 1
jge 0x5609ff
mov edi, 1
mov dword [ebp - 0x34], edi
mov eax, dword [ebx + 8]
cdq
idiv edi
mov dword [ebp - 0x48], ecx
mov esi, eax
mov dword [ebp - 0x54], ecx
mov eax, dword [ebx + 0xc]
cdq
idiv edi
mov dword [ebp - 0x40], esi
mov edx, eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], edx
jmp 0x560a52
cmp eax, 2
jne 0x560a52
mov eax, dword [ebx + 8]
mov edi, dword [ebp + 0x1c]
cdq
idiv edi
mov dword [ebp - 0x48], esi
mov ecx, eax
mov dword [ebp - 0x54], esi
mov eax, dword [ebx + 0xc]
mov esi, ecx
cdq
idiv edi
mov dword [ebp - 0x34], edi
mov edx, eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebx + 4]
lea eax, [ecx - 1]
cmp eax, 0x2f
ja case.0x560a64.2
movzx eax, byte [eax + 0x560fa8]
jmp dword [eax*4 + 0x560f9c]
mov eax, dword [ebx + 8]
add eax, 7
cdq
and edx, 7
lea ebx, [edx + eax]
sar ebx, 3
jmp 0x560a97
mov eax, dword [ebx + 8]
imul eax, ecx
cdq
and edx, 7
lea ebx, [edx + eax]
sar ebx, 3
add ebx, 3
and ebx, 0xfffffffc
jmp 0x560a97
xor ebx, ebx
mov eax, esi
shl eax, 5
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, 3
and eax, 0xfffffffc
mov esi, eax
mov dword [ebp - 0x88], eax
imul esi, dword [ebp - 0x2c]
cmp esi, 3
jge 0x560ad1
push 0x6098b4
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], 0xe45
push eax
call fcn.0052d791
push esi
call fcn.0040d503
add esp, 4
mov dword [ebp + 0x18], eax
mov dword [ebp - 0x50], eax
push esi
mov esi, eax
push 0
push esi
call fcn.0052d120
imul ebx, edi
add esp, 0xc
mov dword [ebp - 0x74], 0
mov byte [ebp + 0x13], 0
mov dword [ebp - 0x78], ebx
cmp ebx, 3
jge 0x560b1f
push 0x6098b4
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], 0xe55
push eax
call fcn.0052d791
push ebx
call fcn.0040d503
mov ebx, eax
add esp, 4
mov dword [ebp - 0x3c], ebx
xor eax, eax
mov dword [ebp - 0x4c], eax
cmp eax, dword [ebp - 0x28]
jge 0x560ba1
xor eax, eax
je 0x560b7d
lea ecx, [ebp - 0xb8]
call fcn.004038d0
imul eax, dword [ebp - 0x4c], 0x2710
lea ecx, [ebp - 0xb8]
cdq
idiv dword [ebp - 0x28]
mov edx, eax
call fcn.00589620
sub esp, 0x24
lea esi, [ebp - 0xb8]
mov ecx, 9
mov edi, esp
rep movsd dword es:[edi], dword [esi]
xor eax, eax
call eax
mov edi, dword [ebp - 0x34]
add esp, 0x24
mov esi, dword [ebp + 0x18]
cmp byte [0x61ff34], 0
je 0x560c4a
push esi
call fcn.0040d50c
add esp, 4
xor eax, eax
mov dword [ebp + 0x18], eax
mov dword [ebp - 0x50], eax
call dword [0x61f9d4]
mov esi, dword [ebp + 0x14]
mov eax, edi
imul eax, dword [ebp - 0x28]
mov ecx, dword [esi + 0xc]
sub ecx, eax
test ecx, ecx
jle 0x560bb9
call dword [0x61f9d4]
push ebx
call fcn.0040d50c
mov eax, dword [esi + 4]
add esp, 4
mov dword [esi], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x10]
cdq
idiv edi
mov ebx, dword [ebp - 0x30]
mov dword [esi + 8], ebx
xor ebx, ebx
mov dword [esi + 4], 0x20
mov dword [esi + 0x10], eax
je 0x560f5a
lea ecx, [ebp - 0xb8]
call fcn.004038d0
sub esp, 0x24
mov dword [ebp - 0xb8], ebx
mov ecx, 9
mov dword [ebp - 0xb4], ebx
lea esi, [ebp - 0xb8]
mov byte [ebp - 0xb0], bl
mov edi, esp
mov dword [ebp - 0xac], 0x2710
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], 0xb
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
rep movsd dword es:[edi], dword [esi]
call ebx
add esp, 0x24
jmp 0x560f5a
lea eax, [ebp + 0x13]
push eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
push ebx
call dword [0x61f9d0]
test al, al
jne 0x560c7e
push ebx
call fcn.0040d50c
add esp, 4
mov dword [ebp - 0x80], 0xe70
lea eax, [ebp - 0x80]
push 0x6098b4
push eax
call fcn.0052d791
mov ecx, dword [ebp - 0x40]
test ecx, ecx
jle 0x560f2e
mov eax, dword [ebp - 0x2c]
xor esi, esi
sub eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x48]
dec eax
imul eax, dword [ebp - 0x88]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp + 0xc], esi
mov dword [ebp - 0x5c], ebx
add eax, dword [ebp + 0x18]
lea eax, [eax + edx*4]
add eax, 2
mov dword [ebp - 0x58], eax
mov eax, dword [ecx + 4]
xor edx, edx
xor ebx, ebx
mov dword [ebp + 0x1c], edx
dec eax
mov dword [ebp - 0x38], ebx
cmp eax, 0x2f
ja case.0x560cd5.2
movzx eax, byte [eax + 0x560ff0]
jmp dword [eax*4 + 0x560fd8]
test edi, edi
jle 0x560d6d
mov eax, dword [ecx + 8]
add eax, 7
mov dword [ebp - 0x68], edx
cdq
and edx, 7
mov dword [ebp - 0x1c], edi
add eax, edx
sar eax, 3
mov dword [ebp - 0x44], eax
lea esp, [esp]
mov edx, dword [ebp + 0xc]
xor esi, esi
mov eax, edx
mov dword [ebp + 0x1c], edx
lea ebx, [ebx]
lea ecx, [esi + edx]
and ecx, reloc.OLEAUT32.dll_VariantInit
jns 0x560d20
dec ecx
or ecx, 0xfffffff8
inc ecx
cdq
mov ebx, 0x80
and edx, 7
sar ebx, cl
mov ecx, dword [ebp - 0x68]
add eax, edx
mov edx, dword [ebp - 0x3c]
sar eax, 3
add eax, ecx
mov al, byte [eax + edx]
mov edx, dword [ebp + 0xc]
and al, bl
mov ebx, dword [ebp - 0x38]
movzx eax, al
neg eax
sbb eax, eax
inc esi
and eax, 0xff
add ebx, eax
mov eax, dword [ebp + 0x1c]
inc eax
mov dword [ebp - 0x38], ebx
mov dword [ebp + 0x1c], eax
cmp esi, edi
jl 0x560d10
add ecx, dword [ebp - 0x44]
dec dword [ebp - 0x1c]
mov dword [ebp - 0x68], ecx
jne 0x560d00
mov esi, edx
mov ecx, edi
mov eax, ebx
imul ecx, edi
cdq
idiv ecx
mov edx, eax
mov dword [ebp + 0x1c], edx
mov ebx, edx
jmp 0x560efa
test edi, edi
jle 0x560d6d
mov edx, dword [ebp - 0x3c]
add edx, esi
mov dword [ebp + 0x1c], edi
nop
xor ecx, ecx
movzx eax, byte [edx + ecx]
inc ecx
add ebx, eax
cmp ecx, edi
jl 0x560d92
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 8]
dec dword [ebp + 0x1c]
jne 0x560d90
jmp 0x560d6d
test edi, edi
jle 0x560dda
mov eax, dword [ecx + 8]
mov esi, dword [ebp - 0x5c]
add eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp + 0x1c], edi
lea esp, [esp]
mov ecx, esi
mov edx, edi
movzx eax, word [ecx]
lea ecx, [ecx + 2]
add ebx, eax
dec edx
jne 0x560dc4
add esi, dword [ebp - 0x44]
dec dword [ebp + 0x1c]
jne 0x560dc0
mov esi, dword [ebp + 0xc]
mov ecx, edi
mov eax, ebx
imul ecx, edi
cdq
idiv ecx
cdq
and edx, 0xff
add edx, eax
sar edx, 8
mov dword [ebp + 0x1c], edx
mov ebx, edx
jmp 0x560efa
mov esi, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x1c], eax
test edi, edi
jle 0x560e48
mov ecx, dword [ecx + 8]
imul ecx, eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp + 0x1c], edi
add ecx, dword [ebp + 0xc]
lea eax, [eax + ecx*2]
add ecx, 2
add ecx, eax
lea ecx, [ecx]
movzx eax, byte [ecx - 2]
lea ecx, [ecx + 3]
add edx, eax
movzx eax, byte [ecx - 4]
add ebx, eax
movzx eax, byte [ecx - 3]
add esi, eax
dec dword [ebp + 0x1c]
jne 0x560e20
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0x14]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, edi
jl 0x560e06
mov eax, edx
mov ecx, edi
imul ecx, edi
cdq
idiv ecx
mov dword [ebp - 0x38], eax
mov eax, ebx
cdq
idiv ecx
mov ebx, eax
mov eax, esi
cdq
idiv ecx
mov dword [ebp + 0x1c], eax
jmp 0x560ef4
mov esi, dword [ebp + 0x1c]
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
test edi, edi
jle 0x560eb5
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x1c], edi
mov eax, dword [eax + 8]
imul eax, ecx
mov ecx, dword [ebp - 0x3c]
add eax, dword [ebp + 0xc]
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*2]
add ecx, 4
movzx eax, word [ecx - 4]
lea ecx, [ecx + 6]
add edx, eax
movzx eax, word [ecx - 8]
add ebx, eax
movzx eax, word [ecx - 6]
add esi, eax
dec dword [ebp + 0x1c]
jne 0x560e90
mov ecx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, edi
jl 0x560e75
mov eax, edx
mov ecx, edi
cdq
imul ecx, edi
idiv ecx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov dword [ebp - 0x38], eax
mov eax, ebx
cdq
idiv ecx
cdq
and edx, 0xff
lea ebx, [edx + eax]
mov eax, esi
cdq
idiv ecx
sar ebx, 8
cdq
and edx, 0xff
add edx, eax
sar edx, 8
mov dword [ebp + 0x1c], edx
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x58]
add esi, edi
mov dword [ebp + 0xc], esi
mov byte [eax - 2], dl
mov edx, eax
mov eax, dword [ebp + 0x1c]
mov byte [edx - 1], bl
mov byte [edx], al
lea eax, [edi + edi]
add dword [ebp - 0x5c], eax
mov byte [edx + 1], 0xff
add edx, 4
dec dword [ebp - 0x6c]
mov dword [ebp - 0x58], edx
jne 0x560cb7
mov ebx, dword [ebp - 0x3c]
cmp byte [ebp + 0x13], 0
jne 0x560ba1
mov eax, dword [ebp - 0x4c]
mov esi, dword [ebp + 0x18]
inc eax
jmp 0x560b2f
sub esp, 8
mov dword [ebp - 4], 0xffffffff
push dword [ebp + 8]
call fcn.0055e560
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c