Function at 0x560ba0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b01d1
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebx
push esi
push edi
mov eax, dword [0x616040]
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], 0x621ed0
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 0x560c1a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x560c43
push 0x60bae4
lea eax, [ebp - 0x8c]
mov dword [0x621f14], 0x9ca06
push eax
mov dword [ebp - 0x8c], 0xdd7
call fcn.0052d791
mov esi, dword [ebp + 0xc]
push esi
push 4
push ecx
push 0
mov byte [0x621f34], 0
call fcn.0055e9d0
test al, al
jne 0x560c77
push 0x60bae4
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], 0xdde
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 0x560c97
mov ecx, 1
mov eax, dword [0x621a24]
test eax, eax
je 0x560cae
push 2
push dword [ebp - 0x20]
push dword [ecx*4 + 0x621ebc]
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 [0x62199c]
test al, al
lea eax, [ebp - 0x20]
push eax
jne 0x560cf6
call dword [sym.imp.SUCMLIB.dll_Ordinal_82]
push 0x60bae4
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0xded
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 [0x621974]
test al, al
jne 0x560d4c
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.SUCMLIB.dll_Ordinal_76]
push 0x60bae4
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0xdfc
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.0052ea60
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 0x560e51
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 0x560e19
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 0x560ebf
cmp eax, 1
jne 0x560e93
mov eax, dword [ebx + 0x10]
cdq
idiv dword [ebp + 0x1c]
mov edi, eax
mov dword [ebp - 0x34], eax
cmp edi, 1
jge 0x560e6f
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 0x560ec2
cmp eax, 2
jne 0x560ec2
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.0x560ed4.2
movzx eax, byte [eax + 0x561418]
jmp dword [eax*4 + 0x56140c]
mov eax, dword [ebx + 8]
add eax, 7
cdq
and edx, 7
lea ebx, [edx + eax]
sar ebx, 3
jmp 0x560f07
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 0x560f07
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 0x560f41
push 0x60bae4
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], 0xe4e
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 0x560f8f
push 0x60bae4
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], 0xe5e
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 0x561011
xor eax, eax
je 0x560fed
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.0058b650
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 [0x621f34], 0
je 0x5610ba
push esi
call fcn.0040d50c
add esp, 4
xor eax, eax
mov dword [ebp + 0x18], eax
mov dword [ebp - 0x50], eax
call dword [0x6219d4]
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 0x561029
call dword [0x6219d4]
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 0x5613ca
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 0x5613ca
lea eax, [ebp + 0x13]
push eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
push ebx
call dword [0x6219d0]
test al, al
jne 0x5610ee
push ebx
call fcn.0040d50c
add esp, 4
mov dword [ebp - 0x80], 0xe79
lea eax, [ebp - 0x80]
push 0x60bae4
push eax
call fcn.0052d791
mov ecx, dword [ebp - 0x40]
test ecx, ecx
jle 0x56139e
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.0x561145.2
movzx eax, byte [eax + 0x561460]
jmp dword [eax*4 + 0x561448]
test edi, edi
jle 0x5611dd
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 0x561190
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 0x561180
add ecx, dword [ebp - 0x44]
dec dword [ebp - 0x1c]
mov dword [ebp - 0x68], ecx
jne 0x561170
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 0x56136a
test edi, edi
jle 0x5611dd
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 0x561202
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 8]
dec dword [ebp + 0x1c]
jne 0x561200
jmp 0x5611dd
test edi, edi
jle 0x56124a
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 0x561234
add esi, dword [ebp - 0x44]
dec dword [ebp + 0x1c]
jne 0x561230
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 0x56136a
mov esi, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x1c], eax
test edi, edi
jle 0x5612b8
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 0x561290
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0x14]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, edi
jl 0x561276
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 0x561364
mov esi, dword [ebp + 0x1c]
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
test edi, edi
jle 0x561325
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 0x561300
mov ecx, dword [ebp - 0x1c]
inc ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, edi
jl 0x5612e5
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 0x561127
mov ebx, dword [ebp - 0x3c]
cmp byte [ebp + 0x13], 0
jne 0x561011
mov eax, dword [ebp - 0x4c]
mov esi, dword [ebp + 0x18]
inc eax
jmp 0x560f9f
sub esp, 8
mov dword [ebp - 4], 0xffffffff
push dword [ebp + 8]
call fcn.0055e970
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