Function at 0x1002bea0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009ed08
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x100d07a8]
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 0x1002c0f8
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1002bf01
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 0x1002bf30
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1002bf30
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x1002bf30
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x2c]
call fcn.100847e1
cdq
mov ecx, 0x64
idiv ecx
cmp edx, esi
jl 0x1002bf91
call fcn.10011650
test eax, eax
je 0x1002bf91
mov ecx, 0x100d3300
mov esi, str.LdsLinkPopWndClass
mov edx, 0x104
sub esi, ecx
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x1002bf7f
movzx eax, word [esi + ecx]
test ax, ax
je 0x1002bf7f
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x1002bf61
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
jmp 0x1002c050
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.10084802
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 0x1002bfc0
push 0x100
lea eax, [ebp - 0x190]
sub esi, ecx
push 0
push eax
sar esi, 1
call fcn.10075650
add esp, 0xc
call fcn.100847e1
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 0x1002c034
mov ebx, eax
nop
call fcn.100847e1
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 0x1002c010
mov ebx, dword [ebp - 0x19c]
lea eax, [ebp - 0x190]
push eax
push 0x103
push 0x100d3300
call fcn.10084572
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 0x1002c0c2
cmp dword [esi + 0xc], 0
jl 0x1002c0b6
mov eax, dword [edx - 0x10]
cmp eax, dword [esi]
jne 0x1002c0b6
push dword [ebp - 0x194]
call fcn.10002ca0
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 0x1002c0a8
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 0x1002c0c2
push dword [edx - 0xc]
push edx
call fcn.10003220
mov eax, dword [ebx + 0x54]
cmp dword [eax - 0xc], 0
je 0x1002c0f1
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002c0f1
push dword [ebx + 0x54]
lea ecx, [ebx + 0x34]
call fcn.10024570
lea ecx, [ebx + 0x34]
call fcn.10024500
test al, al
je 0x1002c0f1
mov ebx, 1
jmp 0x1002c0fa
mov ecx, ebx
call fcn.1002d8c0
xor ebx, ebx
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x1002c11f
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x1002c11f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x1002c11f
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.1006a4da
mov esp, ebp
pop ebp
ret 0xc