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

Disassembly:
push 0xffffffffffffffff
push 0x5d0a63
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.005b6125
lea ecx, [esp + 0x18]
mov dword [esp + 0x58], 0
call fcn.0047b810
push 0x20019
push str.softwareTECOcular.3Agent
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 1
call fcn.0047b930
test eax, eax
je 0x409fbe
push ebp
push esi
push edi
lea ecx, [esp + 0x48]
call fcn.005b6125
lea eax, [esp + 0x48]
lea ecx, [esp + 0x24]
push eax
push str.ExDataList
mov byte [esp + 0x6c], 2
call fcn.0047c4b0
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x38]
call fcn.005b6301
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x50]
call fcn.005b61b8
lea edx, [esp + 0x48]
lea ecx, [esp + 0x24]
push edx
push str.ExDataList2
call fcn.0047c4b0
lea eax, [esp + 0x48]
lea ecx, [esp + 0x34]
push eax
call fcn.005b6301
lea ecx, [esp + 0x24]
call fcn.0047b980
lea ecx, [esp + 0x48]
mov byte [esp + 0x64], 1
call fcn.005b6158
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 0
call fcn.0047b8b0
mov eax, dword [esp + 0x3c]
test eax, eax
jle 0x409f93
lea ecx, [esp + 0x2c]
call fcn.00403730
push 0x65aa38
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 3
call fcn.005b7d77
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 0x630a00
push eax
call fcn.005b496b
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.005b653c
lea ecx, [esp + 0x10]
call fcn.005b7c8b
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.0047ea20
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.0047ec00
lea ecx, [esp + 0x14]
call fcn.0047ebf0
lea ecx, [esp + 0x14]
mov esi, eax
call fcn.0047f330
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.0047ebf0
push eax
lea ecx, [esp + 0x18]
call fcn.0047f330
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.0047eb50
add esi, 4
dec edi
jne 0x409d3b
mov eax, dword [ebx + 4]
push eax
call fcn.005b83f5
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.005b83cc
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.0047ea20
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.0047ea20
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.0047eb50
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.005b83cc
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.0047ea20
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.005b83f5
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.0047eb80
lea ecx, [esp + 0x2c]
call fcn.00404180
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 4
call fcn.0047eb50
push 1
push 0
lea ecx, [esp + 0x3c]
call fcn.005b653c
lea ecx, [esp + 0x10]
call fcn.005b7c8b
lea ecx, [esp + 0x10]
mov byte [esp + 0x64], 3
call fcn.005b7d03
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.005b7d03
lea ecx, [esp + 0x2c]
mov byte [esp + 0x64], 0
call fcn.004038d0
lea ecx, [esp + 0x34]
mov dword [esp + 0x64], 0xffffffff
call fcn.005b6158
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.0047b8b0
lea ecx, [esp + 0x28]
mov dword [esp + 0x58], 0xffffffff
call fcn.005b6158
mov ecx, dword [esp + 0x50]
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 4