Function at 0x10024d60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100889d8
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x100bb758]
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 ebx, ecx
mov dword [ebp - 0x19c], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x198], eax
or edi, 0xffffffff
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x10024fb8
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10024dc1
lock inc dword [ecx + 4]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x48], eax
mov esi, dword [ebx + 0x4c]
mov dword [ebx + 0x4c], ecx
test esi, esi
je 0x10024df0
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10024df0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x10024df0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x2c]
call fcn.1006ed6c
cdq
mov ecx, 0x64
idiv ecx
cmp edx, esi
jl 0x10024e51
call fcn.10025000
test eax, eax
je 0x10024e51
mov ecx, 0x100bd990
mov esi, str.HaloLinkPopWndClass
mov edx, 0x104
sub esi, ecx
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x10024e3f
movzx eax, word [esi + ecx]
test ax, ax
je 0x10024e3f
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x10024e21
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
jmp 0x10024f10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.1006ed8d
mov ecx, 0x1f
lea edi, [ebp - 0x90]
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
add esp, 4
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea esi, [ebp - 0x90]
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10024e80
push 0x100
lea eax, [ebp - 0x190]
sub esi, ecx
push 0
push eax
sar esi, 1
call fcn.100609f0
add esp, 0xc
call fcn.1006ed6c
xor edx, edx
mov ecx, 6
div ecx
mov ecx, 0x7f
lea eax, [edx + 0xa]
cmp eax, ecx
cmovg eax, ecx
xor edi, edi
mov dword [ebp - 0x194], eax
test eax, eax
jle 0x10024ef4
mov ebx, eax
nop
call fcn.1006ed6c
xor edx, edx
div esi
mov ax, word [ebp + edx*2 - 0x90]
mov word [ebp + edi*2 - 0x190], ax
inc edi
cmp edi, ebx
jl 0x10024ed0
mov ebx, dword [ebp - 0x19c]
lea eax, [ebp - 0x190]
push eax
push 0x103
push 0x100bd990
call fcn.1006eafd
add esp, 0xc
or edi, 0xffffffff
mov edx, dword [ebp - 0x198]
lea ecx, [ebx + 0x54]
mov edx, dword [edx]
lea eax, [edx - 0x10]
mov dword [ebp - 0x194], eax
mov eax, dword [ecx]
lea esi, [eax - 0x10]
cmp dword [ebp - 0x194], esi
je 0x10024f82
cmp dword [esi + 0xc], 0
jl 0x10024f76
mov eax, dword [edx - 0x10]
cmp eax, dword [esi]
jne 0x10024f76
push dword [ebp - 0x194]
call fcn.100060f0
mov dword [ebp - 0x198], eax
lea ecx, [esi + 0xc]
add esp, 4
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10024f68
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x198]
add eax, 0x10
mov dword [ebx + 0x54], eax
jmp 0x10024f82
push dword [edx - 0xc]
push edx
call fcn.10006650
mov eax, dword [ebx + 0x54]
cmp dword [eax - 0xc], 0
je 0x10024fb1
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10024fb1
push dword [ebx + 0x54]
lea ecx, [ebx + 0x34]
call fcn.1001e330
lea ecx, [ebx + 0x34]
call fcn.1001e2c0
test al, al
je 0x10024fb1
mov ebx, 1
jmp 0x10024fba
mov ecx, ebx
call fcn.10025d10
xor ebx, ebx
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x10024fdf
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10024fdf
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10024fdf
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, ebx
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.100561dc
mov esp, ebp
pop ebp
ret 0xc