Function at 0x409b00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x5d47e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
mov ebx, dword [esp + 0x60]
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.0040a290
lea ecx, [esp + 0x28]
call fcn.005b9ea5
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], 0
call fcn.0047bac0
push 0x20019
push str.softwareTECOcular.3Agent
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 1
call fcn.0047bbe0
test eax, eax
je 0x409fbe
push ebp
push esi
push edi
lea ecx, [esp + 0x48]
call fcn.005b9ea5
lea eax, [esp + 0x48]
lea ecx, [esp + 0x24]
push eax
push str.ExDataList
mov byte [esp + 0x6c], 2
call fcn.0047c760
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x38]
call fcn.005ba081
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x50]
call fcn.005b9f38
lea edx, [esp + 0x48]
lea ecx, [esp + 0x24]
push edx
push str.ExDataList2
call fcn.0047c760
lea eax, [esp + 0x48]
lea ecx, [esp + 0x34]
push eax
call fcn.005ba081
lea ecx, [esp + 0x24]
call fcn.0047bc30
lea ecx, [esp + 0x48]
mov byte [esp + 0x64], 1
call fcn.005b9ed8
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 0
call fcn.0047bb60
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x409f93
lea ecx, [esp + 0x2c]
call fcn.00403730
push 0x65ed18
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 3
call fcn.005bbaf7
mov eax, dword [esp + 0x10]
mov byte [esp + 0x64], 4
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x409c80
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
push edx
call fcn.00401f90
push eax
lea eax, [esp + 0x18]
push 0x634a00
push eax
call fcn.005b86eb
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x409c69
push 1
push 0
lea ecx, [esp + 0x3c]
call fcn.005ba2bc
lea ecx, [esp + 0x10]
call fcn.005bba0b
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x409f77
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x409c24
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x409f77
push 0
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.00403ed0
test eax, eax
je 0x409f37
lea ecx, [esp + 0x14]
call fcn.0047ecd0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x64], 5
call fcn.004042f0
test eax, eax
je 0x409f20
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x1c]
call fcn.0047eeb0
lea ecx, [esp + 0x14]
call fcn.0047eea0
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.0047f5e0
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea ecx, [esp + 0x14]
call fcn.0047eea0
push eax
lea ecx, [esp + 0x18]
call fcn.0047f5e0
push eax
lea ecx, [esp + 0x34]
call fcn.00403f60
test eax, eax
je 0x409f20
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 4]
mov ebp, eax
mov dword [esp + 0x20], ebp
inc ebp
test ebp, ebp
jne 0x409d62
xor ebp, ebp
cmp esi, ebp
je 0x409d57
mov ecx, eax
dec eax
test ecx, ecx
je 0x409d48
lea edi, [eax + 1]
mov ecx, esi
call fcn.0047ee00
add esi, 4
dec edi
jne 0x409d3b
mov eax, dword [ebx + 4]
push eax
call fcn.005bc175
add esp, 4
mov dword [ebx + 4], ebp
mov dword [ebx + 0xc], ebp
mov dword [ebx + 8], ebp
jmp 0x409f0c
test esi, esi
jne 0x409dc4
lea edi, [ebp*4]
push edi
call fcn.005bc14c
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
mov dword [ebx + 4], esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x18], esi
rep stosb byte es:[edi], al
lea edi, [ebp]
mov dword [esp + 0x1c], esi
test esi, esi
mov byte [esp + 0x64], 6
je 0x409daa
mov ecx, esi
call fcn.0047ecd0
add esi, 4
dec edi
mov byte [esp + 0x64], 5
mov dword [esp + 0x18], esi
jne 0x409d96
mov dword [ebx + 0xc], ebp
mov dword [ebx + 8], ebp
jmp 0x409f0c
mov edi, dword [ebx + 0xc]
cmp ebp, edi
jg 0x409e3d
cmp eax, ebp
jge 0x409e17
mov edx, ebp
lea esi, [esi + eax*4]
sub edx, eax
xor eax, eax
mov ecx, edx
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, edx
dec edx
test eax, eax
mov dword [esp + 0x18], esi
je 0x409e35
lea edi, [edx + 1]
mov dword [esp + 0x1c], esi
test esi, esi
mov byte [esp + 0x64], 7
je 0x409e00
mov ecx, esi
call fcn.0047ecd0
add esi, 4
dec edi
mov byte [esp + 0x64], 5
mov dword [esp + 0x18], esi
jne 0x409dec
mov dword [ebx + 8], ebp
jmp 0x409f0c
jle 0x409e35
sub eax, ebp
lea esi, [esi + ebp*4]
mov ecx, eax
dec eax
test ecx, ecx
je 0x409e35
lea edi, [eax + 1]
mov ecx, esi
call fcn.0047ee00
add esi, 4
dec edi
jne 0x409e28
mov dword [ebx + 8], ebp
jmp 0x409f0c
mov ecx, dword [ebx + 0x10]
test ecx, ecx
jne 0x409e68
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x409e5b
mov ecx, 4
jmp 0x409e68
cmp ecx, 0x400
jle 0x409e68
mov ecx, 0x400
lea eax, [edi + ecx]
cmp ebp, eax
mov dword [esp + 0x18], eax
jl 0x409e77
mov dword [esp + 0x18], ebp
mov edx, dword [esp + 0x18]
lea eax, [edx*4]
push eax
call fcn.005bc14c
mov ebx, eax
mov eax, dword [esp + 0x70]
mov edi, ebx
add esp, 4
mov ecx, dword [eax + 8]
mov esi, dword [eax + 4]
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [eax + 8]
sub edx, eax
lea esi, [ebx + eax*4]
mov ecx, edx
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, edx
dec edx
test eax, eax
mov dword [esp + 0x1c], esi
je 0x409eed
lea edi, [edx + 1]
mov dword [esp + 0x24], esi
test esi, esi
mov byte [esp + 0x64], 8
je 0x409ede
mov ecx, esi
call fcn.0047ecd0
add esi, 4
dec edi
mov byte [esp + 0x64], 5
mov dword [esp + 0x1c], esi
jne 0x409eca
mov esi, dword [esp + 0x6c]
mov eax, dword [esi + 4]
push eax
call fcn.005bc175
mov ecx, dword [esp + 0x1c]
mov dword [esi + 4], ebx
add esp, 4
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ecx
mov ebx, esi
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x14]
push edx
lea ecx, [eax + ecx*4]
call fcn.0047ee30
lea ecx, [esp + 0x2c]
call fcn.00404180
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 4
call fcn.0047ee00
push 1
push 0
lea ecx, [esp + 0x3c]
call fcn.005ba2bc
lea ecx, [esp + 0x10]
call fcn.005bba0b
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], 3
call fcn.005bba83
lea ecx, [esp + 0x2c]
mov byte [esp + 0x64], 0
call fcn.004038d0
mov eax, dword [esp + 0x3c]
test eax, eax
jg 0x409bf8
jmp 0x409f93
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], 3
call fcn.005bba83
lea ecx, [esp + 0x2c]
mov byte [esp + 0x64], 0
call fcn.004038d0
lea ecx, [esp + 0x34]
mov dword [esp + 0x64], 0xffffffff
call fcn.005b9ed8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 0
call fcn.0047bb60
lea ecx, [esp + 0x28]
mov dword [esp + 0x58], 0xffffffff
call fcn.005b9ed8
mov ecx, dword [esp + 0x50]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 4