Function at 0x550ad0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a7f2
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x5d52e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x10]
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x58], 0x5dd9b8
call fcn.00401210
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov eax, dword [ebp - 0x5c]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x550b4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x550b75
push 0x5c77e8
lea ecx, [ebp - 0x98]
push ecx
mov dword [0x5dda00], 0x9ca06
mov dword [ebp - 0x98], 0xc4d
call fcn.005039bf
push edi
push 4
xor ebx, ebx
push ebx
mov byte [0x5dda20], 0
call fcn.0054edf0
test al, al
jne 0x550ba6
push 0x5c77e8
lea edx, [ebp - 0xa4]
push edx
mov dword [ebp - 0xa4], 0xc54
call fcn.005039bf
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.SUCMLIB.dll_Ordinal_80]
xor eax, eax
cmp edi, 0x9fbf1
jne 0x550bc2
mov eax, 1
mov ecx, dword [0x5dd554]
cmp ecx, ebx
je 0x550bdc
mov edx, dword [ebp - 0x2c]
mov eax, dword [eax*4 + 0x5dd9a0]
push 2
push edx
push eax
call ecx
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
push 0x10ed
push eax
mov eax, dword [edx + 0x54]
call eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [0x5dd488]
test al, al
jne 0x550c29
lea edx, [ebp - 0x2c]
push edx
call dword [sym.imp.SUCMLIB.dll_Ordinal_82]
push 0x5c77e8
lea eax, [ebp - 0x84]
push eax
mov dword [ebp - 0x84], 0xc63
call fcn.005039bf
lea ecx, [ebp - 0x2c]
push ecx
call dword [sym.imp.SUCMLIB.dll_Ordinal_82]
lea edx, [ebp - 0x18]
push edx
mov byte [ebp - 0x31], 0xff
mov dword [ebp - 0x18], ebx
call dword [sym.imp.SUCMLIB.dll_Ordinal_73]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
push edx
call eax
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x31]
push ecx
push ebx
push edx
call dword [0x5dd4a4]
test al, al
jne 0x550c8a
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.SUCMLIB.dll_Ordinal_76]
push 0x5c77e8
lea ecx, [ebp - 0x90]
push ecx
mov dword [ebp - 0x90], 0xc72
call fcn.005039bf
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [eax + 0xc]
imul ecx, dword [edi + 8]
mov dword [esi], ecx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [eax + 0xc]
imul ecx, dword [edi + 8]
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov ecx, dword [eax + 4]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
fld qword [eax + 0x10]
call fcn.00505d50
lea edx, [ebp - 0x18]
mov ecx, 0x128e
push edx
mov dword [esi + 0x10], eax
mov word [esi + 0x14], cx
call dword [sym.imp.SUCMLIB.dll_Ordinal_76]
xor ecx, ecx
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x3c], ecx
cmp dword [ebp + 0x14], ecx
jne 0x550d80
mov ecx, dword [ebp + 0x18]
mov eax, dword [esi + 0xc]
lea eax, [eax + ecx - 1]
cdq
idiv ecx
mov ebx, eax
mov eax, dword [esi + 8]
lea eax, [eax + ecx - 1]
cdq
idiv ecx
cmp eax, ebx
jle 0x550d4f
mov ebx, eax
mov eax, dword [esi + 8]
cdq
idiv ebx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0xc]
cdq
idiv ebx
mov dword [ebp - 0x30], eax
mov eax, ecx
sub eax, dword [ebp - 0x38]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x50], eax
mov eax, ecx
sub eax, dword [ebp - 0x30]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x54], eax
jmp 0x550dde
mov eax, dword [ebp + 0x14]
cmp eax, 1
jne 0x550db6
mov eax, dword [esi + 0x10]
cdq
idiv dword [ebp + 0x18]
mov ebx, 1
cmp eax, 1
jl 0x550d9b
mov ebx, eax
mov eax, dword [esi + 8]
cdq
idiv ebx
mov ecx, eax
mov eax, dword [esi + 0xc]
cdq
idiv ebx
xor edx, edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], edx
jmp 0x550dd8
cmp eax, 2
jne 0x550de1
mov eax, dword [esi + 8]
mov ebx, dword [ebp + 0x18]
cdq
idiv ebx
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0xc]
cdq
idiv ebx
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], ecx
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x4c], ecx
mov edx, dword [esi + 4]
lea eax, [edx - 1]
cmp eax, 0x2f
ja case.0x550df3.2
movzx eax, byte [eax + 0x5512f4]
jmp dword [eax*4 + 0x5512e8]
mov eax, dword [esi + 8]
add eax, 7
cdq
and edx, 7
lea edi, [edx + eax]
sar edi, 3
jmp 0x550e22
mov eax, dword [esi + 8]
imul eax, edx
cdq
and edx, 7
lea edi, [edx + eax]
sar edi, 3
add edi, 3
and edi, 0xfffffffc
mov dword [ebp - 0x40], edi
mov eax, ecx
shl eax, 5
cdq
and edx, 7
add eax, edx
sar eax, 3
add eax, 3
and eax, 0xfffffffc
mov dword [ebp - 0x9c], eax
imul eax, dword [ebp - 0x3c]
mov dword [ebp + 0x18], eax
cmp eax, 3
jge 0x550e66
push 0x5c77e8
lea ecx, [ebp - 0xa0]
push ecx
mov dword [ebp - 0xa0], 0xcc3
call fcn.005039bf
mov edx, dword [ebp + 0x18]
push edx
call fcn.0040c6f7
mov ecx, dword [ebp + 0x18]
add esp, 4
push ecx
push 0
push eax
mov dword [ebp - 0x44], eax
call fcn.00503ac0
imul edi, ebx
add esp, 0xc
mov dword [ebp - 0x8c], 0
mov byte [ebp - 0x19], 0
cmp edi, 3
jge 0x550eb5
push 0x5c77e8
lea edx, [ebp - 0x88]
push edx
mov dword [ebp - 0x88], 0xcd3
call fcn.005039bf
push edi
call fcn.0040c6f7
add esp, 4
mov dword [ebp + 0x14], eax
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x30]
jge 0x550f41
xor eax, eax
je 0x550f1b
mov byte [ebp - 0x78], al
mov eax, dword [ebp - 0x48]
imul eax, eax, 0x2710
cdq
idiv dword [ebp - 0x30]
xor ecx, ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], ecx
sub esp, 0x24
mov ecx, 9
lea esi, [ebp - 0x80]
mov edi, esp
mov dword [ebp - 0x6c], 0xb
mov dword [ebp - 0x74], eax
xor eax, eax
rep movsd dword es:[edi], dword [esi]
call eax
mov esi, dword [ebp + 0x10]
add esp, 0x24
mov ecx, dword [ebp - 0x58]
cmp byte [ecx + 0x68], 0
je 0x550fe5
mov edx, dword [ebp - 0x44]
push edx
call fcn.0040c6ec
add esp, 4
mov dword [ebp - 0x44], 0
call dword [0x5dd4ac]
mov eax, dword [esi + 0xc]
mov ecx, ebx
imul ecx, dword [ebp - 0x30]
sub eax, ecx
test eax, eax
jle 0x550f56
call dword [0x5dd4ac]
mov edx, dword [ebp + 0x14]
push edx
call fcn.0040c6ec
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0x3c]
mov dword [esi], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0xc], edx
cdq
idiv ebx
mov ecx, dword [ebp - 0x4c]
add esp, 4
mov dword [esi + 4], 0x20
mov dword [esi + 8], ecx
mov dword [esi + 0x10], eax
xor eax, eax
je 0x550fbe
sub esp, 0x24
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x78], al
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov ecx, 9
lea esi, [ebp - 0x80]
mov edi, esp
mov dword [ebp - 0x74], 0x2710
mov dword [ebp - 0x6c], 0xb
rep movsd dword es:[edi], dword [esi]
call eax
add esp, 0x24
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
push ecx
call fcn.0054fdc0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edi, dword [ebp + 0x14]
mov edx, ebx
imul edx, dword [ebp - 0x40]
lea eax, [ebp - 0x19]
push eax
lea ecx, [ebp - 0x8c]
push ecx
push edx
push edi
call dword [0x5dd4a8]
test al, al
jne 0x551029
push edi
call fcn.0040c6ec
add esp, 4
push 0x5c77e8
lea eax, [ebp - 0x94]
push eax
mov dword [ebp - 0x94], 0xcee
call fcn.005039bf
xor edi, edi
mov dword [ebp - 0x28], edi
cmp edi, dword [ebp - 0x38]
jge 0x55129b
mov ecx, dword [esi + 4]
xor eax, eax
dec ecx
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x18], eax
mov dword [ebp - 0x24], eax
cmp ecx, 0x2f
ja case.0x551056.2
movzx ecx, byte [ecx + 0x55133c]
jmp dword [ecx*4 + 0x551324]
xor ecx, ecx
mov dword [ebp - 0x24], ecx
cmp ecx, ebx
jge 0x5510d6
xor eax, eax
mov dword [ebp + 0xc], eax
cmp eax, ebx
jge 0x5510d3
imul edi, ebx
add edi, eax
mov eax, dword [esi + 8]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
imul eax, ecx
mov ecx, eax
add ecx, dword [ebp + 0x14]
mov eax, edi
cdq
and edx, 7
add eax, edx
mov dword [ebp - 0x20], ecx
mov ecx, edi
sar eax, 3
and ecx, reloc.OLEAUT32.dll_VariantInit
jns 0x5510a8
dec ecx
or ecx, 0xfffffff8
inc ecx
mov edi, dword [ebp - 0x28]
mov edx, 0x80
sar edx, cl
mov ecx, dword [ebp - 0x20]
mov al, byte [eax + ecx]
and al, dl
movzx ecx, al
mov eax, dword [ebp + 0xc]
neg ecx
sbb ecx, ecx
and ecx, 0xff
add dword [ebp + 0x18], ecx
mov ecx, dword [ebp - 0x24]
inc eax
jmp 0x551068
inc ecx
jmp 0x55105f
mov eax, dword [ebp + 0x18]
mov ecx, ebx
imul ecx, ebx
cdq
idiv ecx
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x18], eax
jmp case.0x551056.2
xor ecx, ecx
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jge 0x5510d6
xor eax, eax
cmp eax, ebx
jge 0x55111a
mov edx, dword [esi + 8]
imul edx, ecx
mov ecx, edi
imul ecx, ebx
add edx, eax
add ecx, edx
mov edx, dword [ebp + 0x14]
movzx ecx, byte [ecx + edx]
add dword [ebp + 0x18], ecx
mov ecx, dword [ebp + 0xc]
inc eax
jmp 0x5510f7
inc ecx
jmp 0x5510ee
xor ecx, ecx
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jge 0x55114e
xor eax, eax
cmp eax, ebx
jge 0x55114b
mov edx, dword [esi + 8]
imul edx, ecx
mov ecx, edi
imul ecx, ebx
add edx, eax
add ecx, edx
mov edx, dword [ebp + 0x14]
movzx ecx, word [edx + ecx*2]
add dword [ebp + 0x18], ecx
mov ecx, dword [ebp + 0xc]
inc eax
jmp 0x551128
inc ecx
jmp 0x55111f
mov eax, dword [ebp + 0x18]
mov ecx, ebx
imul ecx, ebx
cdq
idiv ecx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x18], eax
jmp case.0x551056.2
mov dword [ebp - 0x28], eax
cmp eax, ebx
jge 0x5511b8
xor ecx, ecx
mov dword [ebp - 0x20], ecx
cmp ecx, ebx
jge 0x5511b5
mov edx, dword [esi + 8]
imul edx, eax
mov eax, edi
imul eax, ebx
add edx, ecx
mov ecx, dword [ebp + 0x14]
add eax, edx
lea edx, [ecx + eax*2]
movzx ecx, byte [eax + edx]
add dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 0x20]
add eax, edx
movzx edx, byte [eax + 1]
movzx eax, byte [eax + 2]
add dword [ebp - 0x24], eax
add dword [ebp + 0x18], edx
mov eax, dword [ebp - 0x28]
inc ecx
jmp 0x551179
inc eax
jmp case.0x551056.24
mov eax, dword [ebp + 0xc]
mov ecx, ebx
imul ecx, ebx
cdq
idiv ecx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x18]
cdq
idiv ecx
mov dword [ebp + 0x18], eax
mov eax, dword [ebp - 0x24]
cdq
idiv ecx
jmp case.0x551056.2
mov dword [ebp - 0x20], eax
cmp eax, ebx
jge 0x551224
xor ecx, ecx
mov dword [ebp - 0x28], ecx
cmp ecx, ebx
jge 0x551221
mov edx, dword [esi + 8]
imul edx, eax
mov eax, edi
imul eax, ebx
add edx, ecx
mov ecx, dword [ebp + 0x14]
add eax, edx
lea eax, [eax + eax*2]
movzx edx, word [ecx + eax*2]
add dword [ebp + 0xc], edx
movzx edx, word [ecx + eax*2 + 4]
add dword [ebp - 0x24], edx
lea eax, [ecx + eax*2]
movzx ecx, word [eax + 2]
add dword [ebp + 0x18], ecx
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
inc ecx
jmp 0x5511e3
inc eax
jmp case.0x551056.48
mov eax, dword [ebp + 0xc]
cdq
mov ecx, ebx
imul ecx, ebx
idiv ecx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x18]
cdq
idiv ecx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov dword [ebp + 0x18], eax
mov eax, dword [ebp - 0x24]
cdq
idiv ecx
cdq
and edx, 0xff
add eax, edx
sar eax, 8
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x50]
sub ecx, dword [ebp - 0x54]
add edx, edi
dec ecx
imul ecx, dword [ebp - 0x9c]
add ecx, dword [ebp - 0x44]
inc edi
lea ecx, [ecx + edx*4]
movzx edx, byte [ebp + 0xc]
mov byte [ecx], dl
movzx edx, byte [ebp + 0x18]
mov byte [ecx + 1], dl
mov byte [ecx + 2], al
mov byte [ecx + 3], 0xff
jmp 0x55102b
cmp byte [ebp - 0x19], 0
jne 0x550f41
inc dword [ebp - 0x48]
jmp 0x550ec8