Function at 0x100cd300
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10348410
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x1040706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0xe0], 0x10
lea edi, [esi + 0xcc]
mov dword [ebp - 0x48], esi
mov eax, edi
mov dword [ebp - 0x54], edi
jb 0x100cd346
mov eax, dword [edi]
push eax
lea eax, [ebp - 0x40]
push str.appidset_sbtndlfile
push eax
call fcn.1019b38a
add esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 0x10
cmovae eax, dword [ebp - 0x40]
push eax
push str.hotsoft
push 0
call fcn.100bde00
mov ecx, eax
call fcn.1001c170
xor ecx, ecx
mov byte [ebp - 0x41], 0
mov dword [ebp - 0x50], ecx
mov eax, 0x2aaaaaab
mov ecx, dword [esi + 0x28c]
sub ecx, dword [esi + 0x288]
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x100cd5d7
mov dword [ebp - 0x4c], 0
push 0x3a8
sub esp, 0x18
push esp
call fcn.1019768c
add esp, 4
lea eax, [ebp - 0x28]
push eax
call fcn.1019c48d
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.1019b65f
add esp, 0x24
test eax, eax
je 0x100cd42a
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push 1
push 0x103e1124
cmp eax, 1
jb 0x100cd419
cmp edx, 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + 1]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
mov dword [ebp - 0x18], eax
push esi
call fcn.101d2a60
mov byte [esi + 1], 0
add esp, 0xc
mov esi, dword [ebp - 0x48]
jmp 0x100cd42a
mov byte [ebp - 0x5c], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x5c]
push 1
call fcn.100068b0
mov edi, dword [esi + 0x19c]
test edi, edi
je 0x100cd46e
cmp dword [esi + 0x1a0], 0x10
lea ecx, [esi + 0x18c]
jb 0x100cd445
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x100cd465
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
lea eax, [edx + edi]
cmovae esi, dword [ebp - 0x28]
add esi, edx
jmp 0x100cd4b7
mov byte [ebp - 0x60], 0
push dword [ebp - 0x60]
jmp 0x100cd4d3
mov eax, dword [esi + 0x288]
add eax, dword [ebp - 0x4c]
cmp dword [eax + 0x14], 0x10
jb 0x100cd47f
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov edx, eax
mov edi, edx
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x100cd490
mov eax, dword [ebp - 0x14]
sub edi, ecx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
push edi
push edx
cmp edi, eax
ja 0x100cd4cc
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
lea eax, [ecx + edi]
cmovae esi, dword [ebp - 0x28]
add esi, ecx
push esi
mov dword [ebp - 0x18], eax
call fcn.101d2a60
mov byte [esi + edi], 0
add esp, 0xc
mov esi, dword [ebp - 0x48]
jmp 0x100cd4dc
mov byte [ebp - 0x58], 0
push dword [ebp - 0x58]
push edi
lea ecx, [ebp - 0x28]
call fcn.100068b0
mov eax, dword [esi + 0x288]
lea ecx, [ebp - 0x28]
mov edi, dword [ebp - 0x4c]
add eax, edi
push 0
push 0
push 0
push ecx
push eax
call fcn.101ac480
add esp, 0x14
test al, al
je 0x100cd514
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x100cd57d
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100cd54c
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100cd542
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cd6d8
push edx
push ecx
call fcn.100f99db
add esp, 8
mov ecx, dword [esi + 0x28c]
mov eax, 0x2aaaaaab
sub ecx, dword [esi + 0x288]
add edi, 0x18
inc dword [ebp - 0x50]
imul ecx
mov dword [ebp - 0x4c], edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x50], eax
jb 0x100cd3b1
jmp 0x100cd5d4
lea ecx, [esi + 0x30]
mov byte [ebp - 0x41], 1
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x100cd59c
cmp dword [ebp - 0x14], 0x10
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10006700
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100cd5d4
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100cd5ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cd6d8
push edx
push ecx
call fcn.100f99db
add esp, 8
mov edi, dword [ebp - 0x54]
cmp dword [edi + 0x14], 0x10
jb 0x100cd5df
mov edi, dword [edi]
cmp byte [ebp - 0x41], 0
mov ecx, str.dlfail
mov eax, str.dlcomplete
cmove eax, ecx
push eax
push edi
lea eax, [ebp - 0x28]
push str.appidset_sbtn_s
push eax
call fcn.1019b38a
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x100cd635
mov ecx, eax
call fcn.10002730
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100cd669
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100cd65f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cd6dd
push edx
push ecx
call fcn.100f99db
add esp, 8
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push str.hotsoft
push 0
call fcn.100bde00
mov ecx, eax
call fcn.1001c170
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x100cd6b8
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100cd6ae
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cd6e2
push edx
push ecx
call fcn.100f99db
add esp, 8
mov al, byte [ebp - 0x41]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f99ca
mov esp, ebp
pop ebp
ret 4
call fcn.101d6583
call fcn.101d6583
call fcn.101d6583
int3